1 # Contributor: Daniel Milde <info@milde.cz>
5 pkgdesc="Fall from stairs game"
7 url="http://secretexit.com/freeware/stairdismount"
9 [ "$CARCH" = "x86_64" ] && depends=('lib32-sdl_image' 'lib32-mesa' 'lib32-libstdc++5')
10 [ "$CARCH" = "i686" ] && depends=('sdl_image' 'mesa' 'libstdc++5')
11 source=(http://secretexit.com/files/${pkgname}-${pkgver}.tar.gz run.sh porrasturvat.desktop)
12 md5sums=('69ad633314430ee9fe5a51193e8ebc0e' 'e8234cc9c11268aaca5477f53d3422ef' 'd501918e420aff577e5ae7134acdfc56')
15 cd ${srcdir}/${pkgname}
16 msg "Installing Porrasturvat into /opt/porrasturvat"
17 install -dm755 ${pkgdir}/opt/porrasturvat
18 cp -R ./* ${pkgdir}/opt/porrasturvat
20 msg "Installing run script into /usr/bin"
21 install -D ${srcdir}/run.sh ${pkgdir}/usr/bin/porrasturvat
23 msg "Installing desktop item"
24 install -D ${srcdir}/porrasturvat.desktop ${pkgdir}/usr/share/applications/porrasturvat.desktop