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=('ab554e25bd04c1575fdaec832033f1e184c545e44055913b057551bc7f7c2817') ;;
20 sha256sums=('a009c26535dbd951fe3ffcbda9cd69281342e15dbef7d28d97f61c76b60e0efc');;
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