summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64848d5c5ed27803ee5a75ee1f5418b272bc14ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer : MorsMortium <morsmortium@gmail.com>

pkgname=lbry-gtk
pkgver=0.7.2
pkgrel=2
pkgdesc='Native desktop LBRY client'
arch=('any')
url="https://codeberg.org/MorsMortium/${pkgname}"
license=('GPL-3.0')
depends=('python' 'python-appdirs' 'python-gobject' 'python-cairo' 'python-requests' 'python-pillow' 'python-markdown' 'gtk3' 'lbrynet' 'python-setproctitle')
provides=("${pkgname}")
conflicts=('lbry-gtk-git')
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}
}