# $Id: PKGBUILD 59903 2009-11-29 16:30:52Z jgc $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=vcdimager
pkgver=0.7.23
pkgrel=7
pkgdesc="GNU VCDImager is a full-featured mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's"
arch=(i686 x86_64)
license=('GPL')
url="http://www.vcdimager.org/"
depends=('libcdio>=0.82' 'libxml2>=2.7.3' 'popt')
options=('!libtool' '!emptydirs')
install=vcdimager.install
source=(ftp://ftp.gnu.org/gnu/vcdimager/${pkgname}-${pkgver}.tar.gz)
md5sums=('5e7d80fdbf0037ad20e438f2a9573253')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --mandir=/usr/share/man --infodir=/usr/share/info  || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}