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

David Runge dvzrv at archlinux.org
Sat Oct 17 18:17:09 UTC 2020


    Date: Saturday, October 17, 2020 @ 18:17:09
  Author: dvzrv
Revision: 398533

upgpkg: alsa-utils 1.2.4-1: Upgrade to 1.2.4.

Switch to github project as upstream, as the main website does not provide latest tarballs.
Add all available sodeps in package() and the respective packages to makedepends.

Modified:
  alsa-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-17 18:06:26 UTC (rev 398532)
+++ PKGBUILD	2020-10-17 18:17:09 UTC (rev 398533)
@@ -3,8 +3,8 @@
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgname=alsa-utils
-pkgver=1.2.3
-pkgrel=2
+pkgver=1.2.4
+pkgrel=1
 pkgdesc="Advanced Linux Sound Architecture - Utilities"
 arch=('x86_64')
 url="https://www.alsa-project.org"
@@ -15,10 +15,15 @@
 optdepends=('fftw: for alsabat')
 # we require /var/lib/alsa for state file
 options=(emptydirs)
-source=("https://www.alsa-project.org/files/pub/utils/$pkgname-$pkgver.tar.bz2")
-sha512sums=('5aeba2e5b7279c62d4df85b61a26b3f41e5465bac5a0b94c7bbe1299f7aa38e8cf2a1f749f618289a63b61f76609fe54169fcbe70792b45adc8957811b672012')
-b2sums=('70037123de16d4d267fbe862acba31144e1f060cb01c294cf0691d9378e1f04b108c9f3a5e071979abe9b5c1c15a49facc9e0be73122caaf812047a514e4de4d')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alsa-project/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('af1135d84b5cf3446ec2a67859f969b12d20d89733eed4947b81b03a793f6288ec9ccf0341fdd63e5584aa0e68de8d35dc741059b43318f5356bfe86bcaa77fc')
+b2sums=('a1912128b21f2565283b7fd9450d9fa27036540a5235dbe8e2447df4a90d5e987e87aedab1a74f3222860097ec5bc55ae91c66a1a0dacbab891236db3b5313e6')
 
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
 build() {
   cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr \
@@ -30,8 +35,8 @@
 }
 
 package() {
-  depends+=('libasound.so' 'libformw.so' 'libmenuw.so' 'libncursesw.so'
-  'libpanelw.so' 'libsamplerate.so')
+  depends+=('libasound.so' 'libatopology.so' 'libformw.so' 'libmenuw.so'
+  'libncursesw.so' 'libpanelw.so' 'libsamplerate.so')
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"



More information about the arch-commits mailing list