archrelease: copy trunk to extra-x86_64
[arch-packages.git] / cdrdao / trunk / PKGBUILD
blob294c04c2e72d03c3f02176a94b60747acb7ef631
1 # Maintainer:
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: dorphell <dorphell@archlinux.org>
6 pkgname=cdrdao
7 pkgver=1.2.5
8 pkgrel=1
9 arch=('x86_64')
10 license=('GPL')
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')
23 prepare() {
24   cd ${pkgname}-${pkgver}
25   
26   patch -Np1 -i ../cdrdao-1.2.3-autoconf-update.patch
27   patch -Np1 -i ../cdrdao-1.2.3-k3b.patch
30 build() {
31   cd ${pkgname}-${pkgver}
32   ./configure --prefix=/usr \
33         --mandir=/usr/share/man \
34         --sysconfdir=/etc \
35         --without-xdao --with-lame \
36         --with-ogg-support --with-mp3-support
37   make
40 package() {
41   cd ${pkgname}-${pkgver}
42   make DESTDIR="${pkgdir}" install