summaryrefslogtreecommitdiff
path: root/extra/libevdev/PKGBUILD
blob: 551f90a532b1c79c6d170fe40c6a280214151150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: $
# Maintainer: Jan de Groot

pkgname=libevdev
pkgver=0.4
pkgrel=2
pkgdesc="Wrapper library for evdev devices"
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/libevdev/"
license=(custom:X11)
depends=('glibc')
makedepends=('python')
source=(http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz)
sha256sums=('ba6becd3f41430aa290ddf53694909fb46b9a65d5fe264e5fc2a4f5169484f42')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static --disable-gcov
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}