diff options
author | JakubKloub | 2019-12-28 17:33:04 +0000 |
---|---|---|
committer | JakubKloub | 2019-12-28 17:33:04 +0000 |
commit | 727564850f5e9e2e64b4052ed975575badce6674 (patch) | |
tree | 788b071327522e9f076784aaf110ff0b9c7da9e6 | |
download | aur-727564850f5e9e2e64b4052ed975575badce6674.tar.gz |
2048-curses
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3cbd7df7d190 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = 2048-curses + pkgdesc = Curses based popular game 2048 written in C + pkgver = VERSION + pkgrel = 1.0 + url = https://github.com/theretikgm/2048-curses + arch = any + license = GPL + depends = ncurses>=6.0-0 + source = https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/2048-curses.c + source = https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/dialog.c + source = https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/dialog.h + source = https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/Makefile + md5sums = 49881827fb297a998c49dd03899ae126 + md5sums = a1d9f8f1e1f46ae809cd356fa8c6fe00 + md5sums = 666c1d0f43be2dd2e92a759ece3dfb5a + md5sums = e277d0071243798818031dfe915bdf1b + +pkgname = 2048-curses + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f972f9d8615e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Your Name <TheRetikGM@gmail.com> +pkgname=2048-curses +pkgver=VERSION +pkgrel=1.0 +pkgdesc="Curses based popular game 2048 written in C" +arch=('any') +url="https://github.com/theretikgm/2048-curses" +license=('GPL') +depends=('ncurses>=6.0-0') +source=("https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/2048-curses.c" + "https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/dialog.c" + "https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/dialog.h" + "https://raw.githubusercontent.com/TheRetikGM/2048-curses/master/src/Makefile") +build() { + cd "${srcdir}" + make +} + +package() { + install "${srcdir}/${pkgname}" -D "${pkgdir}/usr/bin/${pkgname}" +} +md5sums=('49881827fb297a998c49dd03899ae126' + 'a1d9f8f1e1f46ae809cd356fa8c6fe00' + '666c1d0f43be2dd2e92a759ece3dfb5a' + 'e277d0071243798818031dfe915bdf1b') |