# $Id: PKGBUILD 99776 2013-10-30 23:38:47Z allan $ # Maintainer: Balló György pkgname=gnome-subtitles pkgver=1.3 pkgrel=1 pkgdesc="Video subtitle editor for GNOME" arch=('i686' 'x86_64') url="http://gnomesubtitles.org/" license=('GPL') depends=('gst-plugins-base' 'gconf-sharp' 'gtkspell' 'desktop-file-utils') makedepends=('intltool' 'gnome-doc-utils') optdepends=('gst-plugins-good: Extra media codecs' 'gst-plugins-bad: Extra media codecs' 'gst-plugins-ugly: Extra media codecs' 'gst-libav: Extra media codecs') install=$pkgname.install source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('b0570134af6626d4e6c018c5f7774964') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-static --disable-schemas-install \ --with-gconf-schema-file-dir=/usr/share/gconf/schemas make -j1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }