19 lines
538 B
Bash
19 lines
538 B
Bash
# Template file for 'physlock'
|
|
pkgname=physlock
|
|
version=13
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
makedepends="pam-devel"
|
|
short_desc="Lightweight linux console locking tool"
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/muennich/physlock"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=9ae4716a1e916f141e47a01b439133ca382281ebdcbec1e53f85da6771774bd6
|
|
|
|
CFLAGS="-D_GNU_SOURCE"
|
|
|
|
pre_build() {
|
|
vsed -e 's|^HAVE_SYSTEMD.*|HAVE_SYSTEMD = 0|g' -i Makefile
|
|
}
|