void-packages/srcpkgs/opentmpfiles/template

22 lines
597 B
Bash

# Template file for 'opentmpfiles'
pkgname=opentmpfiles
version=0.2
revision=1
archs=noarch
build_style=gnu-makefile
short_desc="A standalone utility for handling systemd-style tmpfiles.d settings"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/OpenRC/opentmpfiles"
distfiles="https://github.com/OpenRC/opentmpfiles/archive/${version}.tar.gz"
checksum=4fa6a78600b1d67d34c441919e5e62ad181af358d9353ce380f515d623177ecb
make_install_args="bindir=/usr/bin"
pre_install() {
sed -i 's|^bindir.*||g' Makefile
}
post_install() {
vlicense license
}