summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Janžić2015-07-11 15:03:56 +0200
committerJosip Janžić2015-07-11 15:03:56 +0200
commit4a7e6860f0bfab33be28aadb91c008d7063265c7 (patch)
tree73370d7c14f1c539232f93f4fda16a897b329f28
downloadaur-4a7e6860f0bfab33be28aadb91c008d7063265c7.tar.gz
initial
-rw-r--r--.SRCINFO21
-rw-r--r--10-mtrack.conf5
-rw-r--r--PKGBUILD34
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6e89fbdde42
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = xf86-input-mtrack
+ pkgdesc = An Xorg driver for multitouch trackpads and clickpads
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = http://github.com/BlueDragonX/xf86-input-mtrack
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = xorg-server-devel
+ makedepends = resourceproto
+ makedepends = glproto
+ depends = mtdev
+ depends = libxss
+ backup = etc/X11/xorg.conf.d/10-mtrack.conf
+ source = 10-mtrack.conf
+ source = http://github.com/BlueDragonX/xf86-input-mtrack/archive/v0.3.1.tar.gz
+ md5sums = ffb540330d92957e0da28af5a005136e
+ md5sums = cc99ea395ec588a790d2145815f48fa2
+
+pkgname = xf86-input-mtrack
+
diff --git a/10-mtrack.conf b/10-mtrack.conf
new file mode 100644
index 00000000000..4a4607a9c8f
--- /dev/null
+++ b/10-mtrack.conf
@@ -0,0 +1,5 @@
+Section "InputClass"
+ MatchIsTouchpad "on"
+ Identifier "Touchpads"
+ Driver "mtrack"
+EndSection
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7b6dee51b60
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+
+pkgname=xf86-input-mtrack
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="An Xorg driver for multitouch trackpads and clickpads"
+arch=('i686' 'x86_64')
+url="http://github.com/BlueDragonX/$pkgname"
+license=('GPL2')
+depends=('mtdev' 'libxss')
+makedepends=('xorg-server-devel' 'resourceproto' 'glproto')
+backup=('etc/X11/xorg.conf.d/10-mtrack.conf')
+source=(10-mtrack.conf
+ $url/archive/v$pkgver.tar.gz)
+md5sums=('ffb540330d92957e0da28af5a005136e'
+ 'cc99ea395ec588a790d2145815f48fa2')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ mkdir -p m4
+
+ autoreconf --install
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir"/ install
+
+ install -Dm644 "$srcdir"/10-mtrack.conf "$pkgdir"/etc/X11/xorg.conf.d/10-mtrack.conf
+}