aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-20 13:07:12 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-20 13:09:55 +0100
commitf4a3cffc3429e034a23daf4ebaa453df32b1ee15 (patch)
treebbf2b3c8f81f92fbb70eb26749e7ecefeb2caf9c
parent17aa932fe3a7ca1155712ea89cfc86daec388c60 (diff)
downloadaports-f4a3cffc3429e034a23daf4ebaa453df32b1ee15.tar.gz
aports-f4a3cffc3429e034a23daf4ebaa453df32b1ee15.tar.bz2
aports-f4a3cffc3429e034a23daf4ebaa453df32b1ee15.tar.xz
community/libcaca: fix build
-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