aboutsummaryrefslogtreecommitdiffstats
path: root/main/libassuan/APKBUILD
blob: fc3650c007ca3594d16035276e0ba3c268363c26 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libassuan
pkgver=2.3.0
pkgrel=0
pkgdesc="A IPC library used by some GnuPG related software"
url="ftp://ftp.gnupg.org/gcrypt/libassuan"
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}

md5sums="d3effa069a3ccf924c8ed8a6d46cbc8d  libassuan-2.3.0.tar.bz2"
sha256sums="87c999f572047fa22a79ab5de4c8a1a5a91f292561b69573965cac7751320452  libassuan-2.3.0.tar.bz2"
sha512sums="5d13d61b181faee2d61790318d0a4124ecec7616fa1720f90f3c697ca2f56911d7fc935a3ac99eb0c95c5a740e78968b70b28ade614abfd045a9c9ac6d1a14d6  libassuan-2.3.0.tar.bz2"