aboutsummaryrefslogtreecommitdiffstats
path: root/main/libksba/APKBUILD
blob: 5bdbcfacc730a44c4ab9b9157097ff5a0eca7afb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libksba
pkgver=1.0.8
pkgrel=2
pkgdesc="Libksba is a CMS and X.509 access library"
url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba"
arch="all"
license="GPL"
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 || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="8acac0b3cbd0030dfc6d0f6a58c9b5b2  libksba-1.0.8.tar.bz2"