aboutsummaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libassuan/APKBUILD')
-rw-r--r--main/libassuan/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/libassuan/APKBUILD b/main/libassuan/APKBUILD
index 271ea7c1dd..cc3b2b8d0c 100644
--- a/main/libassuan/APKBUILD
+++ b/main/libassuan/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libassuan
pkgver=2.4.3
-pkgrel=1
+pkgrel=2
pkgdesc="A IPC library used by some GnuPG related software"
url="ftp://ftp.gnupg.org/gcrypt/libassuan"
arch="all"
@@ -10,24 +10,20 @@ depends=
makedepends="libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://gnupg.org/ftp/gcrypt/libassuan/libassuan-$pkgver.tar.bz2"
+builddir="$srcdir"/$pkgname-$pkgver
-build () {
- cd "$srcdir"/$pkgname-$pkgver
- # build fails if fopencookie is detected
- ac_cv_func_fopencookie=no \
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}
-md5sums="8e01a7c72d3e5d154481230668e6eb5a libassuan-2.4.3.tar.bz2"
-sha256sums="22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71 libassuan-2.4.3.tar.bz2"
sha512sums="2b0f58682b408fc58fa0ec2980b36e54ba66701bf504cf6c98ec652af43501bc7c18573bc78c5b83260f5a3bdb0ec8f4e0662bafd9bba3fe7287e77598e8e4c1 libassuan-2.4.3.tar.bz2"