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

David Runge dvzrv at archlinux.org
Mon Aug 20 19:31:58 UTC 2018


    Date: Monday, August 20, 2018 @ 19:31:57
  Author: dvzrv
Revision: 372895

archrelease: copy trunk to community-x86_64

Added:
  japa/repos/community-x86_64/
  japa/repos/community-x86_64/PKGBUILD
    (from rev 372894, japa/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: japa/repos/community-x86_64/PKGBUILD (from rev 372894, japa/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-08-20 19:31:57 UTC (rev 372895)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=japa
+pkgver=0.8.4
+pkgrel=3
+pkgdesc="A 'perceptual' or 'psychoacoustic' audio spectrum analyser"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/index.html"
+license=('GPL2')
+groups=('pro-audio')
+depends=('clxclient' 'clthreads' 'fftw' 'jack')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('d81652153e88394c81cc257af59b554718d3476c48062cfa7e246627171dc92842f6524a06ab8151220d4dae9d94a386f2d90efb1d238bbbc522988dfeaad32a')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # disable optimizations
+  sed -e '/native/d' -i source/Makefile
+  # XDG desktop file
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name JAPA \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver/source"
+  make PREFIX='/usr'
+}
+
+package() {
+  cd "$pkgname-$pkgver/source"
+  make PREFIX='/usr' DESTDIR="$pkgdir/" install
+  install -vDm 644 ../{AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # xdg desktop file
+  install -vDm 644 ../${pkgname}.desktop \
+    -t "${pkgdir}/usr/share/applications"
+}



More information about the arch-commits mailing list