diff options
author | alpterry <alpterry@protonmail.com> | 2019-12-28 18:38:39 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-12-28 19:51:47 +0100 |
commit | e347a1b1b7065c4a84abe91b8d136307499dd893 (patch) | |
tree | a2af9376db18e9a775dd17f6fecb4423146f6f29 | |
parent | c8959edf90ffdf041e37fd4e20f15d86ef98fd0d (diff) | |
download | aports-e347a1b1b7065c4a84abe91b8d136307499dd893.zip |
testing/cmatrix: new aport
-rw-r--r-- | testing/cmatrix/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/cmatrix/APKBUILD b/testing/cmatrix/APKBUILD new file mode 100644 index 00000000000..d7f4fded07d --- /dev/null +++ b/testing/cmatrix/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: alpterry <alpterry@protonmail.com> +# Maintainer: alpterry <alpterry@protonmail.com> +pkgname=cmatrix +pkgver=2.0 +pkgrel=0 +pkgdesc="Terminal based 'The Matrix' like implementation" +url="https://github.com/abishekvashok/cmatrix" +arch="all" +license="GPL-3.0-or-later" +makedepends="ncurses-dev kbd autoconf automake" +subpackages="$pkgname-doc" +options="!check" # no test suite +source="$pkgname-$pkgver.tar.gz::https://github.com/abishekvashok/cmatrix/archive/v$pkgver.tar.gz" + +prepare() { + default_prepare + autoreconf -i +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="1aeecd8e8abb6f87fc54f88a8c25478f69d42d450af782e73c0fca7f051669a415c0505ca61c904f960b46bbddf98cfb3dd1f9b18917b0b39e95d8c899889530 cmatrix-2.0.tar.gz" |