summaryrefslogtreecommitdiff
path: root/community/subtitleeditor
diff options
context:
space:
mode:
Diffstat (limited to 'community/subtitleeditor')
-rw-r--r--community/subtitleeditor/PKGBUILD21
-rw-r--r--community/subtitleeditor/subtitleeditor.changelog9
-rw-r--r--community/subtitleeditor/subtitleeditor.install3
3 files changed, 22 insertions, 11 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
}
diff --git a/community/subtitleeditor/subtitleeditor.changelog b/community/subtitleeditor/subtitleeditor.changelog
index d43a5264b..9362e3c99 100644
--- a/community/subtitleeditor/subtitleeditor.changelog
+++ b/community/subtitleeditor/subtitleeditor.changelog
@@ -1,3 +1,12 @@
+2012-02-22 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * subtitleeditor 0.40.0-1
+
+2011-08-28 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * subtitleeditor 0.39.0-1
+
+2011-07-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * subtitleeditor 0.38.0-1
+
2010-07-12 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* Update to major release v0.37.1
diff --git a/community/subtitleeditor/subtitleeditor.install b/community/subtitleeditor/subtitleeditor.install
index b711352cb..dcc06de40 100644
--- a/community/subtitleeditor/subtitleeditor.install
+++ b/community/subtitleeditor/subtitleeditor.install
@@ -1,5 +1,6 @@
post_install() {
- which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
}
post_upgrade() {