diff options
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..daf40ff --- /dev/null +++ b/PKGBUILD | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | # Maintainer: Naglis Jonaitis <naglis@mailbox.org> | ||
| 2 | |||
| 3 | pkgname=thorium-bin | ||
| 4 | pkgver=1.4.0 | ||
| 5 | pkgrel=1 | ||
| 6 | pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" | ||
| 7 | arch=('x86_64') | ||
| 8 | license=('BSD') | ||
| 9 | url="https://github.com/edrlab/thorium-reader" | ||
| 10 | depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret') | ||
| 11 | _filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb | ||
| 12 | source=( | ||
| 13 | ${url}/releases/download/v${pkgver}/${_filename} | ||
| 14 | ${url}/raw/v${pkgver}/LICENSE | ||
| 15 | ) | ||
| 16 | sha512sums=( | ||
| 17 | c3f7e9b7efccb35da4302a0ab8932d0ce77b2e2e8bebb7e1a910923def62deb193435603c0899505f8fc4c0437f085b0ecb24e3aea52451172c341b4d587fc2d | ||
| 18 | SKIP | ||
| 19 | ) | ||
| 20 | |||
| 21 | package() { | ||
| 22 | tar xJf ${srcdir}/data.tar.xz -C ${pkgdir}/ | ||
| 23 | |||
| 24 | # Symlink | ||
| 25 | install -d "${pkgdir}/usr/bin" | ||
| 26 | ln -s "/opt/Thorium/thorium" "${pkgdir}/usr/bin/thorium" | ||
| 27 | |||
| 28 | # Install license | ||
| 29 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | ||
| 30 | } | ||
