[arch-commits] Commit in zita-at1/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Aug 22 16:05:38 UTC 2018
Date: Wednesday, August 22, 2018 @ 16:05:37
Author: dvzrv
Revision: 373282
archrelease: copy trunk to community-x86_64
Added:
zita-at1/repos/community-x86_64/PKGBUILD
(from rev 373281, zita-at1/trunk/PKGBUILD)
Deleted:
zita-at1/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 45 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-22 16:05:30 UTC (rev 373281)
+++ PKGBUILD 2018-08-22 16:05:37 UTC (rev 373282)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=zita-at1
-pkgver=0.6.0
-pkgrel=6
-pkgdesc="An 'autotuner' Jack application."
-arch=('x86_64')
-url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-at1-doc/quickguide.html"
-license=('GPL2')
-groups=('pro-audio')
-depends=('cairo' 'clxclient' 'clthreads' 'fftw' 'jack' 'zita-resampler')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('835bc336c35c9364753f1adaca9569852ed9eabdff20d618acc128735dafd383dfcb9a8b8c9f631f7bc6fe549dae3af9c5508ad378ed85169406855d37b4608d')
-
-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 PREFIX=/usr DESTDIR="$pkgdir/" install
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 ../{AUTHORS,README} \
- -vDm 644 ../doc/*
-}
-# vim:set ts=2 sw=2 et:
Copied: zita-at1/repos/community-x86_64/PKGBUILD (from rev 373281, zita-at1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-22 16:05:37 UTC (rev 373282)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=zita-at1
+pkgver=0.6.0
+pkgrel=7
+pkgdesc="An 'autotuner' Jack application."
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-at1-doc/quickguide.html"
+license=('GPL2')
+groups=('pro-audio')
+depends=('cairo' 'clxclient' 'clthreads' 'fftw' 'jack' 'zita-resampler')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('835bc336c35c9364753f1adaca9569852ed9eabdff20d618acc128735dafd383dfcb9a8b8c9f631f7bc6fe549dae3af9c5508ad378ed85169406855d37b4608d')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # strip march=native
+ sed -e '/native/d' \
+ -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
+ -i source/Makefile
+ # XDG desktop file
+ gendesk -n \
+ --pkgname ${pkgname} \
+ --pkgdesc "${pkgdesc}" \
+ --name zita-at1 \
+ --categories "AudioVideo;Audio"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/source"
+ make PREFIX=/usr DESTDIR="$pkgdir/" install
+ # XDG desktop integration
+ install -vDm 644 "../${pkgname}.desktop" \
+ -t "${pkgdir}/usr/share/applications/"
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 ../{AUTHORS,README} \
+ -vDm 644 ../doc/*
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list