# Maintainer: lmartinez-mirror # Contributor: Caltlgin Stsodaat # Contributor: Simon Legner pkgname=spectre-meltdown-checker-git _pkgname=${pkgname%-git} pkgver=0.44.r7.g3a486e9 pkgrel=1 pkgdesc='Spectre, Meltdown, Foreshadow, Fallout, RIDL, ZombieLoad vulnerability/mitigation checker' arch=('any') url='https://github.com/speed47/spectre-meltdown-checker' license=('GPL3') makedepends=('git') provides=("$_pkgname") conflicts=("$_pkgname") source=("git+${url}.git") sha256sums=('SKIP') pkgver() { git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } package() { install -Dm755 "${_pkgname}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}" install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" "${_pkgname}/README.md" } # vim: ts=2 sw=2 et: