summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98eb4cb7bb817ca7e59ea05720a141420da1f00f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
# Based on https://aur.archlinux.org/packages/ledger-udev by Josh Ellithorpe

pkgname=trezor-udev
pkgver=1
pkgrel=2
pkgdesc='Udev rules to connect trezor hardware wallets to your linux box'
arch=(any)
url='https://github.com/trezor/trezor-common'
license=(LGPL3)
depends=(udev)
install='trezor-udev.install'

source=(https://raw.githubusercontent.com/trezor/trezor-common/master/udev/51-trezor.rules
        https://raw.githubusercontent.com/trezor/trezord-go/master/COPYING)
sha256sums=('f3b39b4537da6260a7b63af07710aedfab1fe87d8eeff0975d176b9b908b9d6e'
            'da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768')

package() {
  install -Dm 644 51-trezor.rules "$pkgdir"/usr/lib/udev/rules.d/51-trezor.rules
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}