summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorzxp198210052024-05-13 15:23:41 +0800
committerzxp198210052024-05-13 15:23:41 +0800
commit613406e141bf814c90a0be020eac84c89ac68ce0 (patch)
tree2472b071327396e48e19864c734fa122fe8033a6 /PKGBUILD
parentc8cd987c0656d3aa222a8671df11cb1c717c1e3f (diff)
downloadaur-613406e141bf814c90a0be020eac84c89ac68ce0.tar.gz
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 257d37df5a41..f59bfd4d1446 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=hexpick-bin
_pkgname=HexPick
pkgver=1.0.1
_electronversion=29
-pkgrel=1
+pkgrel=2
pkgdesc="A simple color picker app for Linux"
arch=('x86_64')
url="https://github.com/KartoffelChipss/HexPick"
@@ -19,12 +19,13 @@ source=(
"${pkgname%-bin}.sh"
)
sha256sums=('04b1581f8a5440402222425a4af9218a4626a8588a32468cffdc384e0d3d5451'
- 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
+ '41b6d61dffef064762b3eec3dfeca7a3e1f57cbcb6dce9a6940c06797a0eae9d')
build() {
sed -e "s|@electronversion@|${_electronversion}|" \
-e "s|@appname@|${pkgname%-bin}|g" \
-e "s|@runname@|app.asar|g" \
- -e "s|@options@||g" \
+ -e "s|@cfgdirname@|${pkgname%-bin}|g" \
+ -e "s|@options@|env ELECTRON_OZONE_PLATFORM_HINT=auto|g" \
-i "${srcdir}/${pkgname%-bin}.sh"
bsdtar -xf "${srcdir}/data."*
sed "s|/opt/${_pkgname}/${pkgname%-bin}|${pkgname%-bin}|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"