25 lines
690 B
Bash
25 lines
690 B
Bash
# Template file for 'sinit'
|
||
pkgname=sinit
|
||
version=1.1
|
||
revision=1
|
||
build_style=gnu-makefile
|
||
short_desc="Simple init, initially based on Rich Felker’s minimal init"
|
||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||
license="MIT"
|
||
homepage="http://tools.suckless.org/sinit/"
|
||
distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
||
checksum=545a6dd100e17a089b009562a946d76ff0578d060c237d94d39fadc555f7b549
|
||
|
||
pre_build() {
|
||
LD=$CC
|
||
sed -i 's| -Os||g' config.mk
|
||
sed -i 's|^CPPFLAGS =|override CPPFLAGS +=|g' config.mk
|
||
sed -i 's|^CFLAGS =|override CFLAGS +=|g' config.mk
|
||
sed -i 's|^LDFLAGS =|override LDFLAGS +=|g' config.mk
|
||
}
|
||
|
||
post_install() {
|
||
vlicense LICENSE
|
||
vdoc README
|
||
}
|