summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2015-09-23 16:03:29 +0200
committeraksr2015-09-23 16:03:29 +0200
commitf437ec95c06fcb0b1b441deb209dd5c348acd929 (patch)
tree52ae9a5e5692ced2528058612287769a40d1fbff
downloadaur-f437ec95c06fcb0b1b441deb209dd5c348acd929.tar.gz
Start.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..063916ba84b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = yetris-git
+ pkgdesc = Customizable Tetris(tm) for the terminal - unstable development version
+ pkgver = 20141010
+ pkgrel = 5
+ url = http://www.github.com/alexdantas/yetris/
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = git
+ depends = ncurses
+ conflicts = yetris
+ source = yetris-git::git+https://github.com/alexdantas/yetris.git
+ sha256sums = SKIP
+
+pkgname = yetris-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..455bfbd8126
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Contributor: Lucas de Sena <lucas DOT ta23 @ gmail DOT com>
+# Maintainer: Alexandre Dantas <eu @ alexdantas DOT net>
+# Contributor: Shizeeg Unadequatov <shizeeque @ gmail DOT com>
+
+pkgname=yetris-git
+pkgver=20141010
+pkgrel=5
+pkgdesc="Customizable Tetris(tm) for the terminal - unstable development version"
+arch=('x86_64' 'i686')
+url="http://www.github.com/alexdantas/yetris/"
+license=('GPL3')
+depends=('ncurses')
+makedepends=('git')
+conflicts=('yetris')
+
+source=("$pkgname::git+https://github.com/alexdantas/yetris.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+# git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+ 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/local" install
+}