1 # Maintainer: Kozec <kozec at kozec dot com>
6 pkgdesc="A general-purpose subtitle editor with ASS/SSA support (repacked from official binaries)"
8 url="http://www.aegisub.net/"
10 depends=('alsa-lib' 'libgl' 'gtk2' 'libsm' 'libpng12' 'libpng' 'freetype2' 'pcre' 'hunspell')
12 conflicts=('aegisub-svn' 'aegisub-stable-svn' 'aegisub')
14 [ $CARCH == i686 ] && _arch="x86"
15 [ $CARCH == i686 ] && md5sums=( a2adde8ac6147798ae667d58391e9e3f d0e889d20f446c7408afc34e817aec9d 50956805bff4336ec5491256e627dcf5 )
17 [ $CARCH == x86_64 ] && _arch=$CARCH
18 [ $CARCH == x86_64 ] && md5sums=( 058464aaee5fba6bfffed5c6d60cb992 9d01a0a71c90609c18fd1ed3ff230305 50956805bff4336ec5491256e627dcf5 )
21 http://ftp.aegisub.org/pub/releases/aegisub-2.1.8-linux-glibc27-$_arch.tar.bz2
22 http://dl.dropbox.com/u/134520/.nemaz_ma/libfreetype.so.6.6.2.$CARCH.tar.gz
27 cd "$srcdir"/aegisub-2.1.8-linux-glibc27-$_arch
30 mkdir -p "$pkgdir"/usr/bin/
31 mkdir -p "$pkgdir"/usr/share/mime/packages
32 mkdir -p "$pkgdir"/usr/lib/aegisub
35 cp -R share "$pkgdir"/usr/
36 cp -R aegisub-2.1 "$pkgdir"/usr/lib/aegisub
37 cp "$srcdir"/libfreetype.so.6.6.2 "$pkgdir"/usr/lib/aegisub
38 ln -s ../../share "$pkgdir"/usr/lib/aegisub/share
40 # Launcher and symlink to /usr/bin
41 install -m 0755 "$srcdir"/aegisub "$pkgdir"/usr/bin/aegisub-2.1
42 ln -s aegisub-2.1 "$pkgdir"/usr/bin/aegisub