[arch-commits] Commit in kconfig-hardened-check/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sat Oct 31 13:21:41 UTC 2020


    Date: Saturday, October 31, 2020 @ 13:21:41
  Author: jelle
Revision: 737648

upgpkg: kconfig-hardened-check 0.5.9-1

Modified:
  kconfig-hardened-check/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-31 13:16:51 UTC (rev 737647)
+++ PKGBUILD	2020-10-31 13:21:41 UTC (rev 737648)
@@ -1,17 +1,22 @@
 # Maintainer: Jelle van der Waa <jelle at archlinux.org>
 
 pkgname=kconfig-hardened-check
-pkgver=0.5.5
+pkgver=0.5.9
 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)
+depends=(python python-setuptools)
 source=($pkgname-$pkgver::https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v$pkgver.tar.gz)
-sha256sums=('9d91e5f563dffbe4d08b77998f1cd2e01b6dbfc434b7b4d4de3103f8b14abc68')
+sha256sums=('ffea105f7532fe03ae48f4d0b8c9c0a74f1279a924111214c43f96e1200823ba')
 
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
 package() {
   cd "$pkgname-$pkgver"
-  install -Dm755 kconfig-hardened-check.py "$pkgdir/usr/bin/kconfig-hardened-check"
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
 }



More information about the arch-commits mailing list