void-packages/srcpkgs/sinit/template

23 lines
615 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Template file for 'sinit'
pkgname=sinit
version=0.9
revision=1
build_style=gnu-makefile
replaces="sinit>=0"
short_desc="A simple init, initially based on Rich Felkers minimal init"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/sinit/"
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2d963e558ae272564c1360b8318e425aa6a69011d562b8e625860f363f8217af
pre_build() {
LD=$CC
cp ${FILESDIR}/config.h config.h
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vinstall README 644 usr/share/doc/${pkgname}
}