summaryrefslogtreecommitdiff
path: root/community/subtitleeditor/PKGBUILD
blob: a7932aa85decac86400b93b4536b7f0242ef62e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 66079 2012-02-22 22:47:22Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=subtitleeditor
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=('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'
            'gstreamer0.10-fluendo: to be able to view movies inside the subtitleeditor')
options=('!libtool')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://download.gna.org/$pkgname/0.40/$pkgname-$pkgver.tar.gz)
sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}
package() {
  cd ${srcdir}/$pkgname-$pkgver

}

package () {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}