diff options
-rw-r--r-- | testing/libcaca/APKBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testing/libcaca/APKBUILD b/testing/libcaca/APKBUILD index 6db9333b96..0a4b1753aa 100644 --- a/testing/libcaca/APKBUILD +++ b/testing/libcaca/APKBUILD @@ -1,33 +1,32 @@ # Contributor: z3bra <willy at mailoo dot org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libcaca -pkgver=0.99 -_pkgver=beta19 +pkgver=0.99_beta19 +_ver=${pkgver/_/.} pkgrel=1 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="imlib2-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-dev $pkgname-doc" -source="http://caca.zoy.org/files/$pkgname/$pkgname-$pkgver.$_pkgver.tar.gz" +source="http://caca.zoy.org/files/$pkgname/$pkgname-$_ver.tar.gz" -_builddir=$srcdir/${pkgname}-${pkgver}.${_pkgver} +builddir="$srcdir"/libcaca-${_ver} build() { - cd "$_builddir" + cd "$builddir" ./configure \ --prefix=/usr \ - || return 1 + || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR=$pkgdir install install COPYING -Dm644 $pkgdir/usr/share/licenses/$pkgname/LICENSE |