summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a48e6bf9fc1f209a6ab8cee9b0ce380e68083ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: jose <jose1711 [at] gmail (dot) com>

pkgname=andyetitmoves-demo
pkgver=1.2.2
pkgrel=1
pkgdesc="physics-based platform game (demo)"
arch=('i686' 'x86_64')
url="http://www.andyetitmoves.net/"
license=("custom:shareware")
source=("andyetitmovesdemo.desktop")
depends=("mesa" "libxft" "sdl_image" "libtheora" "libvorbis" "openal" "libpng12")
md5sums=('32794af11a18207c0fc1ce5fbd26e30c')
options=('!strip')

[ "$CARCH" = "i686" ] && source=(${source[@]} "http://www.andyetitmoves.net/demo/andyetitmovesDemo-"$pkgver"_i386.tar.gz")
[ "$CARCH" = "x86_64" ] && source=(${source[@]} "http://www.andyetitmoves.net/demo/andyetitmovesDemo-"$pkgver"_x86_64.tar.gz") 
[ "$CARCH" = "i686" ] && md5sums=(${md5sums[@]} '93176476d2be3065d2f1fa3b79852702')
[ "$CARCH" = "x86_64" ] && md5sums=(${md5sums[@]} '47ab38352a95f79d84446dc78aaa7e76')

build() {
true
}

package() {
  cd $srcdir/AndYetItMovesDemo
  mkdir -p $pkgdir/usr/{share/AndYetItMovesDemo,bin}
  /bin/tar cf - * | ( cd ../../pkg/usr/share/AndYetItMovesDemo/; tar xfp - )
  ln -s /usr/share/AndYetItMovesDemo/AndYetItMovesDemo $pkgdir/usr/bin/AndYetItMovesDemo
  install -D -m644 icons/48x48.png $pkgdir/usr/share/pixmaps/andyetitmovesdemo.png
  install -D -m644 $srcdir/andyetitmovesdemo.desktop $pkgdir/usr/share/applications/andyetitmovesdemo.desktop
}