void-packages/srcpkgs/beanstalkd/template
Nathan Owens 944def3e45 beanstalkd: update to 1.11
Updated to 1.11 and some template cleanup

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-05 15:26:40 +01:00

30 lines
760 B
Bash

# Template file for 'beanstalkd'
pkgname=beanstalkd
version=1.11
revision=1
build_style=gnu-makefile
short_desc="Simple, fast, general-purpose work queue"
maintainer="bougyman <bougyman@voidlinux.org>"
license="MIT"
homepage="http://kr.github.io/beanstalkd/"
distfiles="https://github.com/kr/beanstalkd/archive/v${version}.tar.gz"
checksum=5e3414e49d00e9ef9530897983e56bdba98da6f8f1f30f5fe7e6064b2f68c544
system_accounts="_beanstalkd"
replaces="beanstalk>=0"
make_dirs="/var/lib/beanstalkd 755 _beanstalkd _beanstalkd"
CFLAGS="-Wno-error"
pre_build() {
sed -i 's,sys/fcntl.h,fcntl.h,' sd-daemon.c
vsed -i 's,override,,g' Makefile
}
post_install() {
vman doc/beanstalkd.1
vdoc README.md README
vdoc doc/protocol.txt
vlicense LICENSE
vsv beanstalkd
}