aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-09-04 19:00:54 +0300
committerprspkt <prspkt@protonmail.com>2019-09-04 19:00:54 +0300
commit7d85661f06d7ec96de5cf8d7a3b92ab8855c3c5b (patch)
tree9f1de45aec9f90f599fbd0e15c86535e43d30d6d
parent722de84a82a90c5cf04287b1c3e9fc78bed5edfb (diff)
downloadaports-7d85661f06d7ec96de5cf8d7a3b92ab8855c3c5b.tar.bz2
aports-7d85661f06d7ec96de5cf8d7a3b92ab8855c3c5b.tar.xz
community/abook: clarify license, modernize
Signed-off-by: prspkt <prspkt@protonmail.com>
-rw-r--r--community/abook/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/community/abook/APKBUILD b/community/abook/APKBUILD
index d357cc1f8f..2f641d4d37 100644
--- a/community/abook/APKBUILD
+++ b/community/abook/APKBUILD
@@ -6,7 +6,7 @@ _ver=${pkgver/_pre/pre}
pkgrel=5
pkgdesc="Text-based addressbook designed for use with Mutt"
url="http://abook.sourceforge.net"
-license="GPL-2.0"
+license="GPL-2.0-or-later"
arch="all"
makedepends="ncurses-dev readline-dev automake autoconf gettext-dev"
subpackages="$pkgname-doc $pkgname-lang"
@@ -15,30 +15,24 @@ source="http://$pkgname.sourceforge.net/devel/$pkgname-${_ver}.tar.gz
builddir="$srcdir"/$pkgname-$_ver
prepare() {
- default_prepare || return 1
- cd "$builddir"
-
+ default_prepare
aclocal && automake --add-missing && autoconf -v
sed 's/0.18/0.20/g' -i po/Makefile.in.in
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
- rm -f "$pkgdir"/usr/lib/charset.alias
+ make DESTDIR="$pkgdir" install
}
md5sums="4bffd4c47ac41b688abd58f65bfe0bfb abook-0.6.1.tar.gz