summaryrefslogtreecommitdiff
path: root/user/libassuan/APKBUILD
blob: a844a40f8f2423683fe0790123f7e010e5b95a6d (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libassuan
pkgver=2.5.1
pkgrel=1
pkgdesc="IPC library for GnuPG"
url="https://www.gnupg.org/software/libassuan/index.html"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="libgpg-error-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.gnupg.org/ftp/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="c8829925221780f175cee8c4084060b0d661229f583a50d400a1903ab7303b2724b99ff9c0fa242881d4c5d779036756e1da54d9143acc0fcd92f302ecb5882d  libassuan-2.5.1.tar.bz2"