summaryrefslogtreecommitdiff
path: root/pcr/python-evdev/PKGBUILD
blob: 57e03cbe42665b0668d19b255b2ab28b541b47a6 (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=2
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=('8340a6881d0ebe175dce412edc78dd296cc0e799265c1b6c7200891c6c7271d9')

package () {
  cd $pkgname-$pkgver

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

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