updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cube-escape / PKGBUILD
blobd5ac38c7a7915b4566be5ecfeb5fe3faf8f183bb
1 # Maintainer: Compintuit <permanentlylostinsightofland@gmail.com>
3 pkgname=cube-escape
4 pkgver=0.8
5 pkgrel=1
6 pkgdesc="Progress over a maze etched on the surface of a cube"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/cube-escape/"
9 license=('GPL')
10 depends=('sdl' 'sdl_image' 'sdl_ttf')
11 source=(http://cube-escape.googlecode.com/files/$pkgname-$pkgver-src.tar.gz 
12     $pkgname.desktop 
13     $pkgname.sh)
14 noextract=()
16 md5sums=('252d0d39b83845a9205346ca55f0983a'
17          '0b16f88e3d102b5c739e755a2e9557ba'
18          '1efe12192ccc839f33ecb24de81371b4')
20 build() {
21   cd $srcdir/$pkgname-$pkgver
22   make || return 1
23   mkdir -p ${pkgdir}/usr/share/games/$pkgname/
24   install -Dm755 ${srcdir}/$pkgname-$pkgver/$pkgname ${pkgdir}/usr/share/games/$pkgname/
25   cp -r ${srcdir}/$pkgname-$pkgver/data ${pkgdir}/usr/share/games/$pkgname/
26   install -Dm644 ${srcdir}/$pkgname-$pkgver/data/icon.png ${pkgdir}/usr/share/pixmaps/$pkgname.png
27   install -Dm644 ${srcdir}/$pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
28   install -Dm755 ${srcdir}/$pkgname.sh $pkgdir/usr/bin/$pkgname