summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPeter Cai2016-07-04 14:48:02 +0800
committerPeter Cai2016-07-04 14:48:02 +0800
commit752043162d3246c9fdf1713e607487559018f538 (patch)
tree935833640d3bdf2aee2b678b88cee351417593fc /PKGBUILD
parent1ab80bb45fe486b2bad2d04088205bb8b507eab1 (diff)
downloadaur-752043162d3246c9fdf1713e607487559018f538.tar.gz
libcue is no longer needed
Signed-off-by: Peter Cai <peter@typeblog.net>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 1 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b912d195723..18ba496dcbd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _distro="ubuntu16.04"
pkgname=netease-cloud-music
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Netease Cloud Music, converted from .deb package"
arch=("x86_64")
url="http://music.163.com/"
@@ -17,27 +17,17 @@ depends=(
)
source=(
"http://s1.music.126.net/download/pc/${pkgname}_${pkgver/_/-}_amd64_${_distro}.deb"
- "http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcue/libcue1_1.4.0-1_amd64.deb"
"http://music.163.com/html/web2/service.html"
"netease-cloud-music"
)
-noextract=(
- "libcue1_1.4.0-1_amd64.deb"
-)
md5sums=('c1430b695eff22294ab3b84205105cdf'
- '51920df6edb60d9ef5e4e9f3ae3be0d6'
'2f06d90c7b3362a01c287ec7b6a40f27'
'31a25ac517facc48762a6a9378a66f58')
-prepare() {
- (mkdir -p libcue && cd libcue && ar xf ../libcue1_1.4.0-1_amd64.deb && tar xf data.tar.gz)
-}
-
package() {
cd ${srcdir}
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
install -m755 netease-cloud-music ${pkgdir}/usr/bin/netease-cloud-music
}