From e05f52e52ba779f4b0ebb5463dba9fc74f67f0b8 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 5 Sep 2011 23:14:38 +0000 Subject: Mon Sep 5 23:14:38 UTC 2011 --- extra/alsa-oss/PKGBUILD | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'extra/alsa-oss') diff --git a/extra/alsa-oss/PKGBUILD b/extra/alsa-oss/PKGBUILD index 14050f70b..2d32793d0 100644 --- a/extra/alsa-oss/PKGBUILD +++ b/extra/alsa-oss/PKGBUILD @@ -1,20 +1,25 @@ -# $Id: PKGBUILD 13735 2008-09-28 09:02:32Z tpowa $ -# Maintainer: judd +# $Id: PKGBUILD 136976 2011-09-04 11:56:05Z pierre $ +# Contributor: judd + pkgname=alsa-oss pkgver=1.0.17 -pkgrel=1 +pkgrel=2 pkgdesc="OSS compatibility library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL') url="http://www.alsa-project.org" -options=(!libtool) -depends=('glibc' 'alsa-lib>=1.0.17a') -source=(ftp://ftp.alsa-project.org/pub/oss-lib/$pkgname-$pkgver.tar.bz2) +options=('!libtool') +depends=('alsa-lib') +source=("ftp://ftp.alsa-project.org/pub/oss-lib/$pkgname-$pkgver.tar.bz2") +md5sums=('1b1850c2fc91476a73d50f537cbd402f') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install } -md5sums=('1b1850c2fc91476a73d50f537cbd402f') -- cgit v1.2.3-54-g00ecf