summaryrefslogtreecommitdiff
path: root/community/subtitleeditor/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/subtitleeditor/PKGBUILD')
-rw-r--r--community/subtitleeditor/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/subtitleeditor/PKGBUILD b/community/subtitleeditor/PKGBUILD
index 17580677f..a7932aa85 100644
--- a/community/subtitleeditor/PKGBUILD
+++ b/community/subtitleeditor/PKGBUILD
@@ -1,14 +1,15 @@
-# $Id: PKGBUILD 55853 2011-09-23 20:07:37Z lcarlier $
+# $Id: PKGBUILD 66079 2012-02-22 22:47:22Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=subtitleeditor
-pkgver=0.39.0
+pkgver=0.40.0
pkgrel=1
pkgdesc="A GTK+2 tool to edit subtitles for GNU/Linux/*BSD"
arch=('i686' 'x86_64')
url="http://home.gna.org/subtitleeditor/"
license=('GPL3')
-depends=('enchant' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamermm' 'gtk2' 'gtkmm' 'hicolor-icon-theme' 'libsigc++' 'libxml++' 'xdg-utils')
+depends=('desktop-file-utils' 'enchant' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins'
+ 'gstreamermm' 'gtk2' 'gtkmm' 'hicolor-icon-theme' 'libsigc++' 'libxml++' 'xdg-utils')
makedepends=('intltool')
optdepends=('gstreamer0.10-ffmpeg: to be able to view movies inside the subtitleeditor'
'gstreamer0.10-ugly-plugins: to be able to view movies inside the subtitleeditor'
@@ -16,22 +17,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.39/$pkgname-$pkgver.tar.gz
- fix-taking-address-of-temporary-error.patch)
-md5sums=('17666e652edd27abfd3104a82385f6a8'
- '13e4fde005a9017da9fd24a5c2b928ed')
+source=(http://download.gna.org/$pkgname/0.40/$pkgname-$pkgver.tar.gz)
+sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d')
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
}
package() {
cd ${srcdir}/$pkgname-$pkgver
+}
+
+package () {
+ cd ${srcdir}/$pkgname-$pkgver
+
make DESTDIR=${pkgdir} install
}