summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWoodenman2024-03-18 22:54:19 +0800
committerWoodenman2024-03-18 22:54:19 +0800
commitdde51b2f600b33c246b433167502bc93d8937d22 (patch)
tree408918141091d67282d54983350c16f9aa15de3e
parent3831051923b6b19089cfbb6a6bd458fed571a4fa (diff)
downloadaur-dde51b2f600b33c246b433167502bc93d8937d22.tar.gz
fix errors
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ba642fe53aad..79b22df13ea3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = leafview-bin
pkgdesc = A minimalist image viewer based on Leaflet.js and Electron.
pkgver = 2.9.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/sprout2000/leafview
arch = x86_64
license = MIT
@@ -14,6 +14,6 @@ pkgbase = leafview-bin
source = leafview.sh
sha256sums = e2986c2512dc2b1bf91385abee44d2cd685f3e2ad07f59199c37450831879dd0
sha256sums = 17db9845cf37bf3bd6b48095f3c87e40d25f3b48d4d0c38c2e740d45f024e56e
- sha256sums = 0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014
+ sha256sums = dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8
pkgname = leafview-bin
diff --git a/PKGBUILD b/PKGBUILD
index 41c2d1f4c155..481f5174c1a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=leafview-bin
_pkgname=LeafView
pkgver=2.9.1
_electronversion=29
-pkgrel=1
+pkgrel=2
pkgdesc="A minimalist image viewer based on Leaflet.js and Electron."
arch=("x86_64")
url="https://github.com/sprout2000/leafview"
@@ -21,11 +21,12 @@ source=(
)
sha256sums=('e2986c2512dc2b1bf91385abee44d2cd685f3e2ad07f59199c37450831879dd0'
'17db9845cf37bf3bd6b48095f3c87e40d25f3b48d4d0c38c2e740d45f024e56e'
- '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014')
+ 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
build() {
sed -e "s|@electronversion@|${_electronversion}|" \
-e "s|@appname@|${pkgname%-bin}|g" \
-e "s|@runname@|app.asar|g" \
+ -e "s|@options@||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"