summaryrefslogtreecommitdiff
path: root/community/cuyo/PKGBUILD
blob: 994e167d00051eab0aceb3f138305c67953a6db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 84769 2013-02-24 13:12:51Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=cuyo
pkgver=2.0.0
pkgrel=1
epoch=1
pkgdesc="Tetris-style puzzle game for up to two players with a twist"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.karimmi.de/cuyo/"
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'sdl' 'sdl_mixer' 'sdl_image' 'xdg-utils')
makedepends=('patch')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz \
        $pkgname.diff)
sha256sums=('531cfb989087199f643ac4b18ff9cc50793cc3fa07ee06f394f73d153c09ae34'
            'efceed1489c551f5ae8909df3ad57f302f8105cbb1e735d8ece44269e886ce7c')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  patch -Np0 -i ${srcdir}/$pkgname.diff

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}