summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbigeagle2016-05-26 22:39:46 +0800
committerbigeagle2016-05-26 22:39:46 +0800
commitb3650919ace720853f3be664b476595ebe73909e (patch)
tree9329874b6bf3b8bf3c36251838f15ac6e870e5a0 /PKGBUILD
parent1640de40edd29108f25af12a5b67fbd4862dac68 (diff)
downloadaur-b3650919ace720853f3be664b476595ebe73909e.tar.gz
use tar -C to extract deb
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a23230e04c6..9fe7f709ea3 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