user/mumble-web: clean-up APKBUILD
This commit is contained in:
parent
a0a71388b1
commit
ebf12bda8f
1 changed files with 7 additions and 15 deletions
|
@ -1,16 +1,14 @@
|
||||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
||||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
pkgname=mumble-web
|
pkgname=mumble-web
|
||||||
pkgver=0.5.1
|
pkgver=0.5.1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="An HTML5 Mumble client - stable"
|
pkgdesc="An HTML5 Mumble client - stable"
|
||||||
arch='noarch'
|
arch='noarch'
|
||||||
url="https://github.com/johni0702/mumble-web"
|
url="https://github.com/johni0702/mumble-web"
|
||||||
license='custom:ISC'
|
license='ISC'
|
||||||
makedepends='npm jq'
|
makedepends='npm jq'
|
||||||
source="https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz LICENSE"
|
source="https://registry.npmjs.org/mumble-web/-/mumble-web-$pkgver.tgz"
|
||||||
noextract="$pkgname-$pkgver.tgz"
|
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
options="!check"
|
options="!check"
|
||||||
|
|
||||||
|
@ -28,16 +26,10 @@ package() {
|
||||||
mv "$tmppackage" "$pkgjson"
|
mv "$tmppackage" "$pkgjson"
|
||||||
chmod 644 "$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
|
# Move README to doc
|
||||||
install -dm 755 $pkgdir/usr/share/doc/$pkgname/
|
install -dm 755 $pkgdir/usr/share/doc/$pkgname/
|
||||||
mv "$pkgdir/usr/lib/node_modules/$pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
|
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
|
sha512sums="
|
||||||
a9e2bbe2ae661a0a39852414100ae3b25f5e5915c0d3f6eda4bd17ce3fbc8fc48418315a936d5305212ca4a550ddb1054206a450d1ffbcdb6281d59402afa8ef LICENSE"
|
87de66921c5ac00cfd91c6dde064d3427dbbc979c6e94f18cc3e84e77799e9f2bba361818f08ceedc08ded91865decde24da306e6e3d74f3a42ec5d231105bf6 mumble-web-0.5.1.tgz
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in a new issue