updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / xye / PKGBUILD
blob674539d53b13903af23dd00a06f60b85ed08d587
1 # Maintainer: Hubert Maraszek <marach5 at gmail dot com>
2 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
4 pkgname=xye
5 pkgver=0.12.0
6 pkgrel=1
7 pkgdesc="Puzzle game in which the objective is to help a character that looks like a green circle to get all the gems in the room."
8 url="http://xye.sourceforge.net/"
9 license=('GPL')
10 arch=('i686' 'x86_64')
11 depends=('sdl_image' 'sdl_ttf' 'gcc-libs')
12 makedepends=('imagemagick')
13 source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz 
14         xye.desktop)
15 md5sums=('25c44973d946294a30b5ca8821440866'
16          '0bc624b90351f316f2c318957695b7d1')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   ./configure --prefix=/usr
22   make
23   make DESTDIR="$pkgdir" install
24   convert xye.svg xye.png
25   install -D xye.png "$pkgdir/usr/share/xye/xye.png"
26   install -D ../xye.desktop "$pkgdir/usr/share/applications/xye.desktop"