aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/libcaca/APKBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/libcaca/APKBUILD b/community/libcaca/APKBUILD
index 6dc473db5a..a91c1d64cf 100644
--- a/community/libcaca/APKBUILD
+++ b/community/libcaca/APKBUILD
@@ -28,6 +28,15 @@ source="http://caca.zoy.org/files/$pkgname/$pkgname-$_ver.tar.gz
builddir="$srcdir"/libcaca-${_ver}
+prepare() {
+ default_prepare
+ # We need to do this since the _beta19 suffix that is put
+ # on version is invalid
+ sed -e "s|@VERSION@|${pkgver%_*}|" \
+ -i cxx/caca++.pc.in \
+ -i caca/caca.pc.in
+}
+
build() {
cd "$builddir"
./configure --prefix=/usr