1 # Contributor: Chris Baker <youremail@domain.com>
5 pkgdesc='A storytelling game for two players'
7 url='http://sleepisdeath.net/'
8 license=('custom: "commercial"')
9 source=(SleepIsDeath_v${pkgver}_UnixSource.tar.gz
11 sleepisdeath.launcher)
12 md5sums=('f021d4a2add9ef9853eaf26c672d2c96'
13 '3f702562e71b799e21e001127e9301d9'
14 'f3ccd239aea74469da6e4d25513a6291')
17 cd $srcdir/SleepIsDeath_v${pkgver}_UnixSource
18 sed -i '24 s/read platformSelection/platformSelection="1"/' SleepIsDeath/configure || return 1
19 ./runToBuild || return 1
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
27 install -D -m644 $srcdir/SleepIsDeath_v${pkgver}_UnixSource/SleepIsDeath/gameSource/speak.png \
28 $pkgdir/usr/share/pixmaps/sleepisdeath.png
30 install -D -m644 $srcdir/sleepisdeath.desktop \
31 $pkgdir/usr/share/applications/sleepisdeath.desktop
33 install -D -m755 $srcdir/sleepisdeath.launcher \
34 $pkgdir/usr/bin/sleepisdeath
37 # vim:set ts=2 sw=2 et: