[arch-commits] Commit in zita-dc1/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 15:57:00 UTC 2020
Date: Tuesday, July 7, 2020 @ 15:56:59
Author: felixonmars
Revision: 659041
archrelease: copy trunk to community-staging-x86_64
Added:
zita-dc1/repos/community-staging-x86_64/
zita-dc1/repos/community-staging-x86_64/PKGBUILD
(from rev 659040, zita-dc1/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: zita-dc1/repos/community-staging-x86_64/PKGBUILD (from rev 659040, zita-dc1/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 15:56:59 UTC (rev 659041)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=zita-dc1
+pkgver=0.3.3
+pkgrel=2
+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