diff options
author | Kodi Craft | 2022-03-08 16:42:06 +0100 |
---|---|---|
committer | Kodi Craft | 2022-03-08 16:42:06 +0100 |
commit | ccff213a4c6f3e4c0b5da8f5df9b05605d6d4b5f (patch) | |
tree | 2a2227eaec8460dc62a35a36faf81f2e7f3b590a | |
parent | f891771024bd434b6e84f52380b5b3fe1883a5d0 (diff) | |
download | aur-ccff213a4c6f3e4c0b5da8f5df9b05605d6d4b5f.tar.gz |
That wasn't it
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -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 @@ -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" } + + |