31 lines
641 B
Bash
31 lines
641 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
DESCRIPTION="Tasksh is a shell command that wraps Taskwarrior commands."
|
|
HOMEPAGE="https://tasktools.org/projects/tasksh.html"
|
|
SRC_URI="https://taskwarrior.org/download/tasksh-1.1.0.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="dev-util/cmake
|
|
sys-libs/readline"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_compile() {
|
|
cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr ${S}
|
|
make
|
|
}
|
|
|
|
src_install() {
|
|
dobin src/tasksh
|
|
doman doc/man/tasksh.1
|
|
|
|
dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README.md
|
|
}
|