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

David Runge dvzrv at archlinux.org
Sun Jun 23 20:34:05 UTC 2019


    Date: Sunday, June 23, 2019 @ 20:34:04
  Author: dvzrv
Revision: 483326

archrelease: copy trunk to community-x86_64

Added:
  ebumeter/repos/community-x86_64/
  ebumeter/repos/community-x86_64/PKGBUILD
    (from rev 483325, ebumeter/trunk/PKGBUILD)

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

Copied: ebumeter/repos/community-x86_64/PKGBUILD (from rev 483325, ebumeter/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-06-23 20:34:04 UTC (rev 483326)
@@ -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