summaryrefslogtreecommitdiff
path: root/community/easystroke
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/easystroke
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/easystroke')
-rw-r--r--community/easystroke/PKGBUILD31
-rw-r--r--community/easystroke/easystroke.install13
2 files changed, 44 insertions, 0 deletions
diff --git a/community/easystroke/PKGBUILD b/community/easystroke/PKGBUILD
new file mode 100644
index 000000000..1a566a279
--- /dev/null
+++ b/community/easystroke/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Kevin Sullivan <ksullivan@archlinux.us>
+
+pkgname=easystroke
+pkgver=0.6.0
+pkgrel=3
+pkgdesc='Use mouse gestures to initiate commands and hotkeys.'
+arch=('i686' 'x86_64')
+url='http://easystroke.sourceforge.net/'
+license=('custom:ISC')
+depends=('gtkmm3' 'boost-libs' 'libxtst' 'dbus-glib' 'xorg-server')
+makedepends=('boost' 'inputproto' 'intltool' 'gettext' 'xorg-server-devel' 'help2man')
+install=easystroke.install
+source=("http://downloads.sourceforge.net/easystroke/${pkgname}-${pkgver}.tar.gz")
+md5sums=('3b4f25d02a6b5ac57a8b7a06545869db')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ make
+ make man
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+
+ install -Dm0644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
diff --git a/community/easystroke/easystroke.install b/community/easystroke/easystroke.install
new file mode 100644
index 000000000..a64ba07ee
--- /dev/null
+++ b/community/easystroke/easystroke.install
@@ -0,0 +1,13 @@
+pkgname=easystroke
+
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}