summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorzxp198210052024-03-22 15:08:35 +0800
committerzxp198210052024-03-22 15:08:35 +0800
commit9876c4f8213488ba877be5e3cd24eb51c3ac096c (patch)
tree68a65e392b8be1d6b40fb3ee67c55a8a8f300957 /PKGBUILD
parentaef72212758db0243a621eb2ad0bf1d27cde4dea (diff)
downloadaur-masscode-bin.tar.gz
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f3d00053ad19..891175017266 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=masscode-bin
_pkgname=massCode
pkgver=3.11.0
_electronversion=16
-pkgrel=2
+pkgrel=3
pkgdesc="A free and open source code snippets manager for developers"
arch=('x86_64')
url="https://masscode.io/"
@@ -23,11 +23,12 @@ source=(
"${pkgname%-bin}.sh"
)
sha256sums=('72df12e9b5a5a7afef0d31c75f5c56994bbbe3bd8c2c87b5dee9baa919a9591f'
- '50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe')
+ 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
build() {
sed -e "s|@electronversion@|${_electronversion}|g" \
-e "s|@appname@|${pkgname%-bin}|g" \
-e "s|@appasar@|app.asar|g" \
+ -e "s|@options@||g" \
-i "${srcdir}/${pkgname%-bin}.sh"
unsquashfs "${srcdir}/${pkgname%-bin}-${pkgver}.snap"
gendesk -q -f -n --categories="Development" --name="${_pkgname}" --exec="${pkgname%-bin} %U"