1 # Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
9 pkgdesc="A set of command line tools to manipulate SZS, U8, BRRES, BREFF, BREFT, BMG, KMP, TEX, TPL, and StaticR.rel files of Mario Kart Wii"
10 arch=('i686' 'x86_64')
11 url="http://szs.wiimm.de/"
14 makedepends=('subversion')
15 provides=('szs' 'szstools')
16 conflicts=('szs' 'szstools')
17 if [ "${CARCH}" == 'x86_64' ]; then
18 source=("http://szs.wiimm.de/download/${pkgname}-v${pkgver}-r${_svnrev}-x86_64.tar.gz")
19 sha512sums=('891922a5e1221c5b0bfde2568db3a6c5519854e02b984184db67ed87e7ca71735c91358e5caa563c036a837a8c2eb893f62a0d1f49053e037af8b943be80b549')
20 elif [ "${CARCH}" == 'i686' ]; then
21 source=("http://szs.wiimm.de/download/${pkgname}-v${pkgver}-r${_svnrev}-i386.tar.gz")
22 sha512sums=('385021477c0ce41b6a3ef494d2d608f69ca8f1b657746f2b0fbec902a14f6d990c43492bfe13faac3961d82b33639ef047f3b2ab7886ed0052dd505c7a20291e')
24 echo "Unsuported architecture: ${CARCH}!" # ARM, etc...
28 cd "${srcdir}/${pkgname}-v${pkgver}-r${_svnrev}"-*
29 sed -i "s|^[ \t]*\(BASE_PATH=\).*$|\1${pkgdir}/usr|" install.sh
33 cd "${srcdir}/${pkgname}-v${pkgver}-r${_svnrev}"-*
37 # vim:set ts=2 sw=2 et: