updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / simpleburn / PKGBUILD
bloba3d7149867c838068aa396542e1e94dbe92a8ef7
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
2 # Contributor: Laurie Clark-Michalek <bluepepper@archlinux.us>
3 # Maintainer: 4javier <4javiereg4_at@_gmail_dot._com>
4 pkgname=simpleburn
5 pkgver=1.6.3
6 pkgrel=1
7 pkgdesc="A simple GTK+ application for burning CDs and DVDs"
8 arch=('i686' 'x86_64')
9 url="http://simpleburn.tuxfamily.org/"
10 license=('CeCILL')
11 depends=('libburn' 'cdparanoia' 'cdrdao' 'gtk2>=2.12')
12 makedepends=('cmake>=2.6' 'pkgconfig')
13 optdepends=('mpg123: needed for burning audio CD from MP3 encoded files'
14                         'vorbis-tools: needed for burning audio CD from Vorbis encoded files'
15                         'normalize: used in encoding if available'
16                         'mpg321: alternative to mpg123'
17                         'mplayer: needed for video DVD extraction'
18                         'mencoder: needed for video DVD extraction')
19 source=(http://simpleburn.tuxfamily.org/IMG/bz2/$pkgname-$pkgver.tar.bz2)
20 md5sums=('77df00ac4d747fb1245a32a518471a24')
23 build() {
24         cd $pkgname-$pkgver
25   
26         cmake . -DCMAKE_INSTALL_PREFIX=/usr -DDETECTION=UDEV\
27         -DBURNING=LIBBURNIA
28         #comment last line above to use CDRTools / CDRKit as burning backend 
30         make || return 1
32 package() {
33         cd $pkgname-$pkgver
34                 
35         make DESTDIR="$pkgdir" install
37         mv -f "$pkgdir"/usr/doc "$pkgdir"/usr/share/
39         install -Dm644 $srcdir/$pkgname-$pkgver/doc/LICENSE-EN\
40         "$pkgdir"/usr/share/licenses/$pkgname/LICENSE