# Maintainer: Drew DeVault pkgname=z80e pkgver=0.4.0 pkgrel=1 license=('MIT') pkgdesc='An emulation library and client programs for z80 calculators' depends=("sdl" "scas") makedepends=("cmake" "asciidoc") arch=("x86_64") url='https://github.com/KnightOS/z80e' source=("$pkgname-$pkgver.tar.gz::https://github.com/KnightOS/z80e/archive/$pkgver.tar.gz") md5sums=('cef93422186f55541be34aee0004bbb8') build() { cd "${pkgname}-${pkgver}" cmake -Denable-sdl=YES -DCMAKE_INSTALL_PREFIX=/usr . make } package() { cd "${pkgname}-${pkgver}" DESTDIR="$pkgdir" make install }