summaryrefslogtreecommitdiff
path: root/community/slimevolley/PKGBUILD
blob: 0259f974ebfaed1a70118826f8bc557d9187cdfb (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
# $Id: PKGBUILD 33998 2010-11-30 17:47:24Z lcarlier $
# Maintainer : Geoffroy Carrier <gcarrier@aur.archlinux.org>
# Contributor: Joel Schaerer <joel.schaerer@laposte.net>

pkgname=slimevolley
pkgver=2.4.2
pkgrel=1
pkgdesc="A simple yet fun arcade volley game"
arch=('i686' 'x86_64')
url="http://slime.tuxfamily.org/index.php"
license=('GPL')
depends=('sdl_net' 'sdl_ttf' 'sdl_image')
makedepends=('cmake')
source=("http://downloads.tuxfamily.org/slime/v242/${pkgname}_${pkgver}.tar.bz2")
md5sums=('42d1287bf459c26475a9bb7a9bb167e5')

build() {
  cd "$srcdir/$pkgname"

  cmake -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr .
  make
}

package() {
  cd "$srcdir/$pkgname"

  make DESTDIR="${pkgdir}" install
}