Skip to content

Instantly share code, notes, and snippets.

@kiyui
Created October 22, 2019 03:17
Show Gist options
  • Save kiyui/ecb2bb30b6e5b624e3b26e6d16eb1b16 to your computer and use it in GitHub Desktop.
Save kiyui/ecb2bb30b6e5b624e3b26e6d16eb1b16 to your computer and use it in GitHub Desktop.
lbry-app-bin rolling release PKGBUILD example
pkgname=lbry-app-bin-rolling
pkgver=...
pkgrel=1
pkgdesc='The LBRY app built using electron'
arch=('x86_64')
url='https://lbry.io/'
license=('MIT')
depends=('nodejs' 'npm' 'gnome-keyring' 'gconf')
source=('https://lbry.com/get/lbry.deb')
sha256sums=('SKIP')
package() {
tar -xf "$srcdir/data.tar.xz" -C "$pkgdir"
install -dm775 "$pkgdir"/{opt,usr/bin,usr/share}
ln -s "/opt/LBRY/LBRY" "$pkgdir/usr/bin/lbry"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment