summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d97598914d0cd938b8e5bd9ce2f4fb787be3529a (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
32
33
34
35
# Maintainer: @RubenKelevra <cyrond@gmail.com>
# Contributor: Lucas Silva <lcdss@live.com>

pkgname=lbry-desktop-bin
pkgver=0.53.9
pkgrel=1
pkgdesc='Desktop app for the lbry-network (Odysee.com) - a decentralized, user-controlled content marketplace and YouTube alternative'
arch=('x86_64')
changelog=changelog
url="https://github.com/lbryio/${pkgname::-4}"
license=('MIT')
provides=("lbry=$pkgver" "lbry-desktop=$pkgver" "lbrynet=$pkgver")
depends=('nss' 'alsa-lib' 'gtk3')
conflicts=('lbry' 'lbry-desktop' 'lbrynet' 'lbrynet-bin' 'lbry-desktop-git')
depends=('libxtst' 'nss' 'alsa-lib' 'gtk3')
source=("$url/releases/download/v$pkgver/LBRY_$pkgver.deb"
#        "$url/releases/download/v$pkgver/LBRY_$pkgver.deb.asc"
        "https://raw.githubusercontent.com/lbryio/${pkgname::-4}/master/LICENSE")

# Not yet usable, as there are no individual signatures for the files. Feature was requested here
# https://github.com/lbryio/lbry-desktop/issues/7707

#validpgpkeys=('4A47DE443CEE6D70A892347A9B8FFF1D3E1C0A50')

b2sums=('5541ce87f8812bb60a762f42ca00452111d6acee1b372f95d489f1607bcd9c9301c25db9ed9305f625916887f8eb7121cd4841eced01b118130cbc0e10521016'
        'eadd07c9a4210b7d3b2408483433daca30100cdca4590379f376538d2c7cb300d77da3ffcd4950c279c7ecae729fbb2f5f6447c4a4fd8079ef979c54aaa21e42')

package() {
  install -dm 755 "$pkgdir/usr/bin/"
  tar -xf "$srcdir/data.tar.xz" -C "$pkgdir"
  ln -s "/opt/LBRY/lbry" "$pkgdir/usr/bin/lbry"
  ln -s "/opt/LBRY/resources/static/daemon/lbrynet" "$pkgdir/usr/bin/"
  cd "${srcdir}"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}