# Maintainer: MatMoul _githubuser=gwenhael-le-moine _githubrepo=x48ng _gitcommit=8a1d55975ff452b0d4e35b12934fda998bacbccf pkgname=x48ng-git pkgver=0.11.0.r3.8a1d559 pkgrel=1 pkgdesc='A reboot of the x48 HP 48 emulator' arch=('any') url="https://github.com/${_githubuser}/${_githubrepo}" license=('GPL2') depends=('readline' 'libxext' 'xterm' 'xorg-mkfontscale' 'xorg-fonts-misc') makedepends=('git') install="${pkgname}.install" conflicts=('x48ng') source=("git+https://github.com/${_githubuser}/${_githubrepo}.git#commit=${_gitcommit}") sha256sums=('SKIP') build() { cd "${_githubrepo}" make } package() { cd "${_githubrepo}" make DESTDIR="${pkgdir}/" install install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/x48ng/LICENSE" }