aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmspack/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libmspack/APKBUILD')
-rw-r--r--main/libmspack/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/libmspack/APKBUILD b/main/libmspack/APKBUILD
index 83f62b4eab..521ce6726d 100644
--- a/main/libmspack/APKBUILD
+++ b/main/libmspack/APKBUILD
@@ -2,7 +2,7 @@
pkgname=libmspack
pkgver=0.8_alpha
_ver=${pkgver/_/}
-pkgrel=0
+pkgrel=1
pkgdesc="Library for Microsoft CAB compression formats"
url="https://www.cabextract.org.uk/libmspack/"
arch="all"
@@ -27,6 +27,11 @@ builddir="$srcdir"/libmspack-$_ver
# - CVE-2017-6419
# - CVE-2017-11423
+prepare() {
+ default_prepare
+ sed -i "s/@VERSION@/$pkgver/" libmspack.pc.in
+}
+
build() {
cd "$builddir"
./configure \