From a8e8b473af254bddeda09db3b47b24051bec97fb Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 27 Sep 2021 22:58:41 +0300 Subject: Update to 1.7.2 --- .SRCINFO | 10 +++++----- PKGBUILD | 31 +++++++++++++++---------------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 564ca57..39bf887 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = thorium-bin pkgdesc = A cross platform desktop reading app, based on the Readium Desktop toolkit - pkgver = 1.7.1 + pkgver = 1.7.2 pkgrel = 1 url = https://github.com/edrlab/thorium-reader arch = x86_64 @@ -11,9 +11,9 @@ pkgbase = thorium-bin depends = xdg-utils depends = libappindicator-gtk3 depends = libsecret - source = https://github.com/edrlab/thorium-reader/releases/download/v1.7.1/EDRLab.ThoriumReader_1.7.1_amd64.deb - source = https://github.com/edrlab/thorium-reader/raw/v1.7.1/LICENSE - sha512sums = a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32 - sha512sums = SKIP + source = thorium-bin.tar.gz::https://github.com/edrlab/thorium-reader/releases/download/v1.7.2/EDRLab.ThoriumReader_1.7.2_amd64.deb + source = https://github.com/edrlab/thorium-reader/raw/v1.7.2/LICENSE + sha512sums = a8ea5ed14886dc888fd14dfa94770312343b9ed984d005065fd46269ceb23cfec629084dd9b7f9d6644887801ee334576580a0f2fdf02deda66aba9baa399c0a + sha512sums = acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a pkgname = thorium-bin diff --git a/PKGBUILD b/PKGBUILD index f00b464..50948bc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ -# Maintainer: Naglis Jonaitis +# Maintainer: Yigit Sever +# Contributor: Naglis Jonaitis pkgname=thorium-bin -pkgver=1.7.1 +pkgver=1.7.2 pkgrel=1 pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" arch=('x86_64') @@ -10,25 +11,23 @@ url="https://github.com/edrlab/thorium-reader" depends=('libnotify' 'nss' 'libxss' 'xdg-utils' 'libappindicator-gtk3' 'libsecret') _filename=EDRLab.ThoriumReader_${pkgver}_amd64.deb source=( - ${url}/releases/download/v${pkgver}/${_filename} + "${pkgname}.tar.gz::${url}/releases/download/v${pkgver}/${_filename}" ${url}/raw/v${pkgver}/LICENSE ) -sha512sums=( - a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32 - SKIP -) +sha512sums=('a8ea5ed14886dc888fd14dfa94770312343b9ed984d005065fd46269ceb23cfec629084dd9b7f9d6644887801ee334576580a0f2fdf02deda66aba9baa399c0a' + 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a') package() { - tar xJf ${srcdir}/data.tar.xz -C ${pkgdir}/ + tar xJf ${srcdir}/data.tar.xz -C ${pkgdir}/ - # Symlink - install -d "${pkgdir}/usr/bin" - ln -s "/opt/Thorium/thorium" "${pkgdir}/usr/bin/thorium" + # Symlink + install -d "${pkgdir}/usr/bin" + ln -s "/opt/Thorium/thorium" "${pkgdir}/usr/bin/thorium" - # Install license - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + # Install license + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) - mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 - install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" + # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) + mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 + install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" } -- cgit v1.2.3-70-g09d2