summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKodi Craft2022-03-08 16:42:06 +0100
committerKodi Craft2022-03-08 16:42:06 +0100
commitccff213a4c6f3e4c0b5da8f5df9b05605d6d4b5f (patch)
tree2a2227eaec8460dc62a35a36faf81f2e7f3b590a
parentf891771024bd434b6e84f52380b5b3fe1883a5d0 (diff)
downloadaur-ccff213a4c6f3e4c0b5da8f5df9b05605d6d4b5f.tar.gz
That wasn't it
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8dd80344de4d..73c617fdd82a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,6 @@ pkgbase = hentai.js
depends = npm
optdepends = electron
source = https://github.com/KodiCraft/hentai.js/archive/refs/tags/v2.3.6.tar.gz
- md5sums = SKIP
+ md5sums = 830890c232c20fdc4793f16799d95103
pkgname = hentai.js
diff --git a/PKGBUILD b/PKGBUILD
index feeced429754..188c87c202f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ optdepends=("electron")
# changelog=
source=("$url/archive/refs/tags/v${pkgver}.tar.gz")
# noextract=()
-md5sums=("SKIP")
+md5sums=('830890c232c20fdc4793f16799d95103')
# validpgpkeys=()
prepare() {
@@ -39,8 +39,10 @@ package() {
npm run make-linux
mkdir -p "$pkgdir/usr/local/lib/hentaijs"
- cp -r "out/hentaijs-linux-x64/" "$pkgdir/usr/local/lib/hentaijs/"
+ cp -rL "out/hentaijs-linux-x64/" "$pkgdir/usr/local/lib/hentaijs/"
chmod 755 -R "$pkgdir/usr/local/lib/hentaijs/"
mkdir -p "$pkgdir/usr/local/bin/"
- ln -s "/usr/local/lib/hentaijs/hentaijs-linux-x64/hentaijs" "$pkgdir/usr/local/bin/hentai.js"
+ ln -sr "../lib/hentaijs/hentaijs-linux-x64/hentaijs" "/usr/local/bin/hentai.js"
}
+
+