# Maintainer: Jelle van der Waa <jelle@archlinux.org>

pkgname=kconfig-hardened-check
pkgver=0.5.10
pkgrel=1
pkgdesc='a script for checking the hardening options in the Linux kernel config'
url="https://github.com/a13xp0p0v/kconfig-hardened-check"
arch=(any)
license=(GPL3)
depends=(python python-setuptools)
source=($pkgname-$pkgver::https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v$pkgver.tar.gz)
sha256sums=('f2f0b4399d6d99c091d2351f63d2a576d4211e52c81a7c0d04bb1dd3e16c5bf6')

build() {
  cd "$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"
  python setup.py install -O1 --root="${pkgdir}" --skip-build
}
