diff options
-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" \ |