diff options
author | Serge K | 2022-11-13 11:15:58 +0700 |
---|---|---|
committer | Serge K | 2022-11-13 11:15:58 +0700 |
commit | 36a3b8998036927f48a15b0b342cfd95a1bb8971 (patch) | |
tree | 3165dc1bd6f203fd69b23fe44c61874e6cdd1b33 | |
parent | 13bf75bc9f8bdf9a90ef661bea2bcce8cf4d19a6 (diff) | |
download | aur-36a3b8998036927f48a15b0b342cfd95a1bb8971.tar.gz |
fix: ledger-live copy files
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = ledger-live pkgdesc = Ledger Live - Desktop pkgver = 2.49.2 - pkgrel = 5 + pkgrel = 6 url = https://github.com/LedgerHQ/ledger-live arch = x86_64 license = MIT @@ -7,7 +7,7 @@ _pkgbin=ledger-live-desktop pkgname=ledger-live pkgdesc="Ledger Live - Desktop" pkgver=2.49.2 -pkgrel=5 +pkgrel=6 arch=('x86_64') url='https://github.com/LedgerHQ/ledger-live' license=('MIT') @@ -21,8 +21,6 @@ sha512sums=('SKIP') build() { cd ${_gitdir} - export GIT_REVISION=${pkgver} - export JOBS=max eval "$(fnm env --shell bash)" fnm use --install-if-missing @@ -37,10 +35,11 @@ build() { package() { cd ${_gitdir}/apps/${_pkgbin} + install -Dm644 "dist/__appImage-x64/${_pkgbin}.desktop" "${pkgdir}/usr/share/applications/${_pkgbin}.desktop" install -dm755 "${pkgdir}/opt/${_pkgbin}" - cp -r "dist/linux-unpacked" "${pkgdir}/opt/${_pkgbin}" + cp -r "dist/linux-unpacked/." "${pkgdir}/opt/${_pkgbin}" install -dm755 "${pkgdir}/usr/bin" ln -s "/opt/${_pkgbin}/${_pkgbin}" "${pkgdir}/usr/bin/${_pkgbin}" |