mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
PKGBUILD: replace udev rule installation with optional hardware wallet udev rule deps (#4)
Reviewed-on: https://codeberg.org/tuxxx/sparrow-wallet-git/pulls/4
This commit is contained in:
parent
4b3f4b6ff6
commit
bbd1c4b07b
2 changed files with 24 additions and 9 deletions
11
.SRCINFO
11
.SRCINFO
|
|
@ -6,12 +6,17 @@ pkgbase = sparrow-wallet-git
|
|||
arch = x86_64
|
||||
license = Apache-2.0
|
||||
makedepends = git
|
||||
depends = hicolor-icon-theme
|
||||
depends = alsa-lib
|
||||
depends = libxtst
|
||||
depends = libxrender
|
||||
depends = freetype2
|
||||
depends = hicolor-icon-theme
|
||||
depends = libxcrypt-compat
|
||||
depends = libxrender
|
||||
depends = libxtst
|
||||
optdepends = bitbox-udev: udev rules for BitBox hardware wallets
|
||||
optdepends = keepkey-udev: udev rules for KeepKey hardware wallets
|
||||
optdepends = ledger-udev: udev rules for Ledger hardware wallets
|
||||
optdepends = python-ckcc-protocol: Python CLI and udev rules for Coldcard hardware wallets
|
||||
optdepends = trezor-udev: udev rules for Trezor hardware wallets
|
||||
provides = sparrow-wallet
|
||||
conflicts = sparrow-wallet
|
||||
source = sparrow::git+https://github.com/sparrowwallet/sparrow.git#branch=master
|
||||
|
|
|
|||
22
PKGBUILD
22
PKGBUILD
|
|
@ -1,15 +1,29 @@
|
|||
# Maintainer: tuxxx <nzb_tuxxx@proton.me>
|
||||
|
||||
pkgname=sparrow-wallet-git
|
||||
pkgver=2.2.2.r7.g8885e48
|
||||
pkgver=2.2.3.r1.g3aae26b
|
||||
_jdkver=22.0.2_9
|
||||
pkgrel=1
|
||||
pkgdesc="Desktop Bitcoin Wallet focused on security and privacy (git version)"
|
||||
arch=('x86_64')
|
||||
url="https://sparrowwallet.com/"
|
||||
license=('Apache-2.0')
|
||||
depends=('hicolor-icon-theme' 'alsa-lib' 'libxtst' 'libxrender' 'freetype2' 'libxcrypt-compat')
|
||||
depends=(
|
||||
'alsa-lib'
|
||||
'freetype2'
|
||||
'hicolor-icon-theme'
|
||||
'libxcrypt-compat'
|
||||
'libxrender'
|
||||
'libxtst'
|
||||
)
|
||||
makedepends=('git')
|
||||
optdepends=(
|
||||
'bitbox-udev: udev rules for BitBox hardware wallets'
|
||||
'keepkey-udev: udev rules for KeepKey hardware wallets'
|
||||
'ledger-udev: udev rules for Ledger hardware wallets'
|
||||
'python-ckcc-protocol: Python CLI and udev rules for Coldcard hardware wallets'
|
||||
'trezor-udev: udev rules for Trezor hardware wallets'
|
||||
)
|
||||
provides=('sparrow-wallet')
|
||||
conflicts=('sparrow-wallet')
|
||||
source=(
|
||||
|
|
@ -77,8 +91,4 @@ EOF
|
|||
|
||||
install -Dm644 "${srcdir}/MimeInfo.xml" \
|
||||
"${pkgdir}/usr/share/mime/packages/${pkgname%-git}.xml"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/lib/udev/rules.d"
|
||||
install -m644 "${srcdir}/sparrow/build/jpackage/Sparrow/lib/runtime/conf/udev"/*.rules \
|
||||
"${pkgdir}/usr/lib/udev/rules.d/"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue