updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / berusky / PKGBUILD
blobb1e183fff074bf9e214c22dd21646ff263a2d07b
1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
2 # Contributor: Mark Coolen <mark.coolen@gmail.com>
4 pkgname=berusky
5 pkgver=1.3
6 pkgrel=2
7 pkgdesc="A logic game based on the puzzle game Sokoban"
8 arch=('i686')
9 url="http://www.anakreon.cz/en/"
10 license=('GPL')
11 depends=('sdl' 'berusky-data')
12 source=(http://www.anakreon.cz/download/${pkgname}-${pkgver}.tar.gz \
13         berusky.png \
14         berusky.desktop)
15 md5sums=('0e2fa2d4b5ce91d8b2a868fd4b5c7cb8' \
16          '8a5f5607b4883f4c86d1ba9fd5ab6156' \
17          '08699c6e9e1004887c3a6f53f2bf797f')
19 build() {
20         cd ${srcdir}/${pkgname}-${pkgver}
21         /bin/sed -i 's|var/games|usr/share|g'    src/defines.h
22         ./configure --prefix=/usr || return 1
23         make || return 1
24         make DESTDIR=${pkgdir} install
25         cd ..
26         install -m644 -D berusky.png ${pkgdir}/usr/share/pixmaps/berusky.png
27         install -m644 -D berusky.desktop ${pkgdir}/usr/share/applications/berusky.desktop
28 #       rm ${pkgdir}/usr/share/berusky/*.spec