summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge K2022-11-13 11:15:58 +0700
committerSerge K2022-11-13 11:15:58 +0700
commit36a3b8998036927f48a15b0b342cfd95a1bb8971 (patch)
tree3165dc1bd6f203fd69b23fe44c61874e6cdd1b33
parent13bf75bc9f8bdf9a90ef661bea2bcce8cf4d19a6 (diff)
downloadaur-36a3b8998036927f48a15b0b342cfd95a1bb8971.tar.gz
fix: ledger-live copy files
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0b02a08792f..81d7e7aacc6e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 09ed68cf7445..d4c1147876a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"