[arch-commits] Commit in (4 files)

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


    Date: Sunday, June 23, 2019 @ 20:04:59
  Author: dvzrv
Revision: 483321

Adding zita-dc1.

Added:
  zita-dc1/
  zita-dc1/repos/
  zita-dc1/trunk/
  zita-dc1/trunk/PKGBUILD

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

Added: zita-dc1/trunk/PKGBUILD
===================================================================
--- zita-dc1/trunk/PKGBUILD	                        (rev 0)
+++ zita-dc1/trunk/PKGBUILD	2019-06-23 20:04:59 UTC (rev 483321)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=zita-dc1
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="Dynamics Compressor"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html"
+license=('GPL3')
+groups=('pro-audio')
+depends=('cairo' 'clxclient' 'clthreads' 'jack')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('044a32b2ba6f9971397a3014da4f0588f04c7971d76a099d49f711226a1bb45de61f53ed1d417a5feee6acaabbe81a6254b6d50b884501cb9b96e83401ea5b1d')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # strip march=native
+  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 -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list