aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-05 19:06:01 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-11-05 19:06:01 +0100
commit36111b426df76a9a8929bac0f49a221a19df06ae (patch)
treedd4dedd9b76ed1cd4a74647353f8f9af25a0b0bc /community
parent068f6de643c04b6036e04ea8e031e3b34544076a (diff)
downloadaports-36111b426df76a9a8929bac0f49a221a19df06ae.tar.bz2
aports-36111b426df76a9a8929bac0f49a221a19df06ae.tar.xz
community/calcurse: modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r--community/calcurse/APKBUILD9
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"