diff options
author | root <root@rshg054.dnsready.net> | 2012-07-25 00:01:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-25 00:01:50 +0000 |
commit | 3083719ddb24bbb452e7ddba34bec067ea249056 (patch) | |
tree | a58a0e0514c39ae78d2647423b3d54a9ab411bbb /community/easystroke | |
parent | 7edfd82786e7d1efd8d39d2e5bbcaddeb2d665e1 (diff) |
Wed Jul 25 00:01:50 UTC 2012
Diffstat (limited to 'community/easystroke')
-rw-r--r-- | community/easystroke/PKGBUILD | 31 | ||||
-rw-r--r-- | community/easystroke/easystroke.install | 13 |
2 files changed, 44 insertions, 0 deletions
diff --git a/community/easystroke/PKGBUILD b/community/easystroke/PKGBUILD new file mode 100644 index 000000000..e07fc5c7d --- /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.5.5.1 +pkgrel=2 +pkgdesc='Use mouse gestures to initiate commands and hotkeys.' +arch=('i686' 'x86_64') +url='http://easystroke.sourceforge.net/' +license=('custom:ISC') +depends=('gtkmm' 'boost' 'libxtst' 'dbus-glib' 'xorg-server') +makedepends=('inputproto' 'intltool' 'gettext' 'xorg-server-devel' 'help2man') +install=easystroke.install +source=("http://downloads.sourceforge.net/easystroke/${pkgname}-${pkgver}.tar.gz") +md5sums=('ba989d1745415be94afd567e33d124bb') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make + make man +} + +package() { + cd "${srcdir}/${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 +} |