updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / szs / PKGBUILD
blob2b3d4ffeadb78a72bc8f789ba4b35c25b7bef6a6
1 # Maintainer: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
3 pkgname=szs
4 pkgver=0.23a
6 _svnrev=3243
8 pkgrel=1
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/"
12 license=('GPL')
13 depends=('libpng')
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')
23 else
24   echo "Unsuported architecture: ${CARCH}!" # ARM, etc...
27 build() {
28   cd "${srcdir}/${pkgname}-v${pkgver}-r${_svnrev}"-*
29   sed -i "s|^[ \t]*\(BASE_PATH=\).*$|\1${pkgdir}/usr|" install.sh
32 package() {
33   cd "${srcdir}/${pkgname}-v${pkgver}-r${_svnrev}"-*
34   ./install.sh
37 # vim:set ts=2 sw=2 et: