Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/timew: new aport

From: Timo Teras <timo.teras_at_iki.fi>
Date: Fri, 4 Nov 2016 10:42:02 +0200

On Wed, 19 Oct 2016 23:09:16 +0200
Matthieu Monnier <matthieu.monnier_at_enalean.com> wrote:

> http://taskwarrior.org/
>
> Timewarrior is a command line time tracking application.
> ---
> testing/timew/APKBUILD | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 testing/timew/APKBUILD
>
> diff --git a/testing/timew/APKBUILD b/testing/timew/APKBUILD
> new file mode 100644
> index 0000000..5741ef9
> --- /dev/null
> +++ b/testing/timew/APKBUILD
> _at_@ -0,0 +1,32 @@
> +# Contributor: Matthieu Monnier <matthieu.monnier_at_enalean.com>
> +# Maintainer: Matthieu Monnier <matthieu.monnier_at_enalean.com>
> +pkgname=timew
> +pkgver=1.0.0
> +pkgrel=0
> +pkgdesc="Timewarrior is a command line time tracking application."
> +url="http://taskwarrior.org/"
> +arch="all"
> +license="MIT"
> +depends=""
> +makedepends="cmake"
> +install=""
> +subpackages="$pkgname-doc"
> +source="http://taskwarrior.org/download/$pkgname-$pkgver.tar.gz"
> +builddir="$srcdir/$pkgname-$pkgver"
> +
> +build() {
> + cd "$builddir"
> + cmake . -DCMAKE_BUILD_TYPE=release \
> + -DCMAKE_INSTALL_PREFIX=/usr \
> + || return 1
> + make || return 1
> +}
> +
> +package() {
> + cd "$builddir"
> + make DESTDIR="$pkgdir" install || return 1
> +}

Applied with some whitespace fixes. We prefer tabs over spaces, and no
trailing whitespace.

Thanks.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 04 2016 - 10:42:02 GMT