diff options
author | zxp19821005 | 2024-02-28 11:35:38 +0800 |
---|---|---|
committer | zxp19821005 | 2024-02-28 11:35:38 +0800 |
commit | aed9d1e97e8312b299d8ff0ea653dc0b83869cd6 (patch) | |
tree | 6518f9faaaeccc53f8c2f37794d9660051a3d3bb /PKGBUILD | |
parent | 6dd440a9beacc88dc55c737dfe09e69dc9e77a57 (diff) | |
download | packages-aed9d1e97e8312b299d8ff0ea653dc0b83869cd6.tar.gz packages-aed9d1e97e8312b299d8ff0ea653dc0b83869cd6.tar.bz2 packages-aed9d1e97e8312b299d8ff0ea653dc0b83869cd6.zip |
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,12 +5,12 @@ _appname=Thorium | |||
5 | _fullname="${_appname}Reader" | 5 | _fullname="${_appname}Reader" |
6 | pkgver=2.3.0 | 6 | pkgver=2.3.0 |
7 | _electronversion=25 | 7 | _electronversion=25 |
8 | pkgrel=3 | 8 | pkgrel=4 |
9 | pkgdesc="Cross-platform desktop reading app based on the Readium Desktop toolkit" | 9 | pkgdesc="Cross-platform desktop reading app based on the Readium Desktop toolkit" |
10 | arch=('x86_64') | 10 | arch=('x86_64') |
11 | url="https://www.edrlab.org/software/thorium-reader/" | 11 | url="https://www.edrlab.org/software/thorium-reader/" |
12 | _ghurl="https://github.com/edrlab/thorium-reader" | 12 | _ghurl="https://github.com/edrlab/thorium-reader" |
13 | license=('LicenseRef-BSD') | 13 | license=('BSD-3-Clause') |
14 | conflicts=("${pkgname%-bin}") | 14 | conflicts=("${pkgname%-bin}") |
15 | provides=("${pkgname%-bin}=${pkgver}") | 15 | provides=("${pkgname%-bin}=${pkgver}") |
16 | depends=( | 16 | depends=( |
@@ -24,13 +24,13 @@ source=( | |||
24 | ) | 24 | ) |
25 | sha256sums=('1007cd9083715d32427e4d39f8a4cac69cf428cfc4521950571dc2290a308f23' | 25 | sha256sums=('1007cd9083715d32427e4d39f8a4cac69cf428cfc4521950571dc2290a308f23' |
26 | 'e95e504f42685015445b4a0a80dfdaa86e5b2b2c0e317bca2bcbb51330ec61e5' | 26 | 'e95e504f42685015445b4a0a80dfdaa86e5b2b2c0e317bca2bcbb51330ec61e5' |
27 | 'd4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231') | 27 | '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014') |
28 | build() { | 28 | build() { |
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|@appasar@|app.asar|g" \ | 31 | -e "s|@runname@|app.asar|g" \ |
32 | -i "${srcdir}/${pkgname%-bin}.sh" | 32 | -i "${srcdir}/${pkgname%-bin}.sh" |
33 | bsdtar -xf "${srcdir}/data.tar.xz" | 33 | bsdtar -xf "${srcdir}/data."* |
34 | sed -e "s|Name=${_appname}|Name=${_fullname}|g" \ | 34 | sed -e "s|Name=${_appname}|Name=${_fullname}|g" \ |
35 | -e "s|/opt/${_appname}/${_pkgname}|${pkgname%-bin}|g" \ | 35 | -e "s|/opt/${_appname}/${_pkgname}|${pkgname%-bin}|g" \ |
36 | -e "s|Icon=${_pkgname}|Icon=${pkgname%-bin}|g" \ | 36 | -e "s|Icon=${_pkgname}|Icon=${pkgname%-bin}|g" \ |