updated on Sun Jan 8 12:02:35 UTC 2012
[aur-mirror.git] / qonk / PKGBUILD
bloba7e75fa17851a3388b5288226ad79e676abf8cf7
1 # Contributor: Troels Kofoed Jacobsen <tkjacobsen@gmail.com>
3 pkgname=qonk
4 pkgver=0.3.1
5 pkgrel=2
6 pkgdesc="A small space build-and-conquer strategy game."
7 url="http://qonk.sf.net"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('sdl_ttf' 'sdl_gfx' 'sdl_image')
11 source=(http://downloads.sourceforge.net/qonk/$pkgname-$pkgver.tar.gz
12         qonk.desktop
13         qonk.patch
14         qonk.png)
15      
16 build() { 
17   cd ${srcdir}/${pkgname}-${pkgver}
18   
19   patch -Np0 -i ${srcdir}/${pkgname}.patch
20   
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd ${srcdir}/${pkgname}-${pkgver}
27   
28   make DESTDIR="${pkgdir}/" install
29   
30   # delete the guichan header file
31   rm -r ${pkgdir}/guichan
33   # install the .desktop file
34   install -Dm0644 ${srcdir}/qonk.desktop ${pkgdir}/usr/share/applications/qonk.desktop
35   install -Dm0644 ${srcdir}/qonk.png ${pkgdir}/usr/share/qonk/qonk.png
37 md5sums=('9491980477ac5beb5bba6b8234d2ddfd'
38          '3bcea57577ee185fe2a27e3548cb6be6'
39          '5e41f4e7efb6281655db29a541cf2b35'
40          '8f8d7b7d06111b102f6c1ad1aad290c0')