From 6ec7b0c2a1326894f0eb8cdd8a48eec52a420ce2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 28 Aug 2011 21:07:46 +0000 Subject: Initial APKBUILD for aalib Package description: AA-lib is a low level gfx library just as many other libraries are. The main difference is that AA-lib does not require graphics device. In fact, there is no graphical output possible. AA-lib replaces those old-fashioned output methods with powerful ascii- art renderer. --- testing/aalib/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/aalib/APKBUILD diff --git a/testing/aalib/APKBUILD b/testing/aalib/APKBUILD new file mode 100644 index 000000000..0b5872de1 --- /dev/null +++ b/testing/aalib/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +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" -- cgit v1.2.3