summaryrefslogtreecommitdiffstats
path: root/main/libgpg-error/APKBUILD
blob: 8147165ec708571a852415151de9176b9c630da5 (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
29
30
31
32
33
34
35
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgpg-error
pkgver=1.11
pkgrel=0
pkgdesc="Support library for libgcrypt"
url="http://www.gnupg.org"
arch="all"
license="LGPL"
depends=""
subpackages="$pkgname-dev $pkgname-lisp"
source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
	"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--disable-nls

	make || return 1
}

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

lisp() {
	mkdir -p "$subpkgdir"/usr/
	mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/
}

md5sums="b9fa55b71cae73cb2e44254c2acc4e2c  libgpg-error-1.11.tar.bz2"
sha256sums="ae3376480a073b120c7add08f1e6cfcc08500648ccf22461cd42db6224a218c0  libgpg-error-1.11.tar.bz2"
sha512sums="1c05dec32bba0a3ff9b238559161cfe5ea70fdcf0b7d2e645ac8afcade125711c1e369fcfb385835d42ce78cbbec75e3ea99573adfb371689e440a799ae8b848  libgpg-error-1.11.tar.bz2"