summaryrefslogtreecommitdiffstats
path: root/thorium-bin/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2023-08-06 18:29:37 +0300
committerYigit Sever2023-08-06 18:29:37 +0300
commit12c34196bba68188d3d80f0c6abe90f50eb01870 (patch)
treef5d5406e8a8f4317cc3bc8e08c21add4aeb0d8a2 /thorium-bin/PKGBUILD
parent0100fcbbb4d253bfb22245f35676f861c99611b7 (diff)
parentfe298926d5624841b8f5227173e9e55168470718 (diff)
downloadpackages-12c34196bba68188d3d80f0c6abe90f50eb01870.tar.gz
packages-12c34196bba68188d3d80f0c6abe90f50eb01870.tar.bz2
packages-12c34196bba68188d3d80f0c6abe90f50eb01870.zip
Add 'thorium-bin/' from commit 'fe298926d5624841b8f5227173e9e55168470718'
git-subtree-dir: thorium-bin git-subtree-mainline: 0100fcbbb4d253bfb22245f35676f861c99611b7 git-subtree-split: fe298926d5624841b8f5227173e9e55168470718
Diffstat (limited to 'thorium-bin/PKGBUILD')
-rw-r--r--thorium-bin/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/thorium-bin/PKGBUILD b/thorium-bin/PKGBUILD
new file mode 100644
index 0000000..1121fe6
--- /dev/null
+++ b/thorium-bin/PKGBUILD
@@ -0,0 +1,32 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Naglis Jonaitis <naglis@mailbox.org>
3
4pkgname=thorium-bin
5pkgver=2.2.0
6pkgrel=1
7pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit"
8arch=('x86_64')
9license=('BSD3')
10url="https://github.com/edrlab/thorium-reader"
11depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret')
12_filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb
13options=('!strip')
14source=(
15 "${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_filename}"
16 ${url}/raw/v${pkgver}/LICENSE
17)
18sha512sums=('5e3b998a98261ca6e653f9800e0f05bc9e29bd74b0dab7c07a2afb0f3fc234b6f710d324c98a373b850a4f41ba555ead5a0c28c35a35c7302538ad0ee607916a'
19 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a')
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
31 install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png"
32}