summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik2015-06-15 18:59:44 +0200
committerMikkel Oscar Lyderik2015-06-15 18:59:44 +0200
commit147c50d8f6352cc09fb7c4d3214bd611d41c82b5 (patch)
tree08914bdc3a5b693200bcb1574dbe670a62c04a63
downloadaur-147c50d8f6352cc09fb7c4d3214bd611d41c82b5.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8762b0e16ce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = reactivision
+ pkgdesc = A toolkit for tangible multi-touch surfaces
+ pkgver = 1.5
+ pkgrel = 2
+ url = http://reactivision.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libdc1394
+ depends = sdl2
+ source = http://downloads.sourceforge.net/reactivision/reacTIVision-1.5-src.zip
+ md5sums = 5480848dae6bc9e098da5f8e22b0c500
+
+pkgname = reactivision
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eddd3e5d61f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mikkel Oscar Lyderik <mikkeloscar at gmail dot com>
+
+_realname=reacTIVision
+pkgname=reactivision
+pkgver=1.5
+pkgrel=2
+pkgdesc="A toolkit for tangible multi-touch surfaces"
+arch=('i686' 'x86_64')
+url="http://reactivision.sourceforge.net/"
+license=('GPL')
+depends=('libdc1394' 'sdl2')
+_srcname="${_realname}-${pkgver}-src"
+source=("http://downloads.sourceforge.net/${pkgname}/${_srcname}.zip")
+md5sums=('5480848dae6bc9e098da5f8e22b0c500')
+
+build() {
+ cd "${srcdir}/${_srcname}/linux"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_srcname}/linux"
+ make DESTDIR="${pkgdir}/usr/" install
+
+ # move binary to /usr/bin
+ install -d "${pkgdir}/usr/bin"
+ mv "${pkgdir}/usr/${_realname}" "${pkgdir}/usr/bin/"
+}