[arch-commits] Commit in japa/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:13:29 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:13:28
  Author: felixonmars
Revision: 658764

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: japa/repos/community-staging-x86_64/PKGBUILD (from rev 658763, japa/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 14:13:28 UTC (rev 658764)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=japa
+pkgver=0.9.2
+pkgrel=2
+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' 'zita-alsa-pcmi')
+makedepends=('gendesk')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('5930488ced374aca7c16ba6243145d941af4dd67f14e2eb94fc5014cf89ca12814a4445812fd1a36b0877d2063ed612044c7e584ecc11c3bb9a35f0ffbd682f8')
+
+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
+}
+
+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