summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormegadrivers2015-08-08 19:56:54 +0200
committermegadrivers2015-08-08 19:56:54 +0200
commit54fae0cfe60058047f7d24270ccb7621346cdcae (patch)
treef25c257816d64959018ba2c882f2aceb830c5e18
downloadaur-54fae0cfe60058047f7d24270ccb7621346cdcae.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..896807ac0b3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = yetris
+ pkgdesc = Customizable Tetris clone for the terminal
+ pkgver = 2.3.0
+ pkgrel = 2
+ url = http://yetris.alexdantas.net/
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ depends = ncurses
+ source = https://github.com/alexdantas/yetris/archive/v2.3.0.tar.gz
+ md5sums = 2a503ccfc91c99910d53659dbfc14c5c
+
+pkgname = yetris
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..10ad18ba607
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: megadriver <megadriver at gmx dot com>
+# Contributor: Lucas de Sena <lucas DOT ta23 @ gmail DOT com>
+# Contributor: Alexandre Dantas <eu @ alexdantas DOT net>
+
+pkgname=yetris
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="Customizable Tetris clone for the terminal"
+arch=('x86_64' 'i686')
+url="http://yetris.alexdantas.net/"
+license=('GPL3')
+depends=('ncurses')
+source=(https://github.com/alexdantas/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('2a503ccfc91c99910d53659dbfc14c5c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+}
+