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

David Runge dvzrv at gemini.archlinux.org
Tue Mar 15 17:21:13 UTC 2022


    Date: Tuesday, March 15, 2022 @ 17:21:13
  Author: dvzrv
Revision: 439715

upgpkg: libopenmpt 0.6.2-1: Upgrade to 0.6.2.

Add debug package.
Remove unneeded quotes and curly braces.

Modified:
  libopenmpt/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-15 17:17:30 UTC (rev 439714)
+++ PKGBUILD	2022-03-15 17:21:13 UTC (rev 439715)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=libopenmpt
-pkgver=0.6.1
+pkgver=0.6.2
 pkgrel=1
 pkgdesc="A library to render tracker music to a PCM audio stream"
 arch=(x86_64)
@@ -22,19 +22,18 @@
 # TODO: remove provides/replaces on openmpt123 after 2022-05-01
 provides=(libopenmpt.so openmpt123)
 replaces=(openmpt123)
-source=(
-  "$pkgname-$pkgver.tar.gz::https://lib.openmpt.org/files/libopenmpt/src/${pkgname}-${pkgver}+release.autotools.tar.gz"
-)
-sha512sums=('b43124746fc7c8bdbcfcf24c5cff1cd8330cab664fd1641ac7a35416ed25bb80c74f31db74085c13f4beb9774c17c12a4486c8c5e976f3fbb70a27c236c0f4fb')
-b2sums=('222e71f0cc1343ff76c9ffc295664c52db74906b20a9c7cdd7d7e7d05a4795a2cda1d0de265f0e1b2dabc1bfb6757342046117222b5d035f633ae9da7e7d2301')
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://lib.openmpt.org/files/libopenmpt/src/$pkgname-$pkgver+release.autotools.tar.gz)
+sha512sums=('a4bbf804d4be72d11216173371ab81703877071cf15e2daaaf59b0eb892d5948072af00bd1ec8c097c23bb3f77bc2c0be6cf853dcf3c7c24aa6109a9f74d0948')
+b2sums=('38e8d24352cce92b38ddf8e1f33af7fb72571b88b8f4cbddff626affe2f00bdb73635872d502417e37c68aa0f2254338088bb493b47c688a22d342b3ba54f725')
 
 prepare() {
-  cd "$pkgname-$pkgver+release.autotools"
+  cd $pkgname-$pkgver+release.autotools
   autoreconf -fiv
 }
 
 build() {
-  cd "$pkgname-$pkgver+release.autotools"
+  cd $pkgname-$pkgver+release.autotools
   ./configure --prefix=/usr
   # prevent excessive overlinking due to libtool
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -42,11 +41,11 @@
 }
 
 check() {
-  make -k check -C "$pkgname-$pkgver+release.autotools"
+  make -k check -C $pkgname-$pkgver+release.autotools
 }
 
 package() {
-  cd "$pkgname-$pkgver+release.autotools"
+  cd $pkgname-$pkgver+release.autotools
   make DESTDIR="$pkgdir/" install
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
 }



More information about the arch-commits mailing list