updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / komi / PKGBUILD
blob37e909a746305656117cfe2ac2191923ff7cbe27
2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
4 pkgname=komi
5 pkgver=1.04
6 pkgrel=2
7 pkgdesc="The basic aim is to collect all the money by extending Komi the Space Frog's tongue, while avoiding the bad guys.."
8 arch=('i686' 'x86_64')
9 url="http://komi.sourceforge.net/"
10 license=('GPL')
11 depends=('sdl_mixer')
12 madepends=('make')
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz Makefile.diff komi.desktop)
14 md5sums=('d1ab0e5429f6aa16169cf989d144e39a' 'd7c4545e7478c7f251fe8c937a231d94'  '21973aaa06e821747cca1d30feeeecb6')
16 build() {
17 cd ${srcdir}/${pkgname}-${pkgver}
18 patch -p0 < ../Makefile.diff || return 1
19 make || return 1
20 mkdir -p ${pkgdir}/usr/share/{applications,komidata}
21 cp -R komidata/* ${pkgdir}/usr/share/komidata
22 install ${srcdir}/komi.desktop ${pkgdir}/usr/share/applications
23 mkdir -p ${pkgdir}/usr/bin
24 install -m755 komi ${pkgdir}/usr/bin/