diff options
author | Kodi Craft | 2022-03-08 19:25:21 +0100 |
---|---|---|
committer | Kodi Craft | 2022-03-08 19:25:21 +0100 |
commit | 0a05b6b63b80c4f70464839936636b34c972b3fd (patch) | |
tree | d330781bd8cd52a24699a3583ef2842a87816e87 | |
parent | d37dd6278569a82a3c6469dcf6f66d401776023b (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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" |