[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Sun Jun 23 20:30:38 UTC 2019


    Date: Sunday, June 23, 2019 @ 20:30:37
  Author: dvzrv
Revision: 483325

Adding ebumeter from the AUR.

Added:
  ebumeter/
  ebumeter/repos/
  ebumeter/trunk/
  ebumeter/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Added: ebumeter/trunk/PKGBUILD
===================================================================
--- ebumeter/trunk/PKGBUILD	                        (rev 0)
+++ ebumeter/trunk/PKGBUILD	2019-06-23 20:30:37 UTC (rev 483325)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=ebumeter
+pkgver=0.4.2
+pkgrel=3
+pkgdesc="Loudness measurement according to EBU-R128"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/ebumeter-doc/quickguide.html"
+license=('GPL3')
+groups=('pro-audio')
+depends=('clxclient' 'clthreads' 'jack' 'zita-resampler')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/ebumeter-${pkgver}.tar.bz2")
+sha512sums=('5fdbac7afa5e78678384a8b8733f421381f310350e8712232684e0f36a09a41d843541bbf2a08b676025edfc494b6958ab7965e6ea670f8e19744b25c6a4f7d6')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  sed -e '/native/d' \
+      -i source/Makefile
+  # XDG desktop file
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name ${pkgname} \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make -C source PREFIX=/usr
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make -C source PREFIX=/usr DESTDIR="$pkgdir/" install
+  # XDG desktop integration
+  install -vDm 644 "${pkgname}.desktop" \
+    -t "${pkgdir}/usr/share/applications/"
+  install -vDm 644 {AUTHORS,README,doc/*.pdf} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 doc/*.{html,png} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+}


More information about the arch-commits mailing list