aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-12 11:59:21 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-14 16:04:49 +0200
commit38acb0cb9c34df539f999938ce552d7b158f926a (patch)
tree8fd1953da15b17c5273b9e09f56ade8696413d14 /main
parented07e10297fb3099fc0cb2f5648700e946345277 (diff)
downloadaports-38acb0cb9c34df539f999938ce552d7b158f926a.tar.bz2
aports-38acb0cb9c34df539f999938ce552d7b158f926a.tar.xz
main/xinput: move from testing/
Also cleanup a bit.
Diffstat (limited to 'main')
-rw-r--r--main/xinput/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/xinput/APKBUILD b/main/xinput/APKBUILD
new file mode 100644
index 0000000000..2d4af391af
--- /dev/null
+++ b/main/xinput/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
+pkgname=xinput
+pkgver=1.6.2
+pkgrel=0
+pkgdesc="Utility to configure and test XInput devices"
+url="http://xorg.freedesktop.org/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="util-macros libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://xorg.freedesktop.org/archive/individual/app/$pkgname-$pkgver.tar.bz2"
+
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="6a889412eff2e3c1c6bb19146f6fe84c xinput-1.6.2.tar.bz2"
+sha256sums="3694d29b4180952fbf13c6d4e59541310cbb11eef5bf888ff3d8b7f4e3aee5c4 xinput-1.6.2.tar.bz2"
+sha512sums="dbef3a87dd47bb8c593f1305bea7978697a12434a4992584e4124d745bb366812366b44fc205159137a3db6f7b8338effd1b90641a194497b19159b9fd91939e xinput-1.6.2.tar.bz2"