# Template file for 'opentmpfiles'
pkgname=opentmpfiles
version=0.2
revision=2
build_style=gnu-makefile
make_install_args="bindir=/usr/bin"
short_desc="Standalone utility for handling systemd-style tmpfiles.d settings"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/OpenRC/opentmpfiles"
distfiles="https://github.com/OpenRC/opentmpfiles/archive/${version}.tar.gz"
checksum=4fa6a78600b1d67d34c441919e5e62ad181af358d9353ce380f515d623177ecb

pre_install() {
	vsed -i 's|^bindir.*||g' Makefile
}

post_install() {
	vlicense license
}
