musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Tue Aug 18, 2015 2:26 pm Post subject: taskwarrior ptask |
|
|
Hi,
I'm currently trying to create an ebuild for ptask. It's a gtk3 frontend for taskwarrior.
Unfortunately I don't have any knowledge of the ebuild basics. So my first approach:
app-misc/ptask: | # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF=true
inherit eutils autotools-utils git-r3
#bash-completion-r1 flag-o-matic
EGIT_REPO_URI="http://git.wpitchoune.net/ptask.git"
DESCRIPTION="A GTK+ graphical user interface for managing tasks in taskwarrior"
HOMEPAGE="http://wpitchoune.net/blog/ptask/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
COMMON_DEPEND=""
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
x11-libs/gtk+:3
dev-libs/json-c
sys-devel/gettext
doc? (
app-text/asciidoc
)
test? (
dev-util/cppcheck
)
"
RDEPEND=""
#DOCS=( CHANGES FAQ README TODO )
#S="${WORKDIR}/ptask-9999"
src_prepare() {
# eautoreconf
autotools-utils_src_prepare
}
src_configure() {
econf
}
src_install() {
autotools-utils_src_install
} |
Cloning from git and unpacking works. But then it fails with:
Code: | /var/tmp/portage/app-misc/ptask-9999/temp/environment: line 785: pushd: /var/tmp/portage/app-misc/ptask-9999/work/ptask-9999_build: No such file or directory |
Of course ptask-9999_build doesn't exist. It should be just ptask-9999 instead.
Would be nice, if we get this thing running.
Update:
Not necessary anymore. Due to some functionality lacks I switched to kanboard instead. |
|