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

David Runge dvzrv at archlinux.org
Wed Aug 22 18:24:33 UTC 2018


    Date: Wednesday, August 22, 2018 @ 18:24:33
  Author: dvzrv
Revision: 373292

archrelease: copy trunk to community-x86_64

Added:
  zita-mu1/repos/community-x86_64/PKGBUILD
    (from rev 373291, zita-mu1/trunk/PKGBUILD)
Deleted:
  zita-mu1/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 51 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 18:24:26 UTC (rev 373291)
+++ PKGBUILD	2018-08-22 18:24:33 UTC (rev 373292)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=zita-mu1
-pkgver=0.2.2
-pkgrel=5
-pkgdesc="A simple JACK app used to organise stereo monitoring"
-arch=('x86_64')
-url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-mu1-doc/quickguide.html"
-license=('GPL3')
-groups=('pro-audio')
-depends=('cairo' 'clxclient' 'clthreads' 'jack')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('72d3d21ad8c8e597ea54de3c91abfb5783a24dd2e2a316afd2875f761ce51b3e88a010f183b9e0880fffbc61d2ba4ec6ab23e2486fe90058caa4418fd70c21e9')
-
-prepare() {
-  cd "${pkgname}-${pkgver}/source"
-  # strip march=native
-  sed -i '/native/d' Makefile
-  # fix png install dir
-  sed -e 's/png\ \$(DESTDIR)\$(SHARED)/png\ -t\ \$(DESTDIR)\$(SHARED)/' -i Makefile
-  # fix binary install
-  sed -e 's|zita-mu1 $(DESTDIR)$(BINDIR)|zita-mu1 $(DESTDIR)$(BINDIR)/$(PROGRAM)|' -i Makefile
-}
-
-build() {
-  cd "${pkgname}-${pkgver}/source"
-  make PREFIX=/usr
-}
-
-package() {
-  cd "${pkgname}-${pkgver}/source"
-  make PREFIX=/usr DESTDIR="$pkgdir" install
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm644 ../{AUTHORS,README}
-  # html
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
-    -vDm644 ../doc/html/*
-}
-# vim:set ts=2 sw=2 et:

Copied: zita-mu1/repos/community-x86_64/PKGBUILD (from rev 373291, zita-mu1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-22 18:24:33 UTC (rev 373292)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=zita-mu1
+pkgver=0.2.2
+pkgrel=6
+pkgdesc="A simple JACK app used to organise stereo monitoring"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-mu1-doc/quickguide.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=('72d3d21ad8c8e597ea54de3c91abfb5783a24dd2e2a316afd2875f761ce51b3e88a010f183b9e0880fffbc61d2ba4ec6ab23e2486fe90058caa4418fd70c21e9')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # strip march=native
+  # fix png install dir
+  # fix binary install
+  sed -e '/native/d' \
+      -e 's/png\ \$(DESTDIR)\$(SHARED)/png\ -t\ \$(DESTDIR)\$(SHARED)/' \
+      -e 's|zita-mu1 $(DESTDIR)$(BINDIR)|zita-mu1 $(DESTDIR)$(BINDIR)/$(PROGRAM)|' \
+      -i source/Makefile
+  # XDG desktop file
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name zita-mu1 \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/source"
+  make PREFIX=/usr
+}
+
+package() {
+  cd "${pkgname}-${pkgver}/source"
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm644 ../{AUTHORS,README}
+  # XDG desktop integration
+  install -vDm 644 "../${pkgname}.desktop" \
+    -t "${pkgdir}/usr/share/applications/"
+  # html
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
+    -vDm644 ../doc/html/*
+}
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list