# $Id: PKGBUILD 3746 2009-10-08 16:16:13Z dgriffiths $ # Maintainer: Daniel J Griffiths # Maintainer: Alexander Fehr pkgname=dvdstyler pkgver=1.7.4 pkgrel=1 pkgdesc="Cross-platform DVD authoring application" arch=('i686' 'x86_64') url="http://www.dvdstyler.de/" license=('GPL') depends=('cdrkit' 'dvdauthor' 'dvd+rw-tools' 'ffmpeg' 'gettext' 'libexif' 'wxgtk' 'wxsvg' 'xine-ui' 'mjpegtools' 'xmlto' 'docbook-xsl' 'libgnomeui') makedepends=('zip') optdepends=('dvdisaster: ECC support') source=(http://downloads.sourceforge.net/dvdstyler/DVDStyler-$pkgver.tar.bz2) md5sums=('874972691bd342caf6b1415625816d1d') build() { cd ${srcdir}/DVDStyler-${pkgver} ./configure --prefix=/usr || return 1 sed -i '/^LINGUAS=/d' locale/Makefile sed -i '/^LINGUAS_ALL=/d' locale/Makefile sed -i '5i LINGUAS=cs da de el es fr' locale/Makefile sed -i '6i LINGUAS_ALL=cs da de el es fr' locale/Makefile make || return 1 make DESTDIR=${pkgdir} install || return 1 }