physlock: update to 11.

This commit is contained in:
Michael Gehring 2017-07-14 14:21:56 +00:00
parent 3b726f80d5
commit c48e46bbd1

View file

@ -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 <eivind@uggedal.com>"
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"