aboutsummaryrefslogtreecommitdiffstats
path: root/testing/aalib/APKBUILD
blob: 0b5872de19290e1e146a428b67ccbe560a51f4dd (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=aalib
pkgver=1.4.0
_pkgver=1.4
pkgrel=0.rc4
pkgdesc="An portable ascii art GFX library"
url="http://aa-project.sourceforge.net/aalib/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/aa-project/$pkgname-"$_pkgver"rc4.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

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

md5sums="d5aa8e9eae07b7441298b5c30490f6a6  aalib-1.4rc4.tar.gz"