updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / osmos-demo / PKGBUILD
blobd9bb3e020439e3d13a0c719943c53b94a3d36853
1 # Contributor: Artificial Intelligence <polarbeard@gmail.com>
3 pkgname=osmos-demo
4 pkgver=1.6.0
5 pkgrel=3
6 pkgdesc="Enter the ambient world of Osmos: elegant, physics-based gameplay, dreamlike visuals, and a minimalist, electronic soundtrack."
7 arch=('i686' 'x86_64')
8 url='http://www.hemispheregames.com/Osmos/'
9 license=('custom: "commercial"')
10 install=osmos-demo.install
11 depends=('freetype2' 'openal' 'mesa' 'libvorbis')
12 source=("http://www.hemispheregames.com/latest_osmos_demo_linux_targz"
13 'osmos-demo.desktop'
14 'osmos-demo.launcher')
15 md5sums=('3ba2ebd3b187c4b2d3a841546b27c7d8' '5a893d9e6847f063dbb854570ea60ea6' '59fa1a05a191734f7185c8285434c471')
18 build() {
19     cd $srcdir || return 1
21 # Create Destination Directory
22     install -d $pkgdir/opt/Osmos-demo || return 1
24 # Extract Game 
25     tar zxfv $srcdir/latest_osmos_demo_linux_targz || return 1
27 # Install the data
28     cp -r $srcdir/OsmosDemo/* $pkgdir/opt/Osmos-demo || return 1
30 # Install Icon
31     install -D -m 644 $pkgdir/opt/Osmos-demo/Icons/128x128.png \
32         $pkgdir/usr/share/pixmaps/Osmos-demo.png || return 1
34 # Install Launcher
35     install -D -m 644 $srcdir/osmos-demo.desktop \
36         $pkgdir/usr/share/applications/osmos-demo.desktop || return 1
38 # Install Game Launcher
39     install -D -m 755 $srcdir/osmos-demo.launcher \
40         $pkgdir/usr/bin/osmos-demo || return 1