aboutsummaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
blob: 9a578af59fc29cff43156e4c5db5cb410c3654b6 (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.3
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="179d1918325fdb928c7bd90b8a514fc7  libassuan-2.0.3.tar.bz2"