diff --git a/user/mumble-web/APKBUILD b/user/mumble-web/APKBUILD index 4a72dd5..5ffb849 100644 --- a/user/mumble-web/APKBUILD +++ b/user/mumble-web/APKBUILD @@ -1,16 +1,14 @@ -# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) - +# Maintainer: Antoine Martin (ayakael) pkgname=mumble-web pkgver=0.5.1 -pkgrel=0 +pkgrel=1 pkgdesc="An HTML5 Mumble client - stable" arch='noarch' url="https://github.com/johni0702/mumble-web" -license='custom:ISC' +license='ISC' makedepends='npm jq' -source="https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz LICENSE" -noextract="$pkgname-$pkgver.tgz" +source="https://registry.npmjs.org/mumble-web/-/mumble-web-$pkgver.tgz" subpackages="$pkgname-doc" options="!check" @@ -28,16 +26,10 @@ package() { mv "$tmppackage" "$pkgjson" chmod 644 "$pkgjson" - # Install license since the package doesn't include it - install -Dm 644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - # Move README to doc install -dm 755 $pkgdir/usr/share/doc/$pkgname/ mv "$pkgdir/usr/lib/node_modules/$pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md" - - # npm gives ownership of ALL FILES to build user - # https://bugs.archlinux.org/task/63396 - chown -R root:root "${pkgdir}" } -sha512sums="87de66921c5ac00cfd91c6dde064d3427dbbc979c6e94f18cc3e84e77799e9f2bba361818f08ceedc08ded91865decde24da306e6e3d74f3a42ec5d231105bf6 mumble-web-0.5.1.tgz -a9e2bbe2ae661a0a39852414100ae3b25f5e5915c0d3f6eda4bd17ce3fbc8fc48418315a936d5305212ca4a550ddb1054206a450d1ffbcdb6281d59402afa8ef LICENSE" +sha512sums=" +87de66921c5ac00cfd91c6dde064d3427dbbc979c6e94f18cc3e84e77799e9f2bba361818f08ceedc08ded91865decde24da306e6e3d74f3a42ec5d231105bf6 mumble-web-0.5.1.tgz +"