updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rainslickep2 / PKGBUILD
blobebb2d437f20e191a5a6d66f85f18c381f4143130
1 # Contributor: rpj8 (Factory) <semidigerati@gmail.com>
3 pkgname=rainslickep2
4 pkgver=r3
5 pkgrel=1
6 pkgdesc="On the Rain-Slick Precipice of Darkness is an episodic RPG-adventure game series set in a deranged comic-book meets-pulp-horror 1920s universe."
7 arch=('i686')
8 url="http://www.rainslick.com/"
9 license=('GPL')
10 depends=('sdl' 'gcc-libs' 'libgl')
11 source=("http://download.playgreenhouse.com/hotheadgames/rainslick/${pkgname}_linux_$pkgver.tgz" "rainslickep2.desktop" )
12 _pkgname=RainSlickEp2
13 md5sums=('f4b36a0955d8345122091363946cba78' '645e07d05b0f378741bb26a7a4710533')
15 build() {
16   mkdir -p $startdir/pkg/usr/{bin,share/{$pkgname,pixmaps,applications,licenses/$pkgname}}
17   cd $startdir/src
18   cp -a ${_pkgname}/* $startdir/pkg/usr/share/$pkgname
19   cp $_pkgname/rainslick.png $startdir/pkg/usr/share/pixmaps/rainslick2.png
20   cp $_pkgname/eula.html $startdir/pkg/usr/share/licenses/${pkgname}/LICENSE
21   cp ${pkgname}.desktop $startdir/pkg/usr/share/applications
22   #old .sh method       
23   #chmod +x rainslickep1.sh && cp rainslickep1.sh $startdir/pkg/usr/bin/rainslickep1.sh
24   #ln -s $startdir/pkg/usr/share/rainslickep1/RainSlickEp1 $startdir/pkg/usr/bin/rainslickep1
25   echo -e "#!/bin/bash\n/usr/share/${pkgname}/RainSlickEp2" > $startdir/pkg/usr/bin/$pkgname
26   chmod +x $startdir/pkg/usr/bin/$pkgname