summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD31
2 files changed, 20 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 564ca57..39bf887 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
1pkgbase = thorium-bin 1pkgbase = thorium-bin
2 pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit 2 pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit
3 pkgver = 1.7.1 3 pkgver = 1.7.2
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/edrlab/thorium-reader 5 url = https://github.com/edrlab/thorium-reader
6 arch = x86_64 6 arch = x86_64
@@ -11,9 +11,9 @@ pkgbase = thorium-bin
11 depends = xdg-utils 11 depends = xdg-utils
12 depends = libappindicator-gtk3 12 depends = libappindicator-gtk3
13 depends = libsecret 13 depends = libsecret
14 source = https://github.com/edrlab/thorium-reader/releases/download/v1.7.1/EDRLab.ThoriumReader_1.7.1_amd64.deb 14 source = thorium-bin.tar.gz::https://github.com/edrlab/thorium-reader/releases/download/v1.7.2/EDRLab.ThoriumReader_1.7.2_amd64.deb
15 source = https://github.com/edrlab/thorium-reader/raw/v1.7.1/LICENSE 15 source = https://github.com/edrlab/thorium-reader/raw/v1.7.2/LICENSE
16 sha512sums = a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32 16 sha512sums = a8ea5ed14886dc888fd14dfa94770312343b9ed984d005065fd46269ceb23cfec629084dd9b7f9d6644887801ee334576580a0f2fdf02deda66aba9baa399c0a
17 sha512sums = SKIP 17 sha512sums = acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a
18 18
19pkgname = thorium-bin 19pkgname = thorium-bin
diff --git a/PKGBUILD b/PKGBUILD
index f00b464..50948bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
1# Maintainer: Naglis Jonaitis <naglis@mailbox.org> 1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Naglis Jonaitis <naglis@mailbox.org>
2 3
3pkgname=thorium-bin 4pkgname=thorium-bin
4pkgver=1.7.1 5pkgver=1.7.2
5pkgrel=1 6pkgrel=1
6pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" 7pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit"
7arch=('x86_64') 8arch=('x86_64')
@@ -10,25 +11,23 @@ url="https://github.com/edrlab/thorium-reader"
10depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret') 11depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret')
11_filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb 12_filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb
12source=( 13source=(
13 ${url}/releases/download/v${pkgver}/${_filename} 14 "${pkgname}.tar.gz::${url}/releases/download/v${pkgver}/${_filename}"
14 ${url}/raw/v${pkgver}/LICENSE 15 ${url}/raw/v${pkgver}/LICENSE
15) 16)
16sha512sums=( 17sha512sums=('a8ea5ed14886dc888fd14dfa94770312343b9ed984d005065fd46269ceb23cfec629084dd9b7f9d6644887801ee334576580a0f2fdf02deda66aba9baa399c0a'
17 a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32 18 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a')
18 SKIP
19)
20 19
21package() { 20package() {
22 tar xJf ${srcdir}/data.tar.xz -C ${pkgdir}/ 21 tar xJf ${srcdir}/data.tar.xz -C ${pkgdir}/
23 22
24 # Symlink 23 # Symlink
25 install -d "${pkgdir}/usr/bin" 24 install -d "${pkgdir}/usr/bin"
26 ln -s "/opt/Thorium/thorium" "${pkgdir}/usr/bin/thorium" 25 ln -s "/opt/Thorium/thorium" "${pkgdir}/usr/bin/thorium"
27 26
28 # Install license 27 # Install license
29 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 28 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
30 29
31 # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) 30 # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241)
32 mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 31 mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024
33 install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" 32 install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png"
34} 33}