[arch-commits] Commit in aliki/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Aug 22 18:43:07 UTC 2018


    Date: Wednesday, August 22, 2018 @ 18:43:06
  Author: dvzrv
Revision: 373295

upgpkg: aliki 0.3.0-2

Adding xdg desktop file. Minor fixes.

Modified:
  aliki/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 18:35:08 UTC (rev 373294)
+++ PKGBUILD	2018-08-22 18:43:06 UTC (rev 373295)
@@ -2,7 +2,7 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=aliki
 pkgver=0.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Measure Impulse Responses using a sine sweep and deconvolution"
 arch=('x86_64')
 url="https://kokkinizita.linuxaudio.org/linuxaudio/"
@@ -9,6 +9,7 @@
 license=('GPL2')
 groups=('pro-audio')
 depends=('clthreads' 'clxclient' 'fftw' 'jack' 'libsndfile' 'zita-alsa-pcmi')
+makedepends=('gendesk')
 source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
 sha512sums=('4ffb8287b1e0266d0d967d9cffae8f6438b0602e90b2c1cabdbaddf34b959e025d5cc247856642ebbebcaaa1314606b7f58d73b9e616ffcb54280f86f3788596')
 
@@ -16,6 +17,12 @@
   cd "$pkgname-$pkgver"
 # remove optimization
   sed -e '/march=native/d' -i source/Makefile
+  # XDG desktop files
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name aliki \
+          --categories "AudioVideo;Audio"
 }
 
 build() {
@@ -27,6 +34,9 @@
   cd "$pkgname-$pkgver/source"
   # installing by hand because the Makefile install target is broken
   install -vDm 755 ${pkgname}{,-rt} -t "${pkgdir}/usr/bin/"
+  # XDG desktop integration
+  install -vDm 644 "../${pkgname}.desktop" \
+    -t "${pkgdir}/usr/share/applications/"
   # docs
   install -vDm 644 ../{AUTHORS,README,doc/${pkgname}-manual.pdf} \
     -t "${pkgdir}/usr/share/doc/${pkgname}/"



More information about the arch-commits mailing list