aboutsummaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
blob: bb286eaa5f081fc9edc88cba63a252896d8031ad (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libassuan
pkgver=2.0.2
pkgrel=0
pkgdesc="Libassuan is the IPC library used by some GnuPG related software"
url="ftp://ftp.gnupg.org/gcrypt/libgcrypt"
arch="all"
license="GPL"
depends=
makedepends="pth-dev libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="3e7d00fd2ee8a0b9c51ac7616ef3f1ec  libassuan-2.0.2.tar.bz2"