diff options
Diffstat (limited to 'community/cuyo/PKGBUILD')
-rw-r--r-- | community/cuyo/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/cuyo/PKGBUILD b/community/cuyo/PKGBUILD new file mode 100644 index 000000000..dfcd2ffc3 --- /dev/null +++ b/community/cuyo/PKGBUILD @@ -0,0 +1,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') +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 +} |