aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Cai2016-07-04 14:48:02 +0800
committerPeter Cai2016-07-04 14:48:02 +0800
commit752043162d3246c9fdf1713e607487559018f538 (patch)
tree935833640d3bdf2aee2b678b88cee351417593fc
parent1ab80bb45fe486b2bad2d04088205bb8b507eab1 (diff)
downloadaur-752043162d3246c9fdf1713e607487559018f538.tar.gz
libcue is no longer needed
Signed-off-by: Peter Cai <peter@typeblog.net>
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
2 files changed, 2 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fddc42cb13bb..35d6f0eda300 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = netease-cloud-music
pkgdesc = Netease Cloud Music, converted from .deb package
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = http://music.163.com/
arch = x86_64
license = custom
@@ -15,13 +15,10 @@ pkgbase = netease-cloud-music
depends = gst-plugins-base
depends = gst-plugins-good
depends = gst-plugins-ugly
- noextract = libcue1_1.4.0-1_amd64.deb
source = http://s1.music.126.net/download/pc/netease-cloud-music_1.0.0_amd64_ubuntu16.04.deb
- source = http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcue/libcue1_1.4.0-1_amd64.deb
source = http://music.163.com/html/web2/service.html
source = netease-cloud-music
md5sums = c1430b695eff22294ab3b84205105cdf
- md5sums = 51920df6edb60d9ef5e4e9f3ae3be0d6
md5sums = 2f06d90c7b3362a01c287ec7b6a40f27
md5sums = 31a25ac517facc48762a6a9378a66f58
diff --git a/PKGBUILD b/PKGBUILD
index b912d1957232..18ba496dcbd8 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
}