summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 207667b2d5d0..5029c520c68d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=pupu-bin
_pkgname=PuPu
-pkgver=0.0.2
+pkgver=0.0.3
_electronversion=30
pkgrel=1
pkgdesc="A simple and easy to use UI for the Ollama.(Use system-wide electron)"
@@ -23,17 +23,17 @@ source=(
"LICENSE-${pkgver}::https://raw.githubusercontent.com/haoxiang-xu/PuPu/v${pkgver}/LICENSE"
"${pkgname%-bin}.sh"
)
-sha256sums=('1e1a50eea3881153b8e2faefc06af8285fdc8b73abcac6c5c063cc5d2c6c3f78'
+sha256sums=('833cb4534d1a51a11bed8dac6dfff2f25ae88480d2d68ea223c2e14d967f0e85'
'fb576e9f4e2a7decb731247171b312ddae9a3653b2a5377a5a2d994c8c5d2261'
'291f50480f5a61bc9c68db7d44cd0412071128706baa868a9cb854f8779a1980')
prepare() {
- sed -e "
+ sed -i -e "
s/@electronversion@/${_electronversion}/g
s/@appname@/${pkgname%-bin}/g
s/@runname@/app.asar/g
s/@cfgdirname@/${_pkgname}/g
s/@options@/env ELECTRON_OZONE_PLATFORM_HINT=auto/g
- " -i "${srcdir}/${pkgname%-bin}.sh"
+ " "${srcdir}/${pkgname%-bin}.sh"
bsdtar -xf "${srcdir}/data."*
sed -i "s/\/opt\/${_pkgname}\/${pkgname%-bin}/${pkgname%-bin}/g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
}