summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKodi Craft2022-03-08 19:25:21 +0100
committerKodi Craft2022-03-08 19:25:21 +0100
commit0a05b6b63b80c4f70464839936636b34c972b3fd (patch)
treed330781bd8cd52a24699a3583ef2842a87816e87
parentd37dd6278569a82a3c6469dcf6f66d401776023b (diff)
downloadaur-0a05b6b63b80c4f70464839936636b34c972b3fd.tar.gz
Optimized compilation time and disabled automatic in-program update checking (since you're probably using this package to update)
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ef9f78a55e1..94a8642ff4fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hentai.js
pkgdesc = rule34.xxx wrapper written in electron
pkgver = 3.3.0
- pkgrel = 0
+ pkgrel = 1
url = https://github.com/KodiCraft/hentai.js
arch = x86_64
license = MIT
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"