summaryrefslogtreecommitdiff
path: root/community/subtitleeditor/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/subtitleeditor/PKGBUILD')
-rw-r--r--community/subtitleeditor/PKGBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/community/subtitleeditor/PKGBUILD b/community/subtitleeditor/PKGBUILD
index 8ca4582bf..e0d167b0d 100644
--- a/community/subtitleeditor/PKGBUILD
+++ b/community/subtitleeditor/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 38397 2011-01-26 20:18:42Z jelle $
+# $Id: PKGBUILD 55853 2011-09-23 20:07:37Z lcarlier $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=subtitleeditor
-pkgver=0.38.0
+pkgver=0.39.0
pkgrel=1
pkgdesc="A GTK+2 tool to edit subtitles for GNU/Linux/*BSD"
arch=('i686' 'x86_64' 'mips64el')
@@ -16,13 +16,22 @@ optdepends=('gstreamer0.10-ffmpeg: to be able to view movies inside the subtitle
options=('!libtool')
install=$pkgname.install
changelog=$pkgname.changelog
-source=(http://download.gna.org/$pkgname/0.38/$pkgname-$pkgver.tar.gz)
-md5sums=('2c4d7d4bd79f45effcea279a2e06ca66')
+source=(http://download.gna.org/$pkgname/0.39/$pkgname-$pkgver.tar.gz
+ fix-taking-address-of-temporary-error.patch)
+md5sums=('17666e652edd27abfd3104a82385f6a8'
+ '13e4fde005a9017da9fd24a5c2b928ed')
build() {
cd ${srcdir}/$pkgname-$pkgver
+ # fix building with gcc-4.6.0, taken from upstream
+ patch -Np1 -i "../fix-taking-address-of-temporary-error.patch"
+
./configure --prefix=/usr
- make
+ make
+}
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
make DESTDIR=${pkgdir} install
}