updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / wit-svn / PKGBUILD
blob5ea36a0a17bb84de38f1b39a2e756fcc5015d677
1 # Maintainer: Alexander Duscheleit <alexander.duscheleit@gmail.com>
2 # Contributor: Gordin <9ordin @t gmail.com>
3 pkgname=wit-svn
4 pkgver=3166
5 pkgrel=1
6 pkgdesc="Wiimms ISO Tools is a set of command line tools to manipulate Wii ISO images and WBFS containers."
7 arch=('i686' 'x86_64')
8 url="http://www.gbatemp.net/index.php?showtopic=182236"
9 license=('GPL')
10 groups=()
11 depends=('fuse' 'bash')
12 makedepends=('subversion')
13 provides=('wwt' 'wit')
14 conflicts=(wit)
15 replaces=('wwt')
16 options=('!buildflags')
18 _svntrunk=http://opensvn.wiimm.de/wii/trunk
19 _svnmod=wiimms-iso-tools
21 build() {
22   cd "$srcdir"
24   if [ -d $_svnmod/.svn ]; then
25     (cd $_svnmod && svn up -r $pkgver)
26 else
27     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30   msg "SVN checkout done or server timeout"
31   msg "Starting make..."
33   rm -rf "$srcdir/$_svnmod-build"
34   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35   cd "$srcdir/$_svnmod-build/wiimms-iso-tools"
37   # BUILD
38   sed -i 's/svn info/LANG=C svn info/' setup.sh
39   make INSTALL_PATH="$pkgdir/usr"
42 package () {
43   cd "$srcdir/$_svnmod-build/wiimms-iso-tools"
45   # Load titles from http://www.wiitdb.com/
46   PATH=${PATH}:bin make titles
48   # INSTALL
49   make install