summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorzxp198210052024-03-14 17:53:50 +0800
committerzxp198210052024-03-14 17:53:50 +0800
commit221d53e8b03bf55bf35f2c6c5c4c9a762f7df31b (patch)
treeb4ad9b63b7baa7a3445894f23b6e3c2cbf7f141a /PKGBUILD
parentaed9d1e97e8312b299d8ff0ea653dc0b83869cd6 (diff)
downloadpackages-221d53e8b03bf55bf35f2c6c5c4c9a762f7df31b.tar.gz
packages-221d53e8b03bf55bf35f2c6c5c4c9a762f7df31b.tar.bz2
packages-221d53e8b03bf55bf35f2c6c5c4c9a762f7df31b.zip
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a73c9ab..c01e9c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ _appname=Thorium
5_fullname="${_appname}Reader" 5_fullname="${_appname}Reader"
6pkgver=2.3.0 6pkgver=2.3.0
7_electronversion=25 7_electronversion=25
8pkgrel=4 8pkgrel=5
9pkgdesc="Cross-platform desktop reading app based on the Readium Desktop toolkit" 9pkgdesc="Cross-platform desktop reading app based on the Readium Desktop toolkit"
10arch=('x86_64') 10arch=('x86_64')
11url="https://www.edrlab.org/software/thorium-reader/" 11url="https://www.edrlab.org/software/thorium-reader/"
@@ -14,7 +14,7 @@ license=('BSD-3-Clause')
14conflicts=("${pkgname%-bin}") 14conflicts=("${pkgname%-bin}")
15provides=("${pkgname%-bin}=${pkgver}") 15provides=("${pkgname%-bin}=${pkgver}")
16depends=( 16depends=(
17 "electron${_electronversion}" 17 "electron${_electronversion}-bin"
18 'hicolor-icon-theme' 18 'hicolor-icon-theme'
19) 19)
20source=( 20source=(
@@ -24,11 +24,12 @@ source=(
24) 24)
25sha256sums=('1007cd9083715d32427e4d39f8a4cac69cf428cfc4521950571dc2290a308f23' 25sha256sums=('1007cd9083715d32427e4d39f8a4cac69cf428cfc4521950571dc2290a308f23'
26 'e95e504f42685015445b4a0a80dfdaa86e5b2b2c0e317bca2bcbb51330ec61e5' 26 'e95e504f42685015445b4a0a80dfdaa86e5b2b2c0e317bca2bcbb51330ec61e5'
27 '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014') 27 'dc0c5ca385ad81a08315a91655c7c064b5bf110eada55e61265633ae198b39f8')
28build() { 28build() {
29 sed -e "s|@electronversion@|${_electronversion}|" \ 29 sed -e "s|@electronversion@|${_electronversion}|" \
30 -e "s|@appname@|${pkgname%-bin}|g" \ 30 -e "s|@appname@|${pkgname%-bin}|g" \
31 -e "s|@runname@|app.asar|g" \ 31 -e "s|@runname@|app.asar|g" \
32 -e "s|@options@||g" \
32 -i "${srcdir}/${pkgname%-bin}.sh" 33 -i "${srcdir}/${pkgname%-bin}.sh"
33 bsdtar -xf "${srcdir}/data."* 34 bsdtar -xf "${srcdir}/data."*
34 sed -e "s|Name=${_appname}|Name=${_fullname}|g" \ 35 sed -e "s|Name=${_appname}|Name=${_fullname}|g" \