updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / subtitlecomposer-kde3 / PKGBUILD
blob79a1b9bad99117fdacd477d9f27235054e83cd15
1 # Contributor: David Watzke <david@watzke.cz>
3 pkgname=subtitlecomposer-kde3
4 _realname=subtitlecomposer
5 pkgver=0.4.3
6 pkgrel=3
7 pkgdesc="A KDE3 subtitle editor"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/subcomposer"
10 license=('GPL')
11 depends=('kdelibs3' 'xine-lib' 'gstreamer0.10-base' 'gettext')
12 optdepends=("mplayer: for MPlayer backend")
13 source=(http://downloads.sourceforge.net/subcomposer/${_realname}-${pkgver}.tar.bz2
14         subtitlecomposer-build-fixes.patch)
15 sha256sums=('9a39aac7b666eb67137c99f9f8885481f8a005cb04df14a071bf5c763d98c2b4'
16             '173e26abc85133e7a31a9e152520cfb4c890884cdaa9351f83cf63c28c15765f')
18 build() {
19         cd "${srcdir}/${_realname}-${pkgver}"
21         sed -i "/^Exec=/ s:=:=/opt/kde/bin/:" src/main/subtitlecomposer.desktop
22         sed -i "s/-fno-exceptions/-fexceptions/g" configure
23         patch -Np1 -i "${srcdir}/subtitlecomposer-build-fixes.patch"
25         QTDIR=/opt/qt ./configure --without-arts --prefix=/opt/kde
26         make
29 package() {
30         cd "${srcdir}/${_realname}-${pkgver}"
32         make DESTDIR="${pkgdir}" install