aboutsummaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
blob: 8d2f7b24cf5a223dafe4b2b9077de6d148d20dce (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.0
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="b3231eec8e567f4f9294474a387378f5  libassuan-2.1.0.tar.bz2"
sha256sums="a4c5bd3a0c2726e8bcc2ea8a3b15f7aae3bd92d4f85968f315fd3a75d101c267  libassuan-2.1.0.tar.bz2"
sha512sums="0bc0f115d54613a2b0f049475715ee15c4c276af9ea6ad54ccdeafb533208185bb07fad15da70f49831fb35fffe19801a6dcfa6695b05e0dd6f26c5ea80129b2  libassuan-2.1.0.tar.bz2"