2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: dorphell <dorphell@archlinux.org>
11 url="http://cdrdao.sourceforge.net/"
12 pkgdesc='Records audio/data CD-Rs in disk-at-once (DAO) mode'
13 depends=('gcc-libs' 'lame' 'libmad' 'libvorbis' 'libao')
14 makedepends=('gtkmm3')
15 optdepends=('gtkmm3: for gcdmaster')
16 source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
17 cdrdao-1.2.3-autoconf-update.patch
18 cdrdao-1.2.3-k3b.patch)
19 sha256sums=('d19b67c853c5dba2406afaab6cd788e77f35eebe634cac4679528477c7be01b6'
20 '2f4f54ed23b4f3b22fd64a2a3d4fa67ff186b3865213cba3fbe81ed9f6c42c74'
21 '6eddd7c79f548b3ad1d8d4ce23367bcae3cd6dee74f0aeb6439758d6599090e0')
24 cd ${pkgname}-${pkgver}
26 patch -Np1 -i ../cdrdao-1.2.3-autoconf-update.patch
27 patch -Np1 -i ../cdrdao-1.2.3-k3b.patch
31 cd ${pkgname}-${pkgver}
32 ./configure --prefix=/usr \
33 --mandir=/usr/share/man \
35 --without-xdao --with-lame \
36 --with-ogg-support --with-mp3-support
41 cd ${pkgname}-${pkgver}
42 make DESTDIR="${pkgdir}" install