[arch-commits] Commit in zita-rev1/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Aug 22 15:12:20 UTC 2018
Date: Wednesday, August 22, 2018 @ 15:12:20
Author: dvzrv
Revision: 373262
upgpkg: zita-rev1 0.2.1-5
Adding xdg desktop file.
Modified:
zita-rev1/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-22 15:06:51 UTC (rev 373261)
+++ PKGBUILD 2018-08-22 15:12:20 UTC (rev 373262)
@@ -2,7 +2,7 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=zita-rev1
pkgver=0.2.1
-pkgrel=4
+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"
@@ -9,15 +9,22 @@
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}/source"
+ cd "${pkgname}-${pkgver}"
# strip march=native
sed -e '/native/d' \
-e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
- -i Makefile
+ -i source/Makefile
+ # XDG desktop files
+ gendesk -n \
+ --pkgname ${pkgname} \
+ --pkgdesc "${pkgdesc}" \
+ --name zita-rev1 \
+ --categories "AudioVideo;Audio"
}
build() {
@@ -28,6 +35,9 @@
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/*}
More information about the arch-commits
mailing list