updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / aegisub-svn / PKGBUILD
blob40783d9651bb016409f691861abcc0e352dcc10a
1 # Maintainer: Alucryd <alucryd at gmail dot com>
2 # Contributor:  G_Syme <demichan at mail dot upb dot de>
3 pkgname=aegisub-svn
4 pkgver=6268
5 pkgrel=1
6 pkgdesc="A general-purpose subtitle editor with ASS/SSA support"
7 arch=('i686' 'x86_64')
8 url="http://www.aegisub.net"
9 license=('GPL' 'BSD')
10 depends=('ffmpegsource2-svn' 'lua' 'wxgtk-2.9>=2.9.2' 'hunspell' 'libass' 'fftw' 'hicolor-icon-theme')
11 makedepends=('imagemagick' 'subversion' 'intltool')
12 provides=('aegisub')
13 conflicts=('aegisub' 'aegisub-bin' 'aegisub-stable-svn')
14 install=icon.install
16 _svntrunk=http://svn.aegisub.org/trunk/aegisub/
17 _svnmod=aegisub
20 build() {
21     cd "$srcdir"
22     msg "Connecting to SVN server...."
23     if [[ -d "$_svnmod/.svn" ]]; then
24         (cd "$_svnmod" && svn up -r "$pkgver")
25     else
26         svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
27     fi
28     msg "SVN checkout done or server timeout"
30     cd "$_svnmod"
31     ./autogen.sh --prefix=/usr --without-{portaudio,openal,oss,libpulse} --with-wxdir=/usr/include/wx-2.9 --with-wx-config=/usr/bin/wx-config-2.9
32     make
35 package() {
36     cd "${srcdir}/$_svnmod"
37     make DESTDIR="$pkgdir" install