diff options
author | alpine-mips-patches <info@mobile-stream.com> | 2019-11-15 05:01:41 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-11-16 20:37:14 +0000 |
commit | da0d0b246154b83e9095a0067cedf086e9ac8c84 (patch) | |
tree | f2c6a02b236b8311ceec1797341f06a3f21fa646 | |
parent | ae3ffa3c1424d87c3ec063bf2144ca75b59c520a (diff) | |
download | aports-da0d0b246154b83e9095a0067cedf086e9ac8c84.tar.bz2 aports-da0d0b246154b83e9095a0067cedf086e9ac8c84.tar.xz |
main/libmspack: fix wrong version in libmspack.pc
-rw-r--r-- | main/libmspack/APKBUILD | 7 |
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 \ |