summaryrefslogtreecommitdiff
path: root/pcr/evrouter/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/evrouter/PKGBUILD')
-rw-r--r--pcr/evrouter/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/evrouter/PKGBUILD b/pcr/evrouter/PKGBUILD
new file mode 100644
index 000000000..750ad8d77
--- /dev/null
+++ b/pcr/evrouter/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: Jonathan Liu <net147@gmail.com>
+
+pkgname=evrouter
+pkgver=0.4
+pkgrel=2
+pkgdesc="An Input Event Router for Linux"
+arch=('i686' 'x86_64')
+url="http://www.bedroomlan.org/~alexios/coding_evrouter.html"
+license=('GPL2')
+depends=('libxtst')
+makedepends=('automake>=1.10.1')
+source=(http://debian.bedroomlan.org/debian/pool/main/e/${pkgname}/${pkgname}_${pkgver}.tar.gz)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ aclocal
+ automake --add-missing
+ ./configure --prefix=/usr --without-xmms
+ make || return 1
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+ install -D -m644 debian/changelog "${pkgdir}/usr/share/doc/${pkgname}/changelog"
+ install -D -m644 debian/copyright "${pkgdir}/usr/share/doc/${pkgname}/copyright"
+ install -D -m755 src/example "${pkgdir}/usr/share/doc/${pkgname}/examples/example"
+}
+
+# vim:set ts=2 sw=2 et: