updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / bin32-vfc / PKGBUILD
blob7b53abc9e18eeb4531e2e183b809dd075a2c1620
1 # Contributor: 
2 pkgname=bin32-vfc
3 pkgver=6.0
4 pkgrel=2
5 pkgdesc="The Forbidden City: Beyond Space and Time"
6 arch=("x86_64")
7 license=('custom')
8 url="http://www.virtualforbiddencity.org"
9 depends=('glibc>=2.3.5' 'lib32-libx11' 'lib32-libogg>=1.1.3' 'lib32-libvorbis>=1.2.0' 'lib32-libtheora>=1.0beta1')
10 makedepends=('rpmextract')
11 # provides=()
12 # conflicts=()
13 _pkg_file='VirtualForbiddenCity.rpm'
14 source=(http://www.virtualforbiddencity.org/${_pkg_file})
15 md5sums=(80891fd4678faae3ecb2257d94121168)
17 build() {
18   msg "Starting install"
20   cd ${startdir}/src/
21   msg "Extracting source"
22   rpmextract.sh ${_pkg_file}
24   msg "Copying source"
25   cp -r usr/ ${startdir}/pkg/
26   cp -r opt/ ${startdir}/pkg/
28   cd ${startdir}/pkg/
29   chmod a+x usr/bin/vfc
30   sed -i 's/vfc-run/vfc-run.sh/g' usr/bin/vfc
31   chmod a+x opt/VirtualForbiddenCity/vfc-run.sh
32   chown .games -R opt/VirtualForbiddenCity/
33   chmod g+w -R opt/VirtualForbiddenCity/