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

Dave Reisner dreisner at archlinux.org
Fri Jul 15 20:02:11 EDT 2011


    Date: Friday, July 15, 2011 @ 20:02:10
  Author: dreisner
Revision: 131830

upgpkg: esound 0.2.41-2
rebuild for tcp_wrappers removal

Modified:
  esound/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-15 23:59:57 UTC (rev 131829)
+++ PKGBUILD	2011-07-16 00:02:10 UTC (rev 131830)
@@ -2,11 +2,11 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=esound
 pkgver=0.2.41
-pkgrel=1
+pkgrel=2
 pkgdesc="Enlightened Sound Daemon"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('audiofile' 'tcp_wrappers' 'alsa-lib>=1.0.18')
+depends=('audiofile' 'alsa-lib>=1.0.18')
 url="http://www.tux.org/~ricdude/EsounD.html"
 provides=("esd=${pkgver}")
 replaces=('esd')
@@ -22,13 +22,17 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/esd-0.2.38-alsa-drain.patch" || return 1
+  patch -Np1 -i "${srcdir}/esd-0.2.38-alsa-drain.patch"
   ./configure --prefix=/usr --sysconfdir=/etc \
               --localstatedir=/var --disable-static \
-              --with-audiofile --with-libwrap \
-	      --enable-alsa --disable-artstest || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+              --with-audiofile --without-libwrap \
+              --enable-alsa --disable-artstest
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
   install -m755 -d "${pkgdir}/etc/rc.d"
-  install -m755 "${srcdir}/esd" "${pkgdir}/etc/rc.d/esd" || return 1
+  install -m755 "${srcdir}/esd" "${pkgdir}/etc/rc.d/esd"
 }



More information about the arch-commits mailing list