25 lines
703 B
Bash
25 lines
703 B
Bash
|
# Template file for 'lprng'
|
||
|
pkgname=lprng
|
||
|
version=3.8.C
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
configure_args="--with-userid=_lprng --with-groupid=_lprng"
|
||
|
short_desc="Enhanced Printer Spooler"
|
||
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||
|
license="GPL-2.0-only"
|
||
|
homepage="http://lprng.sourceforge.net/"
|
||
|
distfiles="${SOURCEFORGE_SITE}/lprng/lprng/lprng-${version}.tar.gz"
|
||
|
checksum=694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10
|
||
|
system_accounts="_lprng"
|
||
|
conflicts="cups>=0"
|
||
|
conf_files="/etc/lpd/* /etc/printcap"
|
||
|
|
||
|
export CLEAR=no
|
||
|
|
||
|
post_install() {
|
||
|
mv ${DESTDIR}/etc/printcap{.sample,}
|
||
|
mv ${DESTDIR}/etc/lpd/lpd.conf{.sample,}
|
||
|
mv ${DESTDIR}/etc/lpd/lpd.perms{.sample,}
|
||
|
vsv lprng
|
||
|
}
|