summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaglis Jonaitis2020-08-28 14:11:35 +0300
committerNaglis Jonaitis2020-08-28 14:11:35 +0300
commitd9308e46708cf22e8146626b6b5a58bd32ac608b (patch)
tree4e7097f48024e9c07e8a82be7bd91bfc5348f6b8
downloadpackages-d9308e46708cf22e8146626b6b5a58bd32ac608b.tar.gz
packages-d9308e46708cf22e8146626b6b5a58bd32ac608b.tar.bz2
packages-d9308e46708cf22e8146626b6b5a58bd32ac608b.zip
Initialize package
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD30
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..c8334a1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
1pkgbase = thorium-bin
2 pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit
3 pkgver = 1.4.0
4 pkgrel = 1
5 url = https://github.com/edrlab/thorium-reader
6 arch = x86_64
7 license = BSD
8 depends = libnotify
9 depends = nss
10 depends = libxss
11 depends = xdg-utils
12 depends = libappindicator-gtk3
13 depends = libsecret
14 source = https://github.com/edrlab/thorium-reader/releases/download/v1.4.0/EDRLab.ThoriumReader_1.4.0_amd64.deb
15 source = https://github.com/edrlab/thorium-reader/raw/v1.4.0/LICENSE
16 sha512sums = c3f7e9b7efccb35da4302a0ab8932d0ce77b2e2e8bebb7e1a910923def62deb193435603c0899505f8fc4c0437f085b0ecb24e3aea52451172c341b4d587fc2d
17 sha512sums = SKIP
18
19pkgname = thorium-bin
20
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}