summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander F Rødseth2015-06-10 14:38:40 +0200
committerAlexander F Rødseth2015-06-10 14:38:40 +0200
commit34069063fc513d00cfb0ccf9d5d0aa6eb2cb8892 (patch)
tree80962d17cadbc5e40f0cdc58a942e631ab3a256c
downloadaur-34069063fc513d00cfb0ccf9d5d0aa6eb2cb8892.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6d8288251e0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = joy2key
+ pkgdesc = Translate joystick movements into keystrokes
+ pkgver = 1.6.3
+ pkgrel = 2
+ url = https://sourceforge.net/projects/joy2key/
+ arch = x86_64
+ arch = i686
+ license = GPL2
+ depends = libx11
+ depends = xorg-xwininfo
+ source = http://sourceforge.net/projects/joy2key/files/joy2key/1.6.3/joy2key-1.6.3.tar.bz2
+ sha256sums = cf6f452632bb661cf889d843e9ebb9f4fe6ddf4bfe14193ebf74c2d1e2b89f50
+
+pkgname = joy2key
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bff0c954be7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Timur Antipin < kosmocap (at) gmail.com >
+
+pkgname=joy2key
+pkgver=1.6.3
+pkgrel=2
+pkgdesc='Translate joystick movements into keystrokes'
+arch=('x86_64' 'i686')
+url='https://sourceforge.net/projects/joy2key/'
+license=('GPL2')
+depends=('libx11' 'xorg-xwininfo')
+source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
+sha256sums=('cf6f452632bb661cf889d843e9ebb9f4fe6ddf4bfe14193ebf74c2d1e2b89f50')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr -x-libraries=/usr/lib
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: