updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / phlipple / PKGBUILD
blob7a84a47fe0376b16ceef9bce3ed12eb29d815a58
1 # Contributor: Eric Forgeot < http://esclinux.tk > 
2 pkgname=phlipple
3 pkgver=0.8.1
4 pkgrel=1
5 pkgdesc="A puzzle game which goal is to reduce a 3D shape to a single square. Elimination of squares is done by flipping edges around just like in a cardboard box."
6 arch=(i686 x86_64)
7 url="http://phuzzboxmedia.com/games/phlipple"
8 license=('gpl')
9 depends=('sdl' 'glew' 'libvorbis')
10 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
11 md5sums=('a89f101eed3ea60998a808082d0da741')
13 build() {
14   cd $srcdir/$pkgname-$pkgver
15    ./configure --prefix=/usr
16         make || return 1
17         make prefix=$startdir/pkg/usr install
19         
20 package() {
22 #desktop icons
23         mkdir -p $pkgdir/usr/share/pixmaps
24         mkdir -p $pkgdir/usr/share/applications
26         cp $srcdir/$pkgname-$pkgver/extra/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
27         
28         install -D -m644 $srcdir/$pkgname-$pkgver/extra/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop}