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

Jan Steffens heftig at archlinux.org
Sun May 21 20:58:23 UTC 2017


    Date: Sunday, May 21, 2017 @ 20:58:23
  Author: heftig
Revision: 296380

1.1.4-1

Modified:
  alsa-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-21 20:54:57 UTC (rev 296379)
+++ PKGBUILD	2017-05-21 20:58:23 UTC (rev 296380)
@@ -3,8 +3,8 @@
 # Contributor: judd <jvinet at zeroflux.org>
 
 pkgname=alsa-utils
-pkgver=1.1.3
-pkgrel=2
+pkgver=1.1.4
+pkgrel=1
 pkgdesc="An alternative implementation of Linux sound support"
 arch=('i686' 'x86_64')
 url="http://www.alsa-project.org"
@@ -13,27 +13,20 @@
 makedepends=('xmlto' 'docbook-xsl')
 license=('GPL')
 source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2)
-sha256sums=('127217a54eea0f9a49700a2f239a2d4f5384aa094d68df04a8eb80132eb6167c')
+sha256sums=('a7831044de92c5bf33bf3365a3f36e49397f4191e934df460ae1ca15138c9d9d')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  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
-  # fix udev rules genaration
-  cd alsactl
-  make 90-alsa-restore.rules
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 
-  # install alsa udev rule file
-  install -D -m644 alsactl/90-alsa-restore.rules \
-          ${pkgdir}/usr/lib/udev/rules.d/90-alsa-restore.rules
-
   # dir where to save ALSA state
-  install -d ${pkgdir}/var/lib/alsa
+  install -d "${pkgdir}/var/lib/alsa"
 }



More information about the arch-commits mailing list