updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sleepisdeath / PKGBUILD
blob56023bcdce66ceea0a4eef7ea8bcc65e14533f74
1 # Contributor: Chris Baker <youremail@domain.com>
2 pkgname=sleepisdeath
3 pkgver=14b
4 pkgrel=2
5 pkgdesc='A storytelling game for two players'
6 arch=('i686' 'x86_64')
7 url='http://sleepisdeath.net/'
8 license=('custom: "commercial"')
9 source=(SleepIsDeath_v${pkgver}_UnixSource.tar.gz 
10         sleepisdeath.desktop
11         sleepisdeath.launcher)
12 md5sums=('f021d4a2add9ef9853eaf26c672d2c96'
13          '3f702562e71b799e21e001127e9301d9'
14          'f3ccd239aea74469da6e4d25513a6291')
16 build() {
17   cd $srcdir/SleepIsDeath_v${pkgver}_UnixSource
18   sed -i '24 s/read platformSelection/platformSelection="1"/' SleepIsDeath/configure || return 1
19   ./runToBuild || return 1
20   
21   cd ..
22   mkdir -p $pkgdir/opt/SleepIsDeath
23   cp -R SleepIsDeath_v${pkgver}_UnixSource/* $pkgdir/opt/SleepIsDeath 
24   rm $pkgdir/opt/SleepIsDeath/runToBuild
25   chmod -R a+w $pkgdir/opt/SleepIsDeath
26   
27   install -D -m644 $srcdir/SleepIsDeath_v${pkgver}_UnixSource/SleepIsDeath/gameSource/speak.png \
28     $pkgdir/usr/share/pixmaps/sleepisdeath.png
29     
30   install -D -m644 $srcdir/sleepisdeath.desktop \
31     $pkgdir/usr/share/applications/sleepisdeath.desktop
32     
33   install -D -m755 $srcdir/sleepisdeath.launcher \
34     $pkgdir/usr/bin/sleepisdeath
37 # vim:set ts=2 sw=2 et: