[arch-commits] Commit in zita-rev1/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Aug 22 15:12:30 UTC 2018
Date: Wednesday, August 22, 2018 @ 15:12:29
Author: dvzrv
Revision: 373263
archrelease: copy trunk to community-x86_64
Added:
zita-rev1/repos/community-x86_64/PKGBUILD
(from rev 373262, zita-rev1/trunk/PKGBUILD)
Deleted:
zita-rev1/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 45 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-22 15:12:20 UTC (rev 373262)
+++ PKGBUILD 2018-08-22 15:12:29 UTC (rev 373263)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=zita-rev1
-pkgver=0.2.1
-pkgrel=4
-pkgdesc="A reworked jack version of the reverb originally developed for Aeolus."
-arch=('x86_64')
-url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-rev1-doc/quickguide.html"
-license=('GPL2')
-groups=('pro-audio')
-depends=('cairo' 'clxclient' 'clthreads' 'jack')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('82d3106d9542c6ffff5b8249a3e9e0b3c210690e619e182c0521316d280d3cb4829e7ee624d577e09309ff5941bcc4a96113c50d4e40b886cc2f9eb11c43c3bd')
-
-prepare() {
- cd "${pkgname}-${pkgver}/source"
- # strip march=native
- sed -e '/native/d' \
- -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
- -i Makefile
-}
-
-build() {
- cd "${pkgname}-${pkgver}/source"
- make PREFIX=/usr
-}
-
-package() {
- cd "${pkgname}-${pkgver}/source"
- make DESTDIR="${pkgdir}/" PREFIX=/usr install
- # docs
- install -t "${pkgdir}/usr/share/doc/$pkgname" \
- -vDm 644 ../{AUTHORS,README,doc/*}
-}
-# vim:set ts=2 sw=2 et:
Copied: zita-rev1/repos/community-x86_64/PKGBUILD (from rev 373262, zita-rev1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-22 15:12:29 UTC (rev 373263)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=zita-rev1
+pkgver=0.2.1
+pkgrel=5
+pkgdesc="A reworked jack version of the reverb originally developed for Aeolus."
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-rev1-doc/quickguide.html"
+license=('GPL2')
+groups=('pro-audio')
+depends=('cairo' 'clxclient' 'clthreads' 'jack')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('82d3106d9542c6ffff5b8249a3e9e0b3c210690e619e182c0521316d280d3cb4829e7ee624d577e09309ff5941bcc4a96113c50d4e40b886cc2f9eb11c43c3bd')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # strip march=native
+ sed -e '/native/d' \
+ -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
+ -i source/Makefile
+ # XDG desktop files
+ gendesk -n \
+ --pkgname ${pkgname} \
+ --pkgdesc "${pkgdesc}" \
+ --name zita-rev1 \
+ --categories "AudioVideo;Audio"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/source"
+ make DESTDIR="${pkgdir}/" PREFIX=/usr install
+ # XDG desktop integration
+ install -vDm 644 "../${pkgname}.desktop" \
+ -t "${pkgdir}/usr/share/applications/"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/$pkgname" \
+ -vDm 644 ../{AUTHORS,README,doc/*}
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list