# Maintainer: Allan McRae # Contributor: sickhate pkgname=gnome-subtitles pkgver=0.9.1 pkgrel=2 pkgdesc="Subtitle editor for the GNOME Desktop" arch=('i686' 'x86_64') license=('GPL') url="http://gnome-subtitles.sourceforge.net/" depends=('gnome-sharp' 'glade' 'gstreamer0.10-base' 'gtkspell') makedepends=('gnome-doc-utils' 'intltool') optdepends=('gstreamer0.10-base-plugins: video playback (or good, bad, ugly plugins)') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('1c5f01aaf14dbd91581b286bf92f08d7') build() { export MONO_SHARED_DIR=${srcdir}/.wabi mkdir -p "${MONO_SHARED_DIR}" cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=${pkgdir} install rm -rf "${MONO_SHARED_DIR}" }