diff options
-rw-r--r-- | testing/libcaca/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/libcaca/APKBUILD b/testing/libcaca/APKBUILD new file mode 100644 index 0000000000..50f7784774 --- /dev/null +++ b/testing/libcaca/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: z3bra <willy at mailoo dot org> +# Maintainer: +pkgname=libcaca +pkgver=0.99 +_pkgver=beta19 +pkgrel=0 +pkgdesc="graphics library that outputs text instead of pixels" +url="http://caca.zoy.org/wiki/libcaca" +arch="all" +license="WTFPL" +options="libtool" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://caca.zoy.org/files/$pkgname/$pkgname-$pkgver.$_pkgver.tar.gz" + +_builddir=$srcdir/${pkgname}-${pkgver}.${_pkgver} + +build() { + cd "$_builddir" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + + make DESTDIR=$pkgdir install + install COPYING -Dm644 $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="a3d4441cdef488099f4a92f4c6c1da00 libcaca-0.99.beta19.tar.gz" +sha256sums="128b467c4ed03264c187405172a4e83049342cc8cc2f655f53a2d0ee9d3772f4 libcaca-0.99.beta19.tar.gz" +sha512sums="780fc7684d40207cc10df3f87d6d8f1d47ddfffa0e76e41a5ce671b82d5c7f090facb054c3d49ca7c4ea1a619625bb9085ce52f837f50792b4a2d776a4c68e15 libcaca-0.99.beta19.tar.gz" |