# Contributor: Lucas de Sena # Contributor: Shizeeg Unadequatov # Contributor: Alexandre Dantas # Maintainer: aksr pkgname=yetris-git pkgver=20150103 pkgrel=1 pkgdesc='Customizable Tetris(tm) for the terminal.' arch=('x86_64' 'i686') url="http://www.github.com/alexdantas/yetris/" license=('GPL3') depends=('ncurses') makedepends=('git') conflicts=("${pkgname%-*}") source=("$pkgname::git+https://github.com/alexdantas/yetris") md5sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" git log -1 --date=short | grep 'Date:' | sed 's|[^0-9]||g' } build() { cd "$srcdir/$pkgname" make } package() { cd "$srcdir/$pkgname" make DESTDIR="$pkgdir" PREFIX="/usr" install }