updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xkobo / PKGBUILD
blobf9dbadae0d6621dc7cd56481814d4a6e3f07bb70
1 # Maintainer: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: Ray Kohler <ataraxia937 at gmail dot com>
4 pkgname=xkobo
5 pkgver=1.11
6 pkgrel=5
7 pkgdesc='The original game by Akira Higuchi'
8 arch=('i686' 'x86_64')
9 url='http://happypenguin.org/show?XKobo'
10 license=('GPL')
11 depends=('libxext' 'gcc-libs' 'ttf-dejavu')
12 makedepends=('imake')
13 source=("http://www.ibiblio.org/pub/X11/contrib/games/${pkgname}-${pkgver}.tar.gz"
14         "01-modernize.patch"
15         "02-${pkgname}.patch")
16 md5sums=('b350678e49ad1a319a73d3e23ba5ec06'
17          '95ecd16a58144671fad93c3a481fdb18'
18          '7f410c47a36199c2560e4939e3d2241a')
20 build() {
21   cd "${srcdir}/${pkgname}-${pkgver}"
22   patch -p1 -i "../01-modernize.patch"
23   patch -p0 -i "../02-${pkgname}.patch"
24   xmkmf -a
25   make || return 1
28 package() {
29   cd "${srcdir}/${pkgname}-${pkgver}"
30   make "DESTDIR=${pkgdir}" install
31   install -Dm644 "${pkgname}.man" "${pkgdir}/usr/share/man/man6/${pkgname}.6"
34 # vim:set ts=2 sw=2 et: