diff options
author | Jason Nader | 2022-03-21 21:46:43 +0900 |
---|---|---|
committer | Jason Nader | 2022-03-21 21:46:43 +0900 |
commit | f03c43f5cca1354e374cea02b5dec4e7c7ef60a2 (patch) | |
tree | b52a3b4cc7cf21121d6e02a1b3cbda746452fd94 | |
parent | abb1d043b9621720b1b75f5c758adbd1e3ac5267 (diff) | |
download | aur-f03c43f5cca1354e374cea02b5dec4e7c7ef60a2.tar.gz |
Fix pkgname error
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = httptoolkit-git pkgdesc = Beautiful, cross-platform & open-source HTTP(S) proxy, analyzer and client. pkgver = v1.7.0.r0.g871e047 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://httptoolkit.tech/ arch = x86_64 @@ -3,7 +3,7 @@ pkgname=httptoolkit-git _pkgname=httptoolkit pkgver=v1.7.0.r0.g871e047 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="Beautiful, cross-platform & open-source HTTP(S) proxy, analyzer and client." arch=("x86_64") @@ -71,9 +71,9 @@ package() { echo "Deleting Electron binary ($(du -h "$_electron" | awk '{print $1}'))" rm -v "$_electron" install -m755 /dev/null "${pkgdir}/usr/bin/${_pkgname}" - cat >"${pkgdir}/usr/bin/${pkgname}" <<EOF + cat >"${pkgdir}/usr/bin/${_pkgname}" <<EOF #!/bin/sh -exec electron14 /opt/${pkgname}/resources/app.asar "\$@" +exec electron14 /opt/${_pkgname}/resources/app.asar "\$@" EOF find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i "s|$srcdir||g" } |