Subject: [PATCH] main/cunit: fix wrong version in cunit.pc

From: alpine-mips-patches <[email-masked]>
Date: Fri, 15 Nov 2019 05:01:41 +0000

---
 main/cunit/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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() {
-- 
2.24.0