summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
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
3pkgname=thorium-bin
4pkgver=1.4.0
5pkgrel=1
6pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit"
7arch=('x86_64')
8license=('BSD')
9url="https://github.com/edrlab/thorium-reader"
10depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret')
11_filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb
12source=(
13 ${url}/releases/download/v${pkgver}/${_filename}
14 ${url}/raw/v${pkgver}/LICENSE
15)
16sha512sums=(
17 c3f7e9b7efccb35da4302a0ab8932d0ce77b2e2e8bebb7e1a910923def62deb193435603c0899505f8fc4c0437f085b0ecb24e3aea52451172c341b4d587fc2d
18 SKIP
19)
20
21package() {
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}