[arch-commits] Commit in speakup-utils/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Feb 18 22:42:32 UTC 2019


    Date: Monday, February 18, 2019 @ 22:42:31
  Author: dvzrv
Revision: 434312

upgpkg: speakup-utils 3.1.6-5

Adding maintainer. Switching to direct source. Simplifying installation of scripts and man pages. Adding README.

Modified:
  speakup-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-18 22:20:18 UTC (rev 434311)
+++ PKGBUILD	2019-02-18 22:42:31 UTC (rev 434312)
@@ -1,21 +1,22 @@
-# Maintainer: Chris Brannon <cmbrannon79 at gmail.com>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
 
+_name=speakup
 pkgname=speakup-utils
 pkgver=3.1.6
-pkgrel=4
+pkgrel=5
 pkgdesc='Tiny utilities for controlling the Speakup screenreader'
 arch=('any')
 url="http://linux-speakup.org/"
 depends=('sh')
 license=('GPL2')
-source=("ftp://mirrors.easynews.com/linux/ftp.linux-speakup.org/pub/speakup/speakup-$pkgver.tar.bz2")
-md5sums=('d5698267098f63ea166e06c0bd769a03')
+source=("ftp://linux-speakup.org/pub/${_name}/${_name}-${pkgver}.tar.bz2")
+sha512sums=('d591cddb8bf2e331463d556b19fbce0109a2b353a27aa90b130903ec431630fe7ed65e07cc76a6f42f2960791dc7993bce5d5e0c2d855a8ef1935afc4cdd967d')
 
 package() {
-  cd speakup-$pkgver/tools
-  install -D -m755 speakupconf "$pkgdir/usr/bin/speakupconf"
-  install -D -m755 talkwith "$pkgdir/usr/bin/talkwith"
-  cd ../man
-  install -D -m644 speakupconf.1 "$pkgdir/usr/share/man/man1/speakupconf.1"
-  install -D -m644 talkwith.1 "$pkgdir/usr/share/man/man1/talkwith.1"
+  cd "${_name}-$pkgver"
+  install -vDm 755 tools/{speakupconf,talkwith} -t "${pkgdir}/usr/bin/"
+  install -vDm 644 man/{speakupconf,talkwith}.1 \
+    -t "${pkgdir}/usr/share/man/man1/"
+  install -vDm 644 tools/README -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }



More information about the arch-commits mailing list