summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKodi Craft2022-03-08 19:25:21 +0100
committerKodi Craft2022-03-08 19:25:21 +0100
commit0a05b6b63b80c4f70464839936636b34c972b3fd (patch)
treed330781bd8cd52a24699a3583ef2842a87816e87 /PKGBUILD
parentd37dd6278569a82a3c6469dcf6f66d401776023b (diff)
downloadaur-hentai.js.tar.gz
Optimized compilation time and disabled automatic in-program update checking (since you're probably using this package to update)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 91942d2c5818..985fa10afe9c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Kodi <kodicraft4@gmail.com>
pkgname=hentai.js
pkgver=3.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="rule34.xxx wrapper written in electron"
arch=('x86_64')
@@ -36,10 +36,11 @@ build() {
package() {
cd "$pkgname-$pkgver"
- npm run make-linux
+ npm run package
mkdir -p "$pkgdir/usr/local/lib/hentaijs"
cp -rL "out/hentaijs-linux-x64/" "$pkgdir/usr/local/lib/hentaijs/"
+ touch "$pkgdir/usr/local/lib/hentaijs/hentaijs-linux-x64/.noupdates"
chmod 755 -R "$pkgdir/usr/local/lib/hentaijs/"
mkdir -p "$pkgdir/usr/local/bin/"
ln -sr "$pkgdir/usr/local/lib/hentaijs/hentaijs-linux-x64/hentaijs" "$pkgdir/usr/local/bin/hentai.js"