diff options
author | Alynx Zhou | 2019-10-27 00:31:23 +0800 |
---|---|---|
committer | Alynx Zhou | 2019-10-27 00:31:23 +0800 |
commit | 0ae1343bc6d3c7fff5f9bc3e4a2f751222ed289f (patch) | |
tree | 3b6fe59fc4b4feb033f3a6ca69b390705e673cee | |
parent | a85169a7ca49bf4ad1e7c3399408d9e575fe42b4 (diff) | |
download | aur-0ae1343bc6d3c7fff5f9bc3e4a2f751222ed289f.tar.gz |
Updated PKGBUILD.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = hikarujs pkgdesc = A static site generator that generates routes based on directories naturally. pkgver = 1.0.11 - pkgrel = 1 + pkgrel = 2 url = https://hikaru.alynx.moe/ arch = any license = Apache @@ -2,7 +2,7 @@ pkgname=hikarujs pkgver=1.0.11 -pkgrel=1 +pkgrel=2 pkgdesc='A static site generator that generates routes based on directories naturally.' arch=('any') url='https://hikaru.alynx.moe/' @@ -20,7 +20,7 @@ package() { "$srcdir"/$pkgname-$pkgver.tgz find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d' - chmod -R 0755 "$pkgdir" + find "${pkgdir}"/usr -type d -exec chmod 755 {} + chown -R root:root "$pkgdir" install -Dm0644 \ "$pkgdir/usr/lib/node_modules/$pkgname/LICENSE" \ |