diff options
author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /thorium-bin | |
parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip |
Use actual files instead of submodules
Diffstat (limited to 'thorium-bin')
m--------- | thorium-bin | 13 | ||||
-rw-r--r-- | thorium-bin/.SRCINFO | 20 | ||||
-rw-r--r-- | thorium-bin/PKGBUILD | 34 |
3 files changed, 54 insertions, 13 deletions
diff --git a/thorium-bin b/thorium-bin deleted file mode 160000 | |||
Subproject 20ffa0b8b767965c7ae23915d73ace49caab424 | |||
diff --git a/thorium-bin/.SRCINFO b/thorium-bin/.SRCINFO new file mode 100644 index 0000000..74c5ab6 --- /dev/null +++ b/thorium-bin/.SRCINFO | |||
@@ -0,0 +1,20 @@ | |||
1 | pkgbase = thorium-bin | ||
2 | pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit | ||
3 | pkgver = 1.7.3 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/edrlab/thorium-reader | ||
6 | arch = x86_64 | ||
7 | license = BSD3 | ||
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-bin.tar.gz::https://github.com/edrlab/thorium-reader/releases/download/v1.7.3/EDRLab.ThoriumReader_1.7.3_amd64.deb | ||
16 | source = https://github.com/edrlab/thorium-reader/raw/v1.7.3/LICENSE | ||
17 | sha512sums = ca572e2455546a36eaec5a35c16f0067f2c728e92d2236ebb2780ffc46219c87d2164ee332c38e7fb5d619ff56d3b41d389a8c73a9d8de2e1f33c4970e0b5ba4 | ||
18 | sha512sums = acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a | ||
19 | |||
20 | pkgname = thorium-bin | ||
diff --git a/thorium-bin/PKGBUILD b/thorium-bin/PKGBUILD new file mode 100644 index 0000000..fdb25a6 --- /dev/null +++ b/thorium-bin/PKGBUILD | |||
@@ -0,0 +1,34 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Naglis Jonaitis <naglis@mailbox.org> | ||
3 | |||
4 | pkgname=thorium-bin | ||
5 | pkgver=1.7.3 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" | ||
8 | arch=('x86_64') | ||
9 | license=('BSD3') | ||
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}.tar.gz::${url}/releases/download/v${pkgver}/${_filename}" | ||
16 | ${url}/raw/v${pkgver}/LICENSE | ||
17 | ) | ||
18 | sha512sums=('ca572e2455546a36eaec5a35c16f0067f2c728e92d2236ebb2780ffc46219c87d2164ee332c38e7fb5d619ff56d3b41d389a8c73a9d8de2e1f33c4970e0b5ba4' | ||
19 | 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a') | ||
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 | |||
31 | # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) | ||
32 | mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 | ||
33 | install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" | ||
34 | } | ||