diff options
author | Joel Teichroeb | 2015-06-08 16:34:00 -0700 |
---|---|---|
committer | Joel Teichroeb | 2015-06-08 16:34:00 -0700 |
commit | 5c61e46ca4872999d376b4dad6a63e672d5e34d3 (patch) | |
tree | ee20506ff54eff1b40627771f08c497d162eb885 /PKGBUILD | |
download | aur-5c61e46ca4872999d376b4dad6a63e672d5e34d3.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c1dc86324137 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Joel Teichroeb <joel@teichroeb.net> + +pkgname=libinput-git +pkgver=0.17.0.r2.gbd4f129 +pkgrel=1 +pkgdesc='A library to handle input devices in Wayland compositors' +arch=(i686 x86_64) +url='http://freedesktop.org/wiki/Software/libinput/' +provides=("libinput=${pkgver}") +license=('MIT') +depends=('mtdev' 'systemd' 'libevdev') +makedepends=('git') +conflicts=('libinput') +source=(git://anongit.freedesktop.org/wayland/libinput) +sha1sums=('SKIP') + +pkgver() { + cd libinput + git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' +} + +build() { + cd libinput + + ./autogen.sh --prefix=/usr + make +} + +package() { + cd libinput + make DESTDIR="${pkgdir}" install +} |