summaryrefslogtreecommitdiff
path: root/pcr/python-evdev/PKGBUILD
blob: 8d695a2b39880a4bffe5ff393efcecae1563929d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Márcio Silva <coadde@parabola.nu>

pkgname=python-evdev
pkgver=0.6.0
pkgrel=1
pkgdesc="Python bindings evdev input devices"
arch=('i686' 'x86_64' 'armv7h')
url="http://python-evdev.readthedocs.org/"
license=('BSD3')
depends=('python')
source=("https://github.com/gvalkov/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('2a65a1c2657a7d9b989bb4557ddd27fd4be85c46e26f74362fe5c46939d4c857')

package () {
  cd $pkgname-$pkgver

  python setup.py install --prefix=/usr --root=$pkgdir

  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}