updated on Fri Jan 20 16:18:17 UTC 2012
[aur-mirror.git] / concentration / PKGBUILD
blobd2574e38c386b45081247b316eda14b306f79c4e
1 # Contributor: Artiom Molchanov <ar.molchanov@gmail.com>
2 pkgname=concentration
3 pkgver=1.2
4 pkgrel=1
5 pkgdesc="A classical memory game"
6 arch=(i686)
7 url="http://www.shiftygames.com/web2/index.php?module=game&name=Concentration"
8 license=('GPL')
9 groups=()
10 depends=(sdl_mixer sdl_ttf sdl_image)
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 install=
18 source=(http://www.shiftygames.com/concentration/$pkgname-$pkgver.tar.gz $pkgname.png $pkgname.desktop)
19 noextract=()
20 md5sums=('f761f0cffcfbfcbe3b4f4a88904adb7c'
21          'a0f56f45d40630a224374a78b5fb909e'
22          '5c5daeb1fc78f0db3f319faa58e081a5')
24 build() {
25   cd "$srcdir/$pkgname-$pkgver"
27   ./configure --prefix=/usr
28   make || return 1
29   make DESTDIR="$pkgdir" install
30   mkdir -p ${startdir}/pkg/usr/share/applications
31   install -m644 ${startdir}/concentration.desktop ${startdir}/pkg/usr/share/applications/
32   mkdir -p ${startdir}/pkg/usr/share/pixmaps
33   install -m644 ${startdir}/concentration.png ${startdir}/pkg/usr/share/pixmaps/