summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlynx Zhou2019-10-27 00:52:31 +0800
committerAlynx Zhou2019-10-27 00:52:31 +0800
commita3aa3a36adb4a019e1b9f2d5d20f1bfcb8027ca8 (patch)
treea144db7167e6dcc5334d9da20cc2d28dc670e60b
parent0ae1343bc6d3c7fff5f9bc3e4a2f751222ed289f (diff)
downloadaur-a3aa3a36adb4a019e1b9f2d5d20f1bfcb8027ca8.tar.gz
Updated PKGBUILD.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a257bbc963a..a2e7c4d58a63 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hikarujs
pkgdesc = A static site generator that generates routes based on directories naturally.
pkgver = 1.0.11
- pkgrel = 2
+ pkgrel = 3
url = https://hikaru.alynx.moe/
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 250579a01e47..787d5949710f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=hikarujs
pkgver=1.0.11
-pkgrel=2
+pkgrel=3
pkgdesc='A static site generator that generates routes based on directories naturally.'
arch=('any')
url='https://hikaru.alynx.moe/'
@@ -21,7 +21,7 @@ package() {
find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d'
find "${pkgdir}"/usr -type d -exec chmod 755 {} +
- chown -R root:root "$pkgdir"
+
install -Dm0644 \
"$pkgdir/usr/lib/node_modules/$pkgname/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"