summaryrefslogtreecommitdiff
path: root/community/dvdstyler/PKGBUILD
blob: 51a15b0a28b7acf48bf6db130727c23643cd667e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 58391 2011-11-12 17:16:44Z ibiru $
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=dvdstyler
pkgver=2.0
pkgrel=2
pkgdesc="Cross-platform DVD authoring application"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.dvdstyler.de/"
license=('GPL')
depends=('cdrkit' 'dvdauthor' 'dvd+rw-tools' 'wxsvg' 'xine-ui' 'mjpegtools' 'libgnomeui')
makedepends=('zip' 'xmlto' 'docbook-xsl')
optdepends=('dvdisaster: ECC support')
options=('!makeflags')
source=(http://downloads.sourceforge.net/dvdstyler/DVDStyler-${pkgver}.tar.bz2)
sha1sums=('21bb4e25c851e70cdd3ce37f3e319c71e78f74a6')

build() {
  cd "${srcdir}/DVDStyler-${pkgver}"
  sed -i 's/rmdir "$$t"//' docs/Makefile.in
  sed -i 's/vsink_buffer.h/buffersink.h/' src/mediatrc_ffmpeg.cpp
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/DVDStyler-${pkgver}"
  make DESTDIR="${pkgdir}" install
}