aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/aalib/APKBUILD
blob: dadc71f7e81f8b0fd3517fda2bffc2ce65dbccac (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
36
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=aalib
pkgver=1.4.0
_pkgver=1.4
pkgrel=1.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
}

md5sums="d5aa8e9eae07b7441298b5c30490f6a6  aalib-1.4rc4.tar.gz"
sha256sums="0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58  aalib-1.4rc4.tar.gz"
sha512sums="247813d6b232d83c3347f038ea246ce10b70679e2ff2f3c647c3a462aeb0febc4e3b96bba37c71940b55da1ff8872fbc66598b0ac091590c979b6e163792a35d  aalib-1.4rc4.tar.gz"