diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -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 | ||
3 | pkgname=thorium-bin | 4 | pkgname=thorium-bin |
4 | pkgver=1.7.1 | 5 | pkgver=1.7.2 |
5 | pkgrel=1 | 6 | pkgrel=1 |
6 | pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" | 7 | pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" |
7 | arch=('x86_64') | 8 | arch=('x86_64') |
@@ -10,25 +11,23 @@ url="https://github.com/edrlab/thorium-reader" | |||
10 | depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret') | 11 | depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret') |
11 | _filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb | 12 | _filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb |
12 | source=( | 13 | source=( |
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 | ) |
16 | sha512sums=( | 17 | sha512sums=('a8ea5ed14886dc888fd14dfa94770312343b9ed984d005065fd46269ceb23cfec629084dd9b7f9d6644887801ee334576580a0f2fdf02deda66aba9baa399c0a' |
17 | a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32 | 18 | 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a') |
18 | SKIP | ||
19 | ) | ||
20 | 19 | ||
21 | package() { | 20 | package() { |
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 | } |