diff options
author | AsukaMinato | 2024-01-04 12:30:33 +0900 |
---|---|---|
committer | AsukaMinato | 2024-01-04 12:30:33 +0900 |
commit | 9b0ef5200bacbaf97d4771bcbce5e42f4088b471 (patch) | |
tree | c9f3aa1f16e7609840849f56e3fbcf93f60caf9d | |
parent | 6ce29b69000416bbdd1a9a22a567006061c23705 (diff) | |
download | aur-9b0ef5200bacbaf97d4771bcbce5e42f4088b471.tar.gz |
printf
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 6 deletions
@@ -12,7 +12,6 @@ pkgbase = irreader depends = bash depends = gcc-libs depends = glibc - options = !strip source = http://irreader.fatecore.com/download/irreader-1.6.11.zip source = irreader.desktop sha256sums = d15beff5e8b9ea76f8ede27b1cf2679ebe377293f2e6aef6c5442aad51553ada @@ -8,7 +8,7 @@ url="http://irreader.fatecore.com/" license=('PRIVATE') depends=(electron11 bash gcc-libs glibc) makedepends=(asar npm) -options=(!strip) +options=() source=("http://irreader.fatecore.com/download/irreader-$pkgver.zip" $pkgname.desktop) source_x86_64=("https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.6/napi-v6-linux-glibc-x64.tar.gz" @@ -26,10 +26,14 @@ prepare() { rm *.gz bsdtar -xvpf *.exe ./resources asar e ./**/app.asar ./app - echo "exports.is_vip = () => true;" >>./app/libuser.js - echo "exports.vip_source_limit = Infinity;" >>./app/scs/scsdef.js - echo "exports.left_vip_days = () => 999;" >>./app/libuser.js - echo "exports.is_need_show_vip_renew = () => false;" >>./app/libuser.js + printf " +exports.is_vip = () => true; +exports.left_vip_days = () => 999; +exports.is_need_show_vip_renew = () => false; +" >>./app/libuser.js + printf " +exports.vip_source_limit = Infinity; +" >>./app/scs/scsdef.js pushd app cp -av $srcdir/napi-* ./node_modules/sqlite3/lib/binding rm -vrf ./node_modules/node-gyp/ |