aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nsnake/APKBUILD
diff options
context:
space:
mode:
authorDavid Demelier <markand@malikania.fr>2020-01-22 11:13:40 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-22 11:28:53 +0100
commit3a43d1846deb1b3a28b7248e3f8b41fa9ce765fb (patch)
treea7f6b49be959a8d2bd1e904d60551c1a7b4ceda6 /testing/nsnake/APKBUILD
parent95553bdbf59d6505291ee513d4bc04dc741fbe5a (diff)
downloadaports-3a43d1846deb1b3a28b7248e3f8b41fa9ce765fb.tar.bz2
aports-3a43d1846deb1b3a28b7248e3f8b41fa9ce765fb.tar.xz
testing/nsnake: new aport
http://projects.malikania.fr/nsnake snake game for your terminal
Diffstat (limited to 'testing/nsnake/APKBUILD')
-rw-r--r--testing/nsnake/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/nsnake/APKBUILD b/testing/nsnake/APKBUILD
new file mode 100644
index 0000000000..1d2952bd1f
--- /dev/null
+++ b/testing/nsnake/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: David Demelier <markand@malikania.fr>
+# Maintainer: David Demelier <markand@malikania.fr>
+pkgname="nsnake"
+pkgver="2.2.0"
+pkgrel=0
+pkgdesc="snake game for your terminal"
+url="http://projects.malikania.fr/nsnake"
+arch="all"
+license="ISC"
+makedepends="ncurses-dev"
+subpackages="$pkgname-doc"
+source="
+ http://releases.malikania.fr/nsnake/$pkgver/$pkgname-$pkgver.tar.xz
+ patch-ncurses.patch"
+options="!check suid" # suid is required for saving scores.
+
+prepare() {
+ default_prepare
+}
+
+build() {
+ make PREFIX=/usr VARDIR=/var
+}
+
+package() {
+ make PREFIX=/usr VARDIR=/var DESTDIR="$pkgdir" install
+}
+
+sha512sums="275fdabfe2a4fead664198c98f7d5425d6c60b2334497405dca0a3c3f77c2d0bb5ba8a8e404b61acb7e238de0cf900e5861fa3442cee89cf9c9591f05b5900bf nsnake-2.2.0.tar.xz
+64a3973aa47917d48d67413a388b028431d63f20fe7c44b4e95a85a9d894917728f7efd88c5ddc3d9a84d3d839845a09f10ba1dd21bf17826d850ea1248b1915 patch-ncurses.patch"