summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMitch Bigelow2015-06-13 00:41:31 -0400
committerMitch Bigelow2015-06-13 00:41:31 -0400
commit98b61301fd26af6d9134c70bb5fcb6c4b7c6585e (patch)
tree857382a16561da5379863bde77481ea2a3a9b6ce /PKGBUILD
downloadaur-xautoclick.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0257bc08178
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Mitch Bigelow <ipha00@gmail.com>
+# Contributor: Ray Griffin <rorgoroth@gmail.com>
+# Contributor: Mariusz Kujawski <marinespl@gmail.com>
+# Contributor: Wes Brewer <brewerw@gmail.com>
+
+pkgname=xautoclick
+pkgver=0.31
+pkgrel=5
+pkgdesc="Automates repetitive mouse clicking to reduce RSI."
+arch=('i686' 'x86_64')
+url="http://xautoclick.sourceforge.net"
+license=('GPL')
+depends=('libxtst')
+optdepends=('gtk: for gtk based gui'
+ 'gtk2: for gtk2 based gui'
+ 'qt3: for qt3 based gui'
+ 'qt4: for qt4 based gui'
+ 'fltk: for fltk based gui')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('87f6446c084e19f1f7c23db5256ff224')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=${pkgdir}/usr
+
+ sed -i 's/LDFLAGS=/LDFLAGS=-lstdc++ /' config.mak
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+
+ install -d ${pkgdir}/usr/share
+ mv ${pkgdir}/usr/man ${pkgdir}/usr/share
+}