aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2019-11-15 05:01:41 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-11-16 20:37:14 +0000
commit4d772c854b265fe5dc10b057fd7a922fff070bf3 (patch)
tree83ce58567633852f1f613407d6d1fcfb08d4575b
parentda0d0b246154b83e9095a0067cedf086e9ac8c84 (diff)
downloadaports-4d772c854b265fe5dc10b057fd7a922fff070bf3.tar.gz
aports-4d772c854b265fe5dc10b057fd7a922fff070bf3.tar.bz2
aports-4d772c854b265fe5dc10b057fd7a922fff070bf3.tar.xz
main/cunit: fix wrong version in cunit.pc
-rw-r--r--main/cunit/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/cunit/APKBUILD b/main/cunit/APKBUILD
index 08b9075a67..c1cb119617 100644
--- a/main/cunit/APKBUILD
+++ b/main/cunit/APKBUILD
@@ -4,7 +4,7 @@ pkgname=cunit
_pkgname=CUnit
pkgver=2.1.3
_pkgver=${pkgver%.*}-${pkgver##*.}
-pkgrel=1
+pkgrel=2
pkgdesc="Automated testing framework for C"
url="http://cunit.sourceforge.net/"
arch="all"
@@ -23,6 +23,7 @@ prepare() {
autoheader
automake --add-missing --include-deps --copy
autoconf
+ sed -i "s/@VERSION@-@RELEASE@/$pkgver/" cunit.pc.in
}
build() {