summaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
blob: e85724155ea6fb18580034641f68b31b40243e07 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libassuan
pkgver=2.1.1
pkgrel=0
pkgdesc="A IPC library used by some GnuPG related software"
url="ftp://ftp.gnupg.org/gcrypt/libgcrypt"
arch="all"
license="LGPL2+"
depends=
makedepends="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="757243cc4a71b30ed8d8dbe784035d36  libassuan-2.1.1.tar.bz2"
sha256sums="23e2d67779b88e90d29fe1df6b157109f1c2a647d0f1b2a0f4295bb3c0b2039d  libassuan-2.1.1.tar.bz2"
sha512sums="ab32da1fe8a5240866412214b26be54641efbdd67510c53bb40c46a051b4d03b81406ae2ff4dc2ef51e21a7278e3f1705fe12dca4bd4ebfef84e109dd86d599e  libassuan-2.1.1.tar.bz2"