summaryrefslogtreecommitdiff
path: root/pcr/python-evdev/PKGBUILD
blob: 10bdcf41106ce0bced0e8f056fe88076652ba553 (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.5.0
pkgrel=1
pkgdesc="Python bindings evdev input devices"
arch=('i686' 'x86_64')
url="http://python-evdev.readthedocs.org/"
license=('BSD3')
depends=('python')
source=("https://github.com/gvalkov/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('8340a6881d0ebe175dce412edc78dd296cc0e799265c1b6c7200891c6c7271d9')

package () {
  cd $pkgname-$pkgver

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

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