makedeb
Patched official Netease Cloud Music, re-ported from AUR
Click here to go back to the commit logs for netease-cloud-music-patched.
Hash: b3650919ace720853f3be664b476595ebe73909e
Message: use tar -C to extract deb
diff --git a/.SRCINFO b/.SRCINFO
index aa02815..0a3b871 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 = 6
+ pkgrel = 7
url = http://music.163.com/
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index a23230e..9fe7f70 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=6
+pkgrel=7
pkgdesc="Netease Cloud Music, converted from .deb package"
arch=("x86_64")
url="http://music.163.com/"
@@ -27,13 +27,12 @@ md5sums=('24c44fe5e71e69cd7ac252c2ce611270'
'31a25ac517facc48762a6a9378a66f58')
prepare() {
- tar xf data.tar.xz
(mkdir -p libcue && cd libcue && ar xf ../libcue1_1.4.0-1_amd64.deb && tar xf data.tar.gz)
}
package() {
cd ${srcdir}
- cp -a usr ${pkgdir}
+ tar -xvf data.tar.xz -C ${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