1 # Maintainer: Gordin <gordin @t koeln.ccc.de>
6 pkgdesc="Wiimms ISO Tools is a set of command line tools to manipulate Wii ISO images and WBFS containers."
8 url="http://wit.wiimm.de"
10 depends=('bash' 'fuse')
11 provides=('wwt' 'wit')
17 sha256sums=('b44576101463de732414c6a74d33523bf07c7cfff7e146469b21f24df67e6493');;
20 sha256sums=('f5fec2160c2d18dd797338067def3f5b16dfc42776239b6cd3ff06e08dadd42d');;
21 # The following should not happen; provided you're using 'makepkg' ;)
22 *) error "Unknown or invalid CARCH=$CARCH"; exit 1
25 source=("http://wit.wiimm.de/download/wit-v${pkgver}-r${_pkgrel}-${_ARCH}.tar.gz")
27 _srcdir=${srcdir}/wit-v${pkgver}-r${_pkgrel}-${_ARCH}
34 # sed -i 's/svn info/LANG=C svn info/' setup.sh
35 # sed -i "s|wit load-titles.sh|$srcdir/$_svnmod-build/wiimms-iso-tools/wit load-titles.sh|" Makefile
36 # make all++ INSTALL_PATH="$pkgdir/usr"
42 sed -i "s|/usr/local|${pkgdir}/usr|" install.sh
43 sed -i "s|/usr/local|${pkgdir}/usr|" load-titles.sh
44 # Load titles from http://www.wiitdb.com/
45 sed -i "s|NEEDED=\"wit wget tr\"|NEEDED=\"wget tr\"|" load-titles.sh
46 sed -i "s|wit titles|$_srcdir/bin/wit titles|" load-titles.sh
52 cd $pkgdir/usr/share/wit
53 sed -i "s|${pkgdir}||" load-titles.sh
54 sed -i "s|${_srcdir}||" load-titles.sh