3 pkgname=aegisub-stable-svn
6 pkgdesc="A general-purpose subtitle editor with ASS/SSA support"
8 url="http://www.aegisub.net"
10 depends=('ffmpegsource2-svn' 'lua' 'wxgtk>=2.8.11' 'hunspell' 'libass' 'hicolor-icon-theme' 'desktop-file-utils')
11 makedepends=('imagemagick>=6.6.2.10' 'subversion' 'intltool')
15 install=aegisub-stable-svn.install
16 md5sums=('3e13350007702bd7117e8f35bac376f1')
18 _svntrunk=http://svn.aegisub.org/branches/aegisub_2.1.9/aegisub
25 if [ -d $_svnmod ]; then
28 svn co $_svntrunk $_svnmod
31 if [ -d "$srcdir/$_svnmod-build" ]; then
32 rm -rf "$srcdir/$_svnmod-build"
35 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
37 cd "$srcdir/$_svnmod-build"
39 ./autogen.sh --prefix=/usr \
40 --with-player-audio=alsa --without-{portaudio,openal,oss,pulseaudio}
46 cd "${srcdir}/$_svnmod-build"
47 make DESTDIR="$pkgdir" install
49 # menu icon and mimetype fix
50 sed -i -e 's/Icon=aegisub/Icon=\/usr\/share\/icons\/hicolor\/scalable\/apps\/aegisub.svg/' \
51 -e 's/application\/x-srt/application\/x-subrip/' \
52 "$pkgdir"/usr/share/applications/aegisub.desktop
54 # install the BSD license, although it is ruled by GPL according to the wiki:
55 # (http://www.malakith.net/aegiwiki/Subtitling_software_comparison)
56 install -D -m644 "$srcdir"/license.txt \
57 "$pkgdir"/usr/share/licenses/$pkgname/license.txt