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

David Runge dvzrv at archlinux.org
Sun Jun 23 20:06:17 UTC 2019


    Date: Sunday, June 23, 2019 @ 20:06:17
  Author: dvzrv
Revision: 483322

archrelease: copy trunk to community-x86_64

Added:
  zita-dc1/repos/community-x86_64/
  zita-dc1/repos/community-x86_64/PKGBUILD
    (from rev 483321, zita-dc1/trunk/PKGBUILD)

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

Copied: zita-dc1/repos/community-x86_64/PKGBUILD (from rev 483321, zita-dc1/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-06-23 20:06:17 UTC (rev 483322)
@@ -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