Date: Saturday, January 25, 2020 @ 18:07:01 Author: dvzrv Revision: 373927
upgpkg: alsa-utils 1.2.1-2: Updating maintainer info. Switching to correct license (GPL2). Switching to https for url and source. Adding direct library dependencies in package() (and moving the respective packages that provide them from depends to makedepends). Installing README. Formatting. Modified: alsa-utils/trunk/PKGBUILD ----------+ PKGBUILD | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-25 16:15:03 UTC (rev 373926) +++ PKGBUILD 2020-01-25 18:07:01 UTC (rev 373927) @@ -1,31 +1,36 @@ # Maintainer: Tobias Powalowski <tp...@archlinux.org> +# Contributor: David Runge <dv...@archlinux.org> # Contributor: judd <jvi...@zeroflux.org> pkgname=alsa-utils pkgver=1.2.1 -pkgrel=1 -pkgdesc="An alternative implementation of Linux sound support" +pkgrel=2 +pkgdesc="Advanced Linux Sound Architecture - Utilities" arch=('x86_64') -url="http://www.alsa-project.org" -#can not use >=$pkgver due to use of letters in alsa-lib update versioning -depends=("alsa-lib>1.0.24" 'pciutils' 'ncurses' 'psmisc' 'libsamplerate' 'fftw') -makedepends=('xmlto' 'docbook-xsl' 'systemd') -license=('GPL') -source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2) -sha256sums=('0b110ba71ef41d3009db1bc4dcae0cf79efb99cb5426fa19d0312470560a2c0d') +url="https://www.alsa-project.org" +license=('GPL2') +depends=('glibc' 'pciutils' 'psmisc') +makedepends=('alsa-lib' 'docbook-xsl' 'fftw' 'libsamplerate' 'ncurses' +'systemd' 'xmlto') +source=("https://www.alsa-project.org/files/pub/utils/$pkgname-$pkgver.tar.bz2") +sha512sums=('b7729659cd9809197dc30042f522f5103ff41ddc047f13f9c733c93f7e91a26f90cd864c70e654d12ef7a552b1d9ebe2727a24ec9fad03560cb7cdea906662ec') build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --disable-alsaconf --sbindir=/usr/bin \ - --with-udev-rules-dir=/usr/lib/udev/rules.d \ - --with-systemdsystemunitdir=/usr/lib/systemd/system + cd "${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --disable-alsaconf \ + --sbindir=/usr/bin \ + --with-udev-rules-dir=/usr/lib/udev/rules.d \ + --with-systemdsystemunitdir=/usr/lib/systemd/system make } package() { - cd ${pkgname}-${pkgver} + depends+=('libasound.so' 'libfftw3f.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}" # dir where to save ALSA state install -d "${pkgdir}/var/lib/alsa" }