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: 1640de40edd29108f25af12a5b67fbd4862dac68

Message: updated permissions

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 37019fe..aa02815 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = netease-cloud-music
 	pkgdesc = Netease Cloud Music, converted from .deb package
 	pkgver = 0.9.0_2
-	pkgrel = 5
+	pkgrel = 6
 	url = http://music.163.com/
 	arch = x86_64
 	license = custom
@@ -15,7 +15,6 @@ pkgbase = netease-cloud-music
 	depends = gst-plugins-base
 	depends = gst-plugins-good
 	depends = gst-plugins-ugly
-	noextract = libssl1.0.0_1.0.2g-1ubuntu4.1_amd64.deb
 	noextract = libcue1_1.4.0-1_amd64.deb
 	source = http://s1.music.126.net/download/pc/netease-cloud-music_0.9.0-2_amd64.deb
 	source = http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcue/libcue1_1.4.0-1_amd64.deb
diff --git a/PKGBUILD b/PKGBUILD
index 92a221a..a23230e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Justin Wong <justin.w.xd at gmail dot com>
 pkgname=netease-cloud-music
 pkgver=0.9.0_2
-pkgrel=5
+pkgrel=6
 pkgdesc="Netease Cloud Music, converted from .deb package"
 arch=("x86_64")
 url="http://music.163.com/"
@@ -19,7 +19,6 @@ source=(
 	"netease-cloud-music"
 )
 noextract=(
-	"libssl1.0.0_1.0.2g-1ubuntu4.1_amd64.deb"
 	"libcue1_1.4.0-1_amd64.deb"
 )
 md5sums=('24c44fe5e71e69cd7ac252c2ce611270'
@@ -34,9 +33,9 @@ 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/$pkgname/license.html
+  cp -a usr ${pkgdir}
+  chmod +x ${pkgdir}/usr/lib/netease-cloud-music/libcef.so
+  install -D -m644 service.html ${pkgdir}/usr/share/licenses/$pkgname/license.html
   install -m755 libcue/usr/lib/libcue.so.1.0.4 ${pkgdir}/usr/lib/netease-cloud-music/libcue.so.1
   install -m755 netease-cloud-music ${pkgdir}/usr/bin/netease-cloud-music
 }