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: 3d04f9e580fc698071318bed50d311493ece1f9c

Message: added license

Diff


diff --git a/.SRCINFO b/.SRCINFO
index b02e83b..92b92df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -26,6 +26,7 @@ pkgbase = netease-cloud-music
 	source = http://s1.music.126.net/download/pc/netease-cloud-music_0.9.0-2_amd64.deb
 	source = http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.2g-1ubuntu4.1_amd64.deb
 	source = http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcue/libcue1_1.4.0-1_amd64.deb
+	source = https://music.163.com/html/web2/service.html
 	source = netease-cloud-music
 	md5sums = 24c44fe5e71e69cd7ac252c2ce611270
 	md5sums = 0542b3182cef57f91f0c1dd3e03e6995
diff --git a/PKGBUILD b/PKGBUILD
index 6348354..3d49e2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,7 @@ source=(
 	"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"
+	"https://music.163.com/html/web2/service.html"
 	"netease-cloud-music"
 )
 noextract=(
@@ -24,6 +25,7 @@ noextract=(
 md5sums=('24c44fe5e71e69cd7ac252c2ce611270'
          '0542b3182cef57f91f0c1dd3e03e6995'
          '51920df6edb60d9ef5e4e9f3ae3be0d6'
+		 'SKIP'
          '849fa0561f7713aa062c1fc4cbc269e3')
 
 prepare() {
@@ -35,6 +37,8 @@ prepare() {
 package() {
   cd ${srcdir}
   cp -aR usr ${pkgdir}
+  mkdir -p ${pkgdir}/usr/share/licenses/netease-cloud-music/
+  install -m644 service.html ${pkgdir}/usr/share/licenses/netease-cloud-music/license.html
   install -m755 libcue/usr/lib/libcue.so.1.0.4 ${pkgdir}/usr/lib/netease-cloud-music/libcue.so.1
   install -m755 libssl/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 ${pkgdir}/usr/lib/netease-cloud-music/libcrypto.so.1.0.0
   install -m755 libssl/lib/x86_64-linux-gnu/libssl.so.1.0.0 ${pkgdir}/usr/lib/netease-cloud-music/libssl.so.1.0.0