From c48e46bbd1fbd415057ca8444b54148b7898d2bb Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 14 Jul 2017 14:21:56 +0000 Subject: [PATCH] physlock: update to 11. --- srcpkgs/physlock/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/physlock/template b/srcpkgs/physlock/template index 5e4cbc46738..6bf1e784455 100644 --- a/srcpkgs/physlock/template +++ b/srcpkgs/physlock/template @@ -1,17 +1,14 @@ # Template file for 'physlock' pkgname=physlock -version=0.5 +version=11 revision=1 build_style=gnu-makefile +make_use_env=yes short_desc="Lightweight linux console locking tool" maintainer="Eivind Uggedal " +makedepends="pam-devel" license="GPL-2" homepage="https://github.com/muennich/physlock" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=395873abe9bfb3879df796bd9d857be024c4ca01c5b6e83cfd3253647b558782 - -pre_build() { - sed -i Makefile \ - -e 's/^CFLAGS\s*=/override CFLAGS +=/' \ - -e 's|-o root -g root||' -} +checksum=f03031a6f4c6a08d62098457834d04b8835082a76609059451397356a83d4442 +CFLAGS="-D_GNU_SOURCE"