# Maintainer: user _githubuser=gwenhael-le-moine _githubrepo=x48ng _pkgtagname=0.10.0 pkgname=x48ng pkgver=0.10.0 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') install="${pkgname}.install" source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz") sha256sums=('4fbd5f7b290271c4dbcfa9571d035c96ed1482bdd8fd641c3da785796efc15a9') build() { cd "${_githubrepo}-${pkgver}" make } package() { cd "${_githubrepo}-${pkgver}" make DESTDIR="${pkgdir}/" install install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }