void-packages/srcpkgs/physlock/template
2015-06-24 07:44:49 +00:00

17 lines
494 B
Bash

# Template file for 'physlock'
pkgname=physlock
version=0.4.5
revision=3
build_style=gnu-makefile
short_desc="Lightweight linux console locking tool"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2"
homepage="https://github.com/muennich/physlock"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=5ddb42553142c5e2b8744d086bb8f5bf131a29fc58b8886e825b80e6a456961c
pre_build() {
sed -i Makefile \
-e 's/^CFLAGS\s*=/override CFLAGS +=/' \
-e 's|-o root -g root||'
}