# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: dorphell <dorphell@archlinux.org> pkgname=cdrdao pkgver=1.2.2 pkgrel=2 pkgdesc="Records audio/data CD-Rs in disk-at-once (DAO) mode" arch=(i686 x86_64) license=('GPL') url="http://cdrdao.sourceforge.net/" depends=('gcc-libs' 'lame' 'libmad' 'libvorbis' 'libao') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 \ cdrdao-1.2.2-gcc43.patch) md5sums=('f0cbf36907406cb4f4c568f9e6669a34' '828963048850fe9e540c2b29ee987fd7') build() { cd $startdir/src/$pkgname-$pkgver patch -Np1 -i $startdir/src/cdrdao-1.2.2-gcc43.patch ./configure --prefix=/usr --with-lame make || return 1 make DESTDIR=$startdir/pkg install }