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

28 lines
808 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <tu@dragonlord.cz>
# Contributor: Jaroslav Lichtblau <tu@dragonlord.cz>
pkgname=cuyo
pkgver=2.1.1
pkgrel=3
pkgdesc="Tetris-style puzzle game for up to two players with a twist."
arch=('i686' 'x86_64')
url="http://www.karimmi.de/cuyo/"
license=('GPL')
depends=('sdl' 'sdl_mixer' 'sdl_image')
makedepends=('patch')
source=(http://download.savannah.gnu.org/releases/cuyo/$pkgname-2.~-1.1.tar.gz \
$pkgname-desktopfile.diff)
md5sums=('1629b257311c6c55cf657f0fa92dbd92'
'5028f10dabe39a8de1d4fdd0be939f38')
build() {
cd "${srcdir}/$pkgname-2.~-1.1"
patch -Np0 -i "${srcdir}/$pkgname-desktopfile.diff" || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
}