diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-05 19:06:01 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-11-05 19:06:01 +0100 |
commit | 36111b426df76a9a8929bac0f49a221a19df06ae (patch) | |
tree | dd4dedd9b76ed1cd4a74647353f8f9af25a0b0bc /community | |
parent | 068f6de643c04b6036e04ea8e031e3b34544076a (diff) | |
download | aports-36111b426df76a9a8929bac0f49a221a19df06ae.tar.bz2 aports-36111b426df76a9a8929bac0f49a221a19df06ae.tar.xz |
community/calcurse: modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/calcurse/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/community/calcurse/APKBUILD b/community/calcurse/APKBUILD index d605d4303a..c3b9bcaaf4 100644 --- a/community/calcurse/APKBUILD +++ b/community/calcurse/APKBUILD @@ -11,8 +11,8 @@ arch="all" makedepends="ncurses-dev" subpackages="$pkgname-doc" source="http://calcurse.org/files/${pkgname}-${pkgver}.tar.gz" - builddir="$srcdir"/$pkgname-$pkgver + build() { cd "$builddir" ./configure \ @@ -23,14 +23,13 @@ build() { --mandir=/usr/share/man \ --localstatedir=/var \ --enable-docs \ - --without-asciidoc \ - || return 1 - make || return 1 + --without-asciidoc + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="d948354b512d406f4915ce37107d3f529031e7698d7b38465913ff37120a93283e01f09f5267ebb19bf39ea133d6fac579b218d6dfd6056003b6222f9038f4b3 calcurse-4.3.0.tar.gz" |