# Maintainer: Yigit Sever # Contributor: Naglis Jonaitis pkgname=thorium-bin pkgver=2.2.0 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 options=('!strip') source=( "${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_filename}" ${url}/raw/v${pkgver}/LICENSE ) sha512sums=('5e3b998a98261ca6e653f9800e0f05bc9e29bd74b0dab7c07a2afb0f3fc234b6f710d324c98a373b850a4f41ba555ead5a0c28c35a35c7302538ad0ee607916a' 'acb9c8cdd1225dd5e7874b5380cc597adf9cf32dfcebccfd18d13f36f525b56d9319734da28de5ec44a983197f91f2e80231211197b7201e4efe115972aae96a') 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" install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" }