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

David Runge dvzrv at gemini.archlinux.org
Sat Apr 23 08:16:21 UTC 2022


    Date: Saturday, April 23, 2022 @ 08:16:20
  Author: dvzrv
Revision: 1187500

upgpkg: snd 22.3-1: Upgrade to 22.3.

Simplify calls to make.

Modified:
  snd/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 08:16:10 UTC (rev 1187499)
+++ PKGBUILD	2022-04-23 08:16:20 UTC (rev 1187500)
@@ -3,7 +3,7 @@
 # Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=snd
-pkgver=22.2
+pkgver=22.3
 pkgrel=1
 pkgdesc="An advanced sound editor"
 arch=(x86_64)
@@ -26,9 +26,9 @@
   'wavpack: For wav support'
 )
 options=(debug)
-source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('3c4550a0cb8b6ba92a95a1cdf94c6ede194ef110fe94c36e947a58916156ae70cd8f0112724b1655b082c934392bbc8eab363e3c3fc9cc465bd625bd6e7fe08a')
-b2sums=('455bf2ba4f9168773cf21fbe872694d0fb7598b03f982aa9caf487981dab5cb651ee622af8771b420e6b8f78ee4de7e4e5bd1379764857629a2a442de45c444d')
+source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('548f9cf3be2df28e66f51709b6ee078f951e4d8bbaf140a4e7b4b92bbe5f5d93a2343fe9857654efb09662ec5d063113db0204d6d4052f98c4d11e5fddc2c08c')
+b2sums=('eba03468e1512daa4ae33a56ad13ec76b7cf90e6a8e3822453bff1ad99b03fb0f0d12f94b29afe9697b6fe9a34fd2e00759c158cb413416ef4814d31a1c969a8')
 
 prepare() {
   gendesk -f -n \
@@ -85,14 +85,10 @@
 package() {
   depends+=(libasound.so libfftw3.so libjack.so libsamplerate.so)
 
-  (
-  cd $pkgname-$pkgver
-  make prefix="$pkgdir/usr" install
+  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
   mv -v "$pkgdir/usr/bin/snd"{,-s7}
-  )
 
-  cd "$pkgname-ruby-$pkgver"
-  make prefix="$pkgdir/usr" install
+  make DESTDIR="$pkgdir" install -C $pkgname-ruby-$pkgver
   mv -v "$pkgdir/usr/bin/snd"{,-ruby}
 
   # set s7 version as default
@@ -99,13 +95,13 @@
   ln -sv snd-s7 "$pkgdir/usr/bin/snd"
 
   # XDG desktop integration
-  install -vDm 644 ../*.desktop -t "$pkgdir/usr/share/applications/"
+  install -vDm 644 *.desktop -t "$pkgdir/usr/share/applications/"
   # license
-  install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+  install -vDm 644 $pkgname-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
   # docs
-  install -vDm 644 {{HISTORY,README}.Snd,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
-  install -vDm 644 *.html -t "$pkgdir/usr/share/doc/$pkgname/html"
-  install -vDm 644 pix/*.png -t "$pkgdir/usr/share/doc/$pkgname/html/pix"
+  install -vDm 644 $pkgname-$pkgver/{{HISTORY,README}.Snd,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
+  install -vDm 644 $pkgname-$pkgver/*.html -t "$pkgdir/usr/share/doc/$pkgname/html"
+  install -vDm 644 $pkgname-$pkgver/pix/*.png -t "$pkgdir/usr/share/doc/$pkgname/html/pix"
 
   # remove examples of unsupported extension language forth (not in the repos)
   rm -v "$pkgdir/usr/share/$pkgname/"*.fs



More information about the arch-commits mailing list