updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / berusky2 / PKGBUILD
blob2b2e7ea0cea9ca966d4c8a602918aac90d3b48d1
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Mark Coolen <mark.coolen@gmail.com>
4 pkgname=berusky2
5 pkgver=0.5
6 pkgrel=2
7 pkgdesc="A logic game based on the puzzle game Sokoban"
8 arch=('i686' 'x86_64')
9 url="http://www.anakreon.cz/en/"
10 license=('GPL')
11 depends=('sdl_image' 'mesa' 'berusky2-data')
12 source=("http://www.anakreon.cz/download/${pkgname}-${pkgver}.tar.gz"
13         'berusky2.png' 'berusky2.desktop')
14 md5sums=('7ef7a5ea042b1497d714449a535a5da7'
15          '8a5f5607b4883f4c86d1ba9fd5ab6156'
16          '3363c8d4d28da48a25e9ee403680fdbe')
18 build() {
19   cd ${srcdir}/${pkgname}-${pkgver}
20   ./configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
21  --with-ini-file-global-dir=\"/usr/share/berusky2\"
22   make
25 package() {
26   cd ${srcdir}/${pkgname}-${pkgver}
27   make DESTDIR=${pkgdir} install
28     
29   install -m644 -D ${srcdir}/berusky2.png ${pkgdir}/usr/share/pixmaps/berusky2.png
30   install -m644 -D ${srcdir}/berusky2.desktop ${pkgdir}/usr/share/applications/berusky2.desktop