aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-14 09:13:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-14 12:18:24 +0200
commita49115e63aa5d3c10a947726fb6bed3f05a6d78f (patch)
tree855a935c5da54c19901f7a671789d99fedf4f528 /testing
parent78d1786fcc6570fc522443a0531c0eb8933dcd79 (diff)
downloadaports-a49115e63aa5d3c10a947726fb6bed3f05a6d78f.tar.bz2
aports-a49115e63aa5d3c10a947726fb6bed3f05a6d78f.tar.xz
testing/libcaca: fix version
Diffstat (limited to 'testing')
-rw-r--r--testing/libcaca/APKBUILD15
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