[arch-commits] Commit in xdotool/trunk (PKGBUILD libxdo.pc-3.20210804.1)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Aug 4 15:38:47 UTC 2021


    Date: Wednesday, August 4, 2021 @ 15:38:46
  Author: foutrelis
Revision: 993669

upgpkg: xdotool 3.20210804.1-1: new upstream release

Added:
  xdotool/trunk/libxdo.pc-3.20210804.1
Modified:
  xdotool/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   28 ++++++++++++++++------------
 libxdo.pc-3.20210804.1 |    9 +++++++++
 2 files changed, 25 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-04 15:32:44 UTC (rev 993668)
+++ PKGBUILD	2021-08-04 15:38:46 UTC (rev 993669)
@@ -2,30 +2,34 @@
 # Contributor: Rttommy <rttommy at gmail.com>
 
 pkgname=xdotool
-pkgver=3.20160805.1
-pkgrel=3
+pkgver=3.20210804.1
+pkgrel=1
 pkgdesc="Command-line X11 automation tool"
 arch=('x86_64')
 url="https://www.semicomplete.com/projects/xdotool/"
 license=('BSD')
 depends=('libxtst' 'libxinerama' 'libxkbcommon')
-source=(https://github.com/jordansissel/xdotool/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('35be5ff6edf0c620a0e16f09ea5e101d5173280161772fca18657d83f20fcca8')
+source=(https://github.com/jordansissel/xdotool/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+        libxdo.pc-$pkgver)
+sha256sums=('0dbdfc662c981c2cac31fa8c23d1aa680f1726c50511509ce98396b27a030201'
+            'b79715999168c68abffa2cb554caf62821fe7d40cc4ef3ceca83cfeb56ce8776')
 
+prepare() {
+  cd $pkgname-$pkgver
+
+  # https://github.com/jordansissel/xdotool/pull/345
+  mv ../libxdo.pc-$pkgver libxdo.pc
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make WITHOUT_RPATH_FIX=1
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd $pkgname-$pkgver
   make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" install
-
-  # Remove execute bit from header file
-  chmod -x "$pkgdir/usr/include/xdo.h"
-
-  install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+  install -Dm644 COPYRIGHT -t "$pkgdir/usr/share/licenses/$pkgname"
 }
 
 # vim:set ts=2 sw=2 et:

Added: libxdo.pc-3.20210804.1
===================================================================
--- libxdo.pc-3.20210804.1	                        (rev 0)
+++ libxdo.pc-3.20210804.1	2021-08-04 15:38:46 UTC (rev 993669)
@@ -0,0 +1,9 @@
+libdir=/usr/local/lib
+includedir=/usr/local/include
+
+Name: libxdo
+Description: fake keyboard/mouse input, window management, and more
+Version: 3.20210804.1
+Requires: x11
+Libs: -L${libdir} -lxdo
+Cflags: -I${includedir}



More information about the arch-commits mailing list