void-packages/srcpkgs/beanstalkd/template
2020-12-03 09:28:38 -05:00

30 lines
744 B
Bash

# Template file for 'beanstalkd'
pkgname=beanstalkd
version=1.12
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
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=f43a7ea7f71db896338224b32f5e534951a976f13b7ef7a4fb5f5aed9f57883f
system_accounts="_beanstalkd"
replaces="beanstalk>=0"
make_dirs="/var/lib/beanstalkd 755 _beanstalkd _beanstalkd"
CFLAGS="-Wno-error"
pre_build() {
vsed -i 's,override,,g' Makefile
}
post_install() {
vman doc/beanstalkd.1
vdoc README.md README
vdoc doc/protocol.txt
vlicense LICENSE
vsv beanstalkd
}