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 /PKGBUILD | |
download | aur-727564850f5e9e2e64b4052ed975575badce6674.tar.gz |
2048-curses
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
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') |