PKGBUILDs/community/flobopuyo/PKGBUILD
2009-10-09 21:15:33 -05:00

34 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <tu@dragonlord.cz>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
pkgname=flobopuyo
pkgver=0.20
pkgrel=3
pkgdesc="Clone of the famous PuyoPuyo."
arch=('i686' 'x86_64')
url="http://www.ios-software.com/?page=projet&quoi=29"
license=('GPL')
depends=('libgl' 'sdl_image' 'sdl_mixer')
source=(http://www.ios-software.com/$pkgname/$pkgname-$pkgver.tgz \
$pkgname-makefile.patch $pkgname-0.20-gcc4.patch \
$pkgname-0.20-libs.patch)
md5sums=('88961898c9dd48b60464f6f10f695b8b'
'4c6667be791681d43bb7ea1b6f9f9072'
'bb8afd6e04bde08fd33e22c466674878'
'7756928de7edbb48cfb40880260e4c22')
build() {
cd "${srcdir}/$pkgname-$pkgver"
patch -Np0 < ${srcdir}/$pkgname-makefile.patch || return 1
patch -Np1 < $srcdir/$pkgname-$pkgver-gcc4.patch || return 1
patch -Np1 < $srcdir/$pkgname-$pkgver-libs.patch || return 1
make || return 1
make DESTDIR=${pkgdir} install
#man page
install -D -m644 "man/$pkgname.6" "${pkgdir}/usr/share/man/man6/$pkgname.6"
}