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

Anatol Pomozov anatolik at archlinux.org
Thu Mar 24 16:04:08 UTC 2016


    Date: Thursday, March 24, 2016 @ 17:04:08
  Author: anatolik
Revision: 262466

FS#48654 Rename 'bat' binary to 'alsabat'

Modified:
  alsa-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-24 15:48:36 UTC (rev 262465)
+++ PKGBUILD	2016-03-24 16:04:08 UTC (rev 262466)
@@ -4,7 +4,7 @@
 
 pkgname=alsa-utils
 pkgver=1.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An alternative implementation of Linux sound support"
 arch=('i686' 'x86_64')
 url="http://www.alsa-project.org"
@@ -13,8 +13,15 @@
 makedepends=('xmlto' 'docbook-xsl')
 license=('GPL')
 source=(ftp://ftp.alsa-project.org/pub/utils/$pkgname-${pkgver}.tar.bz2
+        rename_bat.patch::'http://git.alsa-project.org/?p=alsa-utils.git;a=patch;h=9fa7f6fd0645f822793f8c51d3c3e090716108eb;hp=18d5f52a61d0df7cf28456e264d7ab72c15984fb'
         90alsa)
 
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -p1 < ../rename_bat.patch  # FS#48654
+  autoreconf -f -i
+}
+
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-alsaconf --sbindir=/usr/bin \
@@ -39,4 +46,5 @@
   install -d ${pkgdir}/var/lib/alsa
 }
 md5sums=('b9d6102fbbd0b68040bb77023ed30c0c'
+         '6274663a0ccc865139634eedc53e16f8'
          '529216f6a46e61a546640e08ea7a0879')



More information about the arch-commits mailing list