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

David Runge dvzrv at archlinux.org
Sun Jun 20 18:58:11 UTC 2021


    Date: Sunday, June 20, 2021 @ 18:58:11
  Author: dvzrv
Revision: 966025

upgpkg: espeakup 0.90-1: Upgrade to 0.90.

The project has moved to new location with the help of the original author:
https://github.com/linux-speakup/espeakup
The project now requires espeak-ng and closes https://bugs.archlinux.org/task/65421
Upstream switched to meson.
Update maintainer info.

Modified:
  espeakup/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-20 18:51:29 UTC (rev 966024)
+++ PKGBUILD	2021-06-20 18:58:11 UTC (rev 966025)
@@ -1,34 +1,29 @@
-# Maintainer: Chris Brannon <chris at the-brannons.com>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Chris Brannon <chris at the-brannons.com>
 # Contributor: Kyle <kyle at gmx.ca>
 
 pkgname=espeakup
-pkgver=0.80
-pkgrel=3
-pkgdesc='Allows the Speakup screen review system to use the ESpeak synthesizer.'
+pkgver=0.90
+pkgrel=1
+pkgdesc="A light weight connector for espeak-ng and speakup"
 arch=('x86_64')
-url='https://github.com/williamh/espeakup'
+url="https://github.com/linux-speakup/espeakup"
 license=('GPL3')
-source=(https://github.com/williamh/espeakup/archive/v$pkgver.tar.gz
-        espeakup.service espeakup.modules-load.d)
-depends=('speakup-utils' 'espeak')
+depends=('glibc' 'espeak-ng')
+makedepends=('alsa-lib' 'meson' 'ruby-ronn-ng')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linux-speakup/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('0731835a04063c5eac8ed0ed37cd92cc5d2dd1c58cbd94e158b7dfbb7bc0e2f84a6484fffd9009bf2920652a36fb737044b2e1fb67fb1679ee7150855bc9a15e')
+b2sums=('f91a70bad0d985d313852b9e5f72dea4330ab23050ca6904ae5895d513088031f34d878cd64d97dcf2cf02dddc3e9fdabd0826cac98634829019ed3267e27bd8')
 
-prepare() {
-  cd $pkgname-$pkgver
-  sed -e 's|/usr/local|/usr|' -i Makefile
-}
-
 build() {
-  cd $pkgname-$pkgver
-  make
+  cd "$pkgname-$pkgver"
+  arch-meson build
+  ninja -C build
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="${pkgdir}" install 
-  install -m644 -D "${srcdir}/espeakup.service" "${pkgdir}/usr/lib/systemd/system/espeakup.service"
-  install -m644 -D "${srcdir}/espeakup.modules-load.d" "${pkgdir}/usr/lib/modules-load.d/espeakup.conf"
+  depends+=('libasound.so')
+  cd "$pkgname-$pkgver"
+  DESTDIR="${pkgdir}" meson install -C build
 }
 
-sha256sums=('4de284e30b6bdb0f9dee9c8ea02d13a3d20a61415b812338446b8b381e997ef4'
-            '0d17413611db3fc4d70e34e84c1e55e832d9eec29482ed7d8c3d737e4ba162b8'
-            '916abe0c03b843194705940ef062046809a68b51c5696f505d5444a73b45f214')



More information about the arch-commits mailing list