summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/xdotool/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/core/xdotool/PKGBUILD b/abs/core/xdotool/PKGBUILD
index 0ce58a3..f8f1236 100644
--- a/abs/core/xdotool/PKGBUILD
+++ b/abs/core/xdotool/PKGBUILD
@@ -1,26 +1,32 @@
-# $Id: PKGBUILD 48265 2011-05-30 19:01:31Z foutrelis $
-# Maintainer: Evangelos Foutras <foutrelis@gmail.com>
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Rttommy <rttommy@gmail.com>
pkgname=xdotool
-pkgver=2.20110530.1
+pkgver=3.20160805.1
pkgrel=1
pkgdesc="Command-line X11 automation tool"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://www.semicomplete.com/projects/xdotool/"
license=('BSD')
-depends=('libxtst' 'libxinerama')
-source=(http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz)
-sha1sums=('bf8372b2e76e8ee3884763cee6e8b3f66bf29aa6')
+depends=('libxtst' 'libxinerama' 'libxkbcommon')
+source=(https://github.com/jordansissel/xdotool/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('35be5ff6edf0c620a0e16f09ea5e101d5173280161772fca18657d83f20fcca8')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ make WITHOUT_RPATH_FIX=1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
- make
make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" install
- # License
- install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/xdotool/COPYRIGHT"
+ # Remove execute bit from header file
+ chmod -x "$pkgdir/usr/include/xdo.h"
+
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
}
# vim:set ts=2 sw=2 et: