From 221d53e8b03bf55bf35f2c6c5c4c9a762f7df31b Mon Sep 17 00:00:00 2001 From: zxp19821005 Date: Thu, 14 Mar 2024 17:53:50 +0800 Subject: fix errors --- PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index a73c9ab..c01e9c2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ _appname=Thorium _fullname="${_appname}Reader" pkgver=2.3.0 _electronversion=25 -pkgrel=4 +pkgrel=5 pkgdesc="Cross-platform desktop reading app based on the Readium Desktop toolkit" arch=('x86_64') url="https://www.edrlab.org/software/thorium-reader/" @@ -14,7 +14,7 @@ license=('BSD-3-Clause') conflicts=("${pkgname%-bin}") provides=("${pkgname%-bin}=${pkgver}") depends=( - "electron${_electronversion}" + "electron${_electronversion}-bin" 'hicolor-icon-theme' ) source=( @@ -24,11 +24,12 @@ source=( ) sha256sums=('1007cd9083715d32427e4d39f8a4cac69cf428cfc4521950571dc2290a308f23' 'e95e504f42685015445b4a0a80dfdaa86e5b2b2c0e317bca2bcbb51330ec61e5' - '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 -e "s|Name=${_appname}|Name=${_fullname}|g" \ -- cgit v1.2.3-70-g09d2