Subject: [alpine-aports] [PATCH] testing/chan-sccp: upgrade to 4.2.2 release 6497

From: Valery Kartel <[email-masked]>
Date: Fri, 29 Jan 2016 00:25:20 +0200

---
 testing/chan-sccp/APKBUILD | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/testing/chan-sccp/APKBUILD b/testing/chan-sccp/APKBUILD
index b92c2f7..276cf74 100644
--- a/testing/chan-sccp/APKBUILD
+++ b/testing/chan-sccp/APKBUILD
@@ -1,7 +1,7 @@
 pkgname=chan-sccp
-pkgver=4.2
+pkgver=4.2.2
 pkgrel=0
-release=6168
+release=6497
 pkgdesc="Chan-SCCP channel driver for Asterisk"
 url="http://chan-sccp-b.sourceforge.net/";
 arch="all"
@@ -10,9 +10,8 @@ depends=""
 makedepends="asterisk-dev"
 install=""
 subpackages="${pkgname}-gen_sccpconf ${pkgname}-doc"
-source="http://downloads.sourceforge.net/project/chan-sccp-b/V${pkgver%.*}/Chan_SCCP-v${pkgver}_STABLE_r${release}.tar.gz"
-
-_builddir="$srcdir"/Chan_SCCP-v${pkgver}_STABLE_r${release}
+source="http://downloads.sourceforge.net/project/chan-sccp-b/V${pkgver:0:1}/Chan_SCCP-${pkgver}_STABLE_r${release}.tar.gz"
+_builddir="$srcdir"/Chan_SCCP-${pkgver}_STABLE_r${release}
 
 build() {
 	cd "$_builddir"
@@ -41,6 +40,6 @@ doc() {
 	cp -r . "$subpkgdir"/usr/share/doc/$pkgname
 	chmod -x "$subpkgdir"/usr/share/doc/$pkgname/*.sql
 }
-md5sums="ee32027f5741d3529c9a91dcd0bd1afd  Chan_SCCP-v4.2_STABLE_r6168.tar.gz"
-sha256sums="2ea36c96385dde68efc00d381e8f355643c2de3306bf68cd247e8a7b27c41d0b  Chan_SCCP-v4.2_STABLE_r6168.tar.gz"
-sha512sums="a74b3b07851f3865b1c4ecf706ae83dd185143f77e3fa8b84a3a3017b88571c303b59cdf31b43b14c16ac555de91ce43bdc74d9bdea25ad1e4c888f8e7bdfb14  Chan_SCCP-v4.2_STABLE_r6168.tar.gz"
+md5sums="49aaffef2efeb5b67d24b7e977adf03d  Chan_SCCP-4.2.2_STABLE_r6497.tar.gz"
+sha256sums="73bb1aec157f78b1823f4fb474d3a4981beefa01be1dcfb934a6d10117f291fc  Chan_SCCP-4.2.2_STABLE_r6497.tar.gz"
+sha512sums="643150456e03ce659e34bbf97f18cab132cc4ac17059a8c9ea1e93faab832464183a43959a59e48292a563e30a2395c273c8150d36e49c1efa37037271a3de05  Chan_SCCP-4.2.2_STABLE_r6497.tar.gz"
-- 
2.7.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---