# Maintainer: Naglis Jonaitis pkgname=thorium-bin pkgver=1.7.1 pkgrel=1 pkgdesc="A cross platform desktop reading app, based on the Readium Desktop toolkit" arch=('x86_64') license=('BSD3') 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} ${url}/raw/v${pkgver}/LICENSE ) sha512sums=( a2f3b28704ebd459e82c346a2e7ac54e991ba5f8443f2522dc2ce63965a78b7b5f2e1d4f3cd0ae92524813eb3e59ba55216744b01225a1f6d37177d16b372b32 SKIP ) package() { tar xJf ${srcdir}/data.tar.xz -C ${pkgdir}/ # 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" # 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" }