summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormegadrivers2015-08-08 20:01:45 +0200
committermegadrivers2015-08-08 20:01:45 +0200
commit4485787654081a4c8aeebae7d2a006e556f3af4a (patch)
treed309caf66506f26056514342198dd4a753d71bb3 /PKGBUILD
downloadaur-4485787654081a4c8aeebae7d2a006e556f3af4a.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1ee29de82b2
--- /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=nsnake
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="Customizable Snake game with ncurses for the terminal"
+arch=('x86_64' 'i686')
+url="http://nsnake.alexdantas.net/"
+license=('GPL3')
+depends=('ncurses')
+source=(https://github.com/alexdantas/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('bb024bdf8f95989b38c4893a99228d34')
+
+build() {
+ cd "$srcdir/nSnake-$pkgver"
+
+ make
+}
+
+package() {
+ cd "$srcdir/nSnake-$pkgver"
+
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+}
+