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

David Runge dvzrv at archlinux.org
Wed Aug 22 18:35:01 UTC 2018


    Date: Wednesday, August 22, 2018 @ 18:35:01
  Author: dvzrv
Revision: 373293

upgpkg: paulstretch 2.2.2-2

Adding xdg desktop file. Minor fixes.

Modified:
  paulstretch/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 18:24:33 UTC (rev 373292)
+++ PKGBUILD	2018-08-22 18:35:01 UTC (rev 373293)
@@ -3,18 +3,26 @@
 _pkgver=2.2-2
 pkgname=paulstretch
 pkgver=${_pkgver//-/.}
-pkgrel=1
-pkgdesc="An experimental program for extreme stretching audio"
+pkgrel=2
+pkgdesc="An experimental program for extreme audio stretching"
 arch=('x86_64')
 url="http://hypermammut.sourceforge.net/paulstretch/"
 license=('GPL2')
 groups=('pro-audio')
 depends=('audiofile' 'fftw' 'fltk' 'libvorbis' 'libmad' 'mxml' 'portaudio')
+makedepends=('gendesk')
 source=("https://sourceforge.net/projects/hypermammut/files/${pkgname}/${_pkgver//-*/}/${pkgname}-${_pkgver}.tar.bz2")
 sha512sums=('cb076edc8ffcaae651220345b7205b8317cc8eed175c2a88992e8e27e2173b42272da4267dbd5054a2fc01eec7c104e816369eee86b39d746bf9eab3d7f55bc6')
 
 prepare() {
   mv -v "$pkgname-${_pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # XDG desktop file
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name Paulstretch \
+          --categories "AudioVideo;Audio"
 }
 
 build() {
@@ -47,5 +55,7 @@
   cd "$pkgname-$pkgver"
   install -vDm 755 ${pkgname} -t "${pkgdir}/usr/bin/"
   install -vDm 644 readme.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # XDG desktop integration
+  install -vDm 644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
 
 }



More information about the arch-commits mailing list