makedeb


lbry-gtk 0.7.2-1


Native desktop LBRY client

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for lbry-gtk.

# Maintainer : MorsMortium <morsmortium@gmail.com>

_pkgname=lbry-gtk
pkgname=${_pkgname}
pkgver=0.7.2
pkgrel=1
pkgdesc='Native desktop LBRY client'
arch=('any')
url="https://codeberg.org/MorsMortium/${_pkgname}"
license=('GPL-3.0')
depends=('python3' 'python3-appdirs' 'python3-gi' 'python3-gi-cairo' 'python3-cairo' 'python3-cairosvg' 'python3-cairo-dev' 'python3-cairocffi' 'python3-requests' 'python3-pypillowfight' 'python3-markdown' 'python3-setproctitle' 'libgtk-3-bin' 'lbrynet')
provides=("${_pkgname}")
makedepends=('git')
sha1sums=('a1a5638ed5ed581968a48d3cd72634894cdc7c4b')
source=("${pkgname}::${url}/archive/${pkgver}.tar.gz")

package() {
  cd "${srcdir}/${pkgname}"
  install -Dm 644 ./share/icons/hicolor/scalable/apps/${_pkgname}.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg
  install -Dm 755 ./bin/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
  install -Dm 755 ${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
  cp -a ./share/${_pkgname} ${pkgdir}/usr/share/${_pkgname}
}