updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / porrasturvat / PKGBUILD
blobbb5f78f1740581e33ef817b10041a84714fa02df
1 # Contributor: Daniel Milde <info@milde.cz>
2 pkgname=porrasturvat
3 pkgver=1.0.3
4 pkgrel=2
5 pkgdesc="Fall from stairs game"
6 arch=('i686' 'x86_64')
7 url="http://secretexit.com/freeware/stairdismount"
8 license=('custom')
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')
14 build() {
15   cd ${srcdir}/${pkgname}
16   msg "Installing Porrasturvat into /opt/porrasturvat"
17   install -dm755 ${pkgdir}/opt/porrasturvat
18   cp -R ./* ${pkgdir}/opt/porrasturvat
19   
20   msg "Installing run script into /usr/bin"
21   install -D ${srcdir}/run.sh ${pkgdir}/usr/bin/porrasturvat
22   
23   msg "Installing desktop item"
24   install -D ${srcdir}/porrasturvat.desktop ${pkgdir}/usr/share/applications/porrasturvat.desktop