summaryrefslogtreecommitdiff
path: root/pcr/python-evdev/PKGBUILD
blob: a93cf800b5c0659df6ceffcc1a7b382f2f9a70e8 (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.4
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=('a84b6538885770a6e0ebefb1a65d138d485a13002452bfdd537b07f146af2bd9')

package () {
  cd $pkgname-$pkgver

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

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