updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / supertuxkart-extras / PKGBUILD
blob47652f6873d21feecd04f1bacb2435839afe4e28
1 # Maintainer: snuo
2 # Contributor: snuo
3 pkgname=supertuxkart-extras
4 pkgver=0.6
5 pkgrel=3
6 pkgdesc="Extra karts and tracks not included in the offical release - only compatible with STK 0.6"
7 arch=(i686 x86_64)
8 url="http://supertuxkart.sourceforge.net"
9 license=('GPL')
10 depends=('supertuxkart<0.7')
11 makedepends=('p7zip')
12 source=("http://downloads.sourceforge.net/sourceforge/supertuxkart/karts.7z" "http://downloads.sourceforge.net/sourceforge/supertuxkart/tracks.7z")
13 md5sums=('d4868c6c93b570861a7c5e5b4550e604'
14          'a197e96526d911c4d967f2fe41310203')
15 sha1sums=('7f0a6a19f25e5c70076ba0e767595bf2a70466dc'
16           'bb03b1c9bd238dd5da15ce390429097ad431b714')
18 build() {
19         mkdir -p ${pkgdir}/usr/share/supertuxkart/data/
20         7z x -o${pkgdir}/usr/share/supertuxkart/data/ tracks.7z 
21         7z x -o${pkgdir}/usr/share/supertuxkart/data/ karts.7z
22         # Remove Mac specific files
23         rm ${pkgdir}/usr/share/supertuxkart/data/karts/.DS_Store
24         rm ${pkgdir}/usr/share/supertuxkart/data/tracks/.DS_Store
25         rm ${pkgdir}/usr/share/supertuxkart/data/karts/adiumy/.DS_Store
26         rm ${pkgdir}/usr/share/supertuxkart/data/karts/AUDAcity/.DS_Store