diff options
author | JoseluCross | 2016-05-28 23:31:50 +0200 |
---|---|---|
committer | JoseluCross | 2016-05-28 23:31:50 +0200 |
commit | 73f1e0415343fc4d6bbf2e9e35466efaaddcfa0a (patch) | |
tree | 67288d37d2a23472932e2dc513727c56e7d84f0d | |
download | aur-73f1e0415343fc4d6bbf2e9e35466efaaddcfa0a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2e651ebdfb13 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = 2048-cli-git + pkgdesc = The game 2048 for your Linux terminal + pkgver = 20160528 + pkgrel = 1 + url = https://github.com/tiehuis/2048-cli + arch = x86_64 + arch = i686 + license = MIT + depends = ncurses + depends = sdl + provides = 2048-cli + source = git+https://github.com/tiehuis/2048-cli.git + md5sums = SKIP + +pkgname = 2048-cli-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fe4315d4fba9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +#Package from: Marc Tiehuis <https://github.com/tiehuis> +#AUR Maintainter: JKA Network <contacto@jkanetwork.com> +pkgname=2048-cli-git +_pkgname=2048-cli +_pkgname2=2048 +pkgver=20160528 +pkgrel=1 +pkgdesc="The game 2048 for your Linux terminal" +arch=('x86_64' 'i686') +url="https://github.com/tiehuis/2048-cli" +license=('MIT') +depends=('ncurses' 'sdl') +makedepends('git') +provides=('2048-cli') +conflicts=('2048.c' '2048.c.git') +options=() +source=("git+https://github.com/tiehuis/2048-cli.git") +md5sums=('SKIP') + +build() { + cd "$srcdir"/"$_pkgname" + make + cd man + gzip "$_pkgname2".1 +} +package() { + cd "$srcdir"/"$_pkgname" + mkdir -p "$pkgdir"/usr/{bin,share,} + mkdir -p "$pkgdir"/usr/share/man/man1 + install -Dm755 "$_pkgname2" "$pkgdir"/usr/bin + install -Dm644 man/"$_pkgname2".1.gz "$pkgdir"/usr/share/man/man1 +} |