diff options
author | Yigit Sever | 2024-05-01 23:12:49 +0300 |
---|---|---|
committer | Yigit Sever | 2024-05-01 23:12:49 +0300 |
commit | f7f4eedab3dfae0a2e2545524894a745a6be0783 (patch) | |
tree | 34da16ff30bb08200449832f5c9bde1d4f471a80 | |
parent | e87c877c9dc9291d01ee40188db543c2a2403cfc (diff) | |
parent | 29f9338090a1d28a6e9595f52cade66c0a3cefbe (diff) | |
download | packages-f7f4eedab3dfae0a2e2545524894a745a6be0783.tar.gz packages-f7f4eedab3dfae0a2e2545524894a745a6be0783.tar.bz2 packages-f7f4eedab3dfae0a2e2545524894a745a6be0783.zip |
Add 'thorium-reader-bin/' from commit '29f9338090a1d28a6e9595f52cade66c0a3cefbe'
git-subtree-dir: thorium-reader-bin
git-subtree-mainline: e87c877c9dc9291d01ee40188db543c2a2403cfc
git-subtree-split: 29f9338090a1d28a6e9595f52cade66c0a3cefbe
-rw-r--r-- | thorium-reader-bin/.SRCINFO | 20 | ||||
-rw-r--r-- | thorium-reader-bin/.gitignore | 4 | ||||
-rw-r--r-- | thorium-reader-bin/PKGBUILD | 33 |
3 files changed, 57 insertions, 0 deletions
diff --git a/thorium-reader-bin/.SRCINFO b/thorium-reader-bin/.SRCINFO new file mode 100644 index 0000000..790d80a --- /dev/null +++ b/thorium-reader-bin/.SRCINFO | |||
@@ -0,0 +1,20 @@ | |||
1 | pkgbase = thorium-reader-bin | ||
2 | pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit | ||
3 | pkgver = 2.4.1 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/edrlab/thorium-reader | ||
6 | arch = x86_64 | ||
7 | license = BSD-3-Clause | ||
8 | depends = libnotify | ||
9 | depends = nss | ||
10 | depends = libxss | ||
11 | depends = xdg-utils | ||
12 | depends = libappindicator-gtk3 | ||
13 | depends = libsecret | ||
14 | options = !strip | ||
15 | source = thorium-reader-bin-2.4.1.deb::https://github.com/edrlab/thorium-reader/releases/download/v2.4.1/EDRLab.ThoriumReader_2.4.1_amd64.deb | ||
16 | source = https://github.com/edrlab/thorium-reader/raw/v2.4.1/LICENSE | ||
17 | sha512sums = ca94b94344ea56ba4d0255db05489df113b907c0f3c4d25bf846b37369766359aee32b636f81a3c797cd482bdb005b9d535391893a4a32d3813be5e9c9dce341 | ||
18 | sha512sums = acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a | ||
19 | |||
20 | pkgname = thorium-reader-bin | ||
diff --git a/thorium-reader-bin/.gitignore b/thorium-reader-bin/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/thorium-reader-bin/.gitignore | |||
@@ -0,0 +1,4 @@ | |||
1 | * | ||
2 | !.gitignore | ||
3 | !.SRCINFO | ||
4 | !PKGBUILD | ||
diff --git a/thorium-reader-bin/PKGBUILD b/thorium-reader-bin/PKGBUILD new file mode 100644 index 0000000..c769847 --- /dev/null +++ b/thorium-reader-bin/PKGBUILD | |||
@@ -0,0 +1,33 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Naglis Jonaitis <naglis@mailbox.org> | ||
3 | |||
4 | pkgname=thorium-reader-bin | ||
5 | pkgver=2.4.1 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" | ||
8 | arch=('x86_64') | ||
9 | license=(' BSD-3-Clause') | ||
10 | url="https://github.com/edrlab/thorium-reader" | ||
11 | depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret') | ||
12 | _filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb | ||
13 | options=('!strip') | ||
14 | source=( | ||
15 | "${pkgname}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${_filename}" | ||
16 | ${url}/raw/v${pkgver}/LICENSE | ||
17 | ) | ||
18 | sha512sums=('ca94b94344ea56ba4d0255db05489df113b907c0f3c4d25bf846b37369766359aee32b636f81a3c797cd482bdb005b9d535391893a4a32d3813be5e9c9dce341' | ||
19 | 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a') | ||
20 | |||
21 | package() { | ||
22 | cd "${srcdir}" | ||
23 | tar xJf data.tar.xz -C "${pkgdir}" | ||
24 | |||
25 | # Symlink | ||
26 | install -d "${pkgdir}/usr/bin" | ||
27 | ln -s "/opt/Thorium/thorium" "${pkgdir}/usr/bin/thorium" | ||
28 | |||
29 | # Install license | ||
30 | install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | ||
31 | |||
32 | install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" | ||
33 | } | ||