aboutsummaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
blob: acb3cac34386e148f86e13099f54e4a3837d06fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libassuan
pkgver=2.4.4
pkgrel=0
pkgdesc="A IPC library used by some GnuPG related software"
url="ftp://ftp.gnupg.org/gcrypt/libassuan"
arch="all"
license="LGPL2+"
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 "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="386e876dfab8061e19e8f3ac3c6919f29fabd043b4f88416bb7cb2aa092aead799532de91829cf39255b704aed60d1b08008c5632b11fa7ee669b162bf2764a7  libassuan-2.4.4.tar.bz2"