12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # Template file for 'lbry-desktop'
- pkgname=lbry-desktop
- version=0.50.1
- revision=1
- archs="x86_64"
- hostmakedepends="nodejs yarn-bin binutils tar xz git python libsecret"
- depends="nodejs gnome-keyring GConf"
- short_desc="Browser for decentralized videos and content available on LBRY protocol"
- maintainer="reback00 <reback00@protonmail.com>"
- license="MIT"
- homepage="https://lbry.com/"
- distfiles="https://github.com/lbryio/lbry-desktop/archive/v${version}.tar.gz"
- checksum=df667714ebb03ae57a6cfdef36f1e8626125947d34815e86bc561144b5ce9af8
- patch_args="-Np1"
- nopie=yes
- nodebug=yes
- nostrip=yes
- noverifyrdeps=yes
- noshlibprovides=yes
- preserve=yes
- pre_build() {
- # To fix node-gyp related error
- # https://stackoverflow.com/a/55590251
- rm yarn.lock
- yarn add core-js@2
- }
- do_build() {
- yarn build
- }
- do_install() {
- ar x dist/electron/LBRY_${version}.deb data.tar.xz
- tar xf data.tar.xz -C ${DESTDIR}
- }
- post_install() {
- vlicense LICENSE
- }
|