# $Id: PKGBUILD 55602 2011-09-14 23:25:07Z dreisner $
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=hacburn
pkgver=0.3.5
pkgrel=4
pkgdesc="HacBurn is a script written in perl to aid in writing CDs. It is a graphical interface (using gtk+) to cdrtools, mpg321 and ogg123."
arch=('i686' 'x86_64')
url="http://hacburn.sourceforge.net/"
license=('GPL')
depends=('gtk2-perl' 'glib-perl' 'cdrkit' 'mpg321' 'vorbis-tools' 'gtk2' 'xorg-server' 'perl' 'cddb_get' 'lame')
conflicts=('hacburn-cvs')
source=(http://downloads.sourceforge.net/sourceforge/hacburn/HacBurn-$pkgver.tar.bz2)
md5sums=('1e4b3e4b49de58259a446b7752f59f22')

build() {
  install -D -m755 $startdir/src/HacBurn-$pkgver/hacburn \
  $startdir/pkg/usr/bin/hacburn
  mkdir -p $startdir/pkg/usr/share/pixmaps
  cp $startdir/src/HacBurn-$pkgver/hacburn.png \
  $startdir/pkg/usr/share/pixmaps/hacburn.png
}
