summaryrefslogtreecommitdiff
path: root/community/cuyo/PKGBUILD
blob: f80aec17b0f9e0a024e29abe310ef02264ae7329 (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
# $Id: PKGBUILD 60801 2011-12-18 13:21:49Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=cuyo
pkgver=2.1.2
pkgrel=1
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=('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-2.~-1.2.tar.gz \
        $pkgname.diff)
sha256sums=('3fb44af4e6f8d205d11d44b5a96ffa4a11eab5a4fa86897463c0c6ca0658adb0'
            'dd81909594072f030571f2afc39cc69838eed26304d2d89949ac1c2c850dcafe')

build() {
  cd ${srcdir}/$pkgname-2.~-1.2

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

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-2.~-1.2

  make DESTDIR=${pkgdir} install
}