pkgname=subtitleeditor pkgver=834 pkgrel=1 pkgdesc="GTK+2 tool to edit subtitles." arch=('i686' 'x86_64') url="http://home.gna.org/subtitleeditor/" license=('GPL3') 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' 'autoconf' 'subversion') 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' 'gstreamer0.10-fluendo: to be able to view movies inside the subtitleeditor') options=('!libtool') install=$pkgname.install source=('subtitleeditor::svn://svn.gna.org/svn/subtitleeditor/trunk') md5sums=('SKIP') pkgver() { cd "$SRCDEST"/local_repo svnversion |tr -d [A-z] } build() { cd subtitleeditor ./autogen.sh --prefix=/usr make } package () { cd subtitleeditor make DESTDIR=${pkgdir} install }