[arch-commits] Commit in xkeycaps (repos/community-x86_64/PKGBUILD trunk/PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Dec 27 00:25:19 UTC 2017


    Date: Wednesday, December 27, 2017 @ 00:25:18
  Author: eschwartz
Revision: 276177

Sources fail to download with "403 Bots Forbidden", rather user unfriendly but eh.

Easy enough to fix using a custom DLAGENTS with --user-agent "anything", I
don't see what a very short blacklist was supposed to do.

Modified:
  xkeycaps/repos/community-x86_64/PKGBUILD
  xkeycaps/trunk/PKGBUILD

---------------------------------+
 repos/community-x86_64/PKGBUILD |   19 ++++++++++---------
 trunk/PKGBUILD                  |    5 +++--
 2 files changed, 13 insertions(+), 11 deletions(-)

Modified: repos/community-x86_64/PKGBUILD
===================================================================
--- repos/community-x86_64/PKGBUILD	2017-12-26 23:12:02 UTC (rev 276176)
+++ repos/community-x86_64/PKGBUILD	2017-12-27 00:25:18 UTC (rev 276177)
@@ -6,27 +6,28 @@
 pkgname=xkeycaps
 pkgver=2.46
 pkgrel=7
-arch=('i686' 'x86_64')
+arch=('x86_64')
 pkgdesc="XKeyCaps is a graphical front-end to xmodmap."
 url="http://www.jwz.org/xkeycaps/"
 license=('custom')
 depends=('libxaw')
 makedepends=('imake' 'xbitmaps')
-source=(http://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.Z
+source=(https://www.jwz.org/$pkgname/$pkgname-$pkgver.tar.Z
 	license.txt)
-md5sums=('6792f828db6538f44f7696a8783b44ac'
-         '6d44b50641d2e7898aebcc668d204751')
+sha256sums=('40da137109e0ef0b687a72b71a1ef0b3d08a10749fdda05fc16c52b4cbed763e'
+            '5cb75d666cab06c0e107dd057847fe9df0ef5483b532d32c5cc4b9bec8886671')
+DLAGENTS=('https::/usr/bin/curl --user-agent Mozilla\ Firefox -fLC - --retry 3 --retry-delay 3 -o %o %u')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd "$srcdir"/$pkgname-$pkgver
   xmkmf
   make MANPATH=/usr/share/man
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-  make DESTDIR=$pkgdir MANPATH=/usr/share/man install.man
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" MANPATH=/usr/share/man install.man
   install -Dm644 ../license.txt \
-    $pkgdir/usr/share/licenses/$pkgname/license.txt
+    "$pkgdir"/usr/share/licenses/$pkgname/license.txt
 }

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2017-12-26 23:12:02 UTC (rev 276176)
+++ trunk/PKGBUILD	2017-12-27 00:25:18 UTC (rev 276177)
@@ -7,8 +7,8 @@
 pkgver=2.46
 pkgrel=7
 arch=('x86_64')
-pkgdesc="XKeyCaps is a graphical front-end to xmodmap."
-url="http://www.jwz.org/xkeycaps/"
+pkgdesc='A graphical front-end to xmodmap'
+url="https://www.jwz.org/xkeycaps/"
 license=('custom')
 depends=('libxaw')
 makedepends=('imake' 'xbitmaps')
@@ -16,6 +16,7 @@
 	license.txt)
 sha256sums=('40da137109e0ef0b687a72b71a1ef0b3d08a10749fdda05fc16c52b4cbed763e'
             '5cb75d666cab06c0e107dd057847fe9df0ef5483b532d32c5cc4b9bec8886671')
+DLAGENTS=('https::/usr/bin/curl --user-agent Mozilla\ Firefox -fLC - --retry 3 --retry-delay 3 -o %o %u')
 
 build() {
   cd "$srcdir"/$pkgname-$pkgver



More information about the arch-commits mailing list