makedeb


netease-cloud-music-patched 1.2.1-8


Patched official Netease Cloud Music, re-ported from AUR

Click here to go back to the commit logs for netease-cloud-music-patched.

Commit:


Hash: 92e90d9a295ee8d50a683b7efbdd097450a29c80

Message: update pkgver according to comments

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 17409fb..df86ebd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = netease-cloud-music
 	pkgdesc = Netease Cloud Music, converted from .deb package
-	pkgver = 0.9.0
+	pkgver = 0.9.0_2
 	pkgrel = 1
 	url = http://music.163.com/
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a50dafe..5ec559e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
 # Maintainer: Justin Wong <justin.w.xd at gmail dot com>
 pkgname=netease-cloud-music
-pkgver=0.9.0
-_pkgver=${pkgver}-2
+pkgver=0.9.0_2
 pkgrel=1
 pkgdesc="Netease Cloud Music, converted from .deb package"
 arch=("x86_64")
@@ -14,7 +13,7 @@ depends=("alsa-lib" "atk" "glibc" "cairo" "libcups" "libdbus" "expat" "fontconfi
 	"gstreamer0.10-ugly-plugins"
 )
 source=(
-	"http://s1.music.126.net/download/pc/${pkgname}_${_pkgver}_amd64.deb"
+	"http://s1.music.126.net/download/pc/${pkgname}_${pkgver/_/-}_amd64.deb"
 	"http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.1_amd64.deb"
 	"http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcue/libcue1_1.4.0-1_amd64.deb"
 	"netease-cloud-music"