void-packages/srcpkgs/opentmpfiles/template

21 lines
577 B
Bash

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