1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
5 pkgname=${_pkgname}-git
6 pkgver=20191210.9b387c3
8 pkgdesc='Console version of the game "2048" for GNU/Linux'
9 url='https://github.com/mevdschee/2048.c'
10 arch=('i686' 'x86_64' 'armv7h' 'armv6h')
11 license=('custom:MIT')
13 source=("${_pkgname}::git+https://github.com/mevdschee/2048.c.git")
16 provides=("${_pkgname}")
17 conflicts=("${_pkgname}")
20 cd "${srcdir}/${_pkgname}"
21 git log -1 --format='%cd.%h' --date=short | tr -d -
25 cd "${srcdir}/${_pkgname}"
30 cd "${srcdir}/${_pkgname}"
35 cd "${srcdir}/${_pkgname}"
36 install -Dm755 2048 "${pkgdir}/usr/bin/2048"
37 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"