void-packages/srcpkgs/ckmame/template

23 lines
668 B
Bash

# Template file for 'ckmame'
pkgname=ckmame
version=1.0
revision=1
wrksrc=${pkgname}-rel-${version//./-}
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libxml2-devel libzip-devel sqlite-devel"
short_desc="Program to check ROM sets for MAME"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD-3-clause"
homepage="https://nih.at/ckmame/"
distfiles="https://github.com/nih-at/ckmame/archive/rel-${version//./-}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=9fc5dcf1d2dd75351b2cdf43ce10fecda7d97c8c1a8dd0fe1f653229bb316130
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static"
fi
post_install() {
vlicense ${wrksrc}/LICENSE
}