summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8551ef3c37f4e91fa4519d4d424b6194a250ace7 (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
# Contributor: Lucas de Sena <lucas DOT ta23 @ gmail DOT com>
# Contributor: Shizeeg Unadequatov <shizeeque @ gmail DOT com>
# Contributor: Alexandre Dantas <eu @ alexdantas DOT net>
# Maintainer: aksr <aksr at t-com dot me>
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
}