summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20b79b7713eb4f929dc41fe0fd2e36e8a2c2dc9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer : MorsMortium <morsmortium@disroot.org>

_pkgname=lbry-gtk
pkgname=${_pkgname}-git
pkgver=r492.6939df3
pkgrel=1
pkgdesc='Native desktop LBRY client'
arch=('any')
url="https://codeberg.org/MorsMortium/${_pkgname}"
license=('GPL3')
depends=('python' 'python-gobject' 'python-cairo' 'gtk3' 'lbrynet' 'python-setproctitle' 'jansson' 'curl' 'md4c' 'pcre2' 'imagemagick' 'appdir' 'sqlite')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
makedepends=('git')
sha512sums=('SKIP')
source=("${pkgname}::git+${url}.git")

pkgver() {
  cd "${srcdir}/${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
  cd "${srcdir}/${pkgname}"
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  make install DESTDIR="${pkgdir}"
}