diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" \ |