26 lines
819 B
Bash
26 lines
819 B
Bash
# Template file for 'superd'
|
|
pkgname=superd
|
|
version=0.7.1
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="sr.ht/~craftyguy/superd"
|
|
go_package="${go_import_path}/cmd/superd ${go_import_path}/cmd/superctl"
|
|
go_ldflags="-X 'main.Version=${version}'"
|
|
make_dirs="/etc/superd/services 0755 root root"
|
|
hostmakedepends="scdoc"
|
|
short_desc="Lightweight user service supervising daemon"
|
|
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://sr.ht/~craftyguy/superd/"
|
|
changelog="https://git.sr.ht/~craftyguy/superd/blob/master/CHANGELOG.md"
|
|
distfiles="https://git.sr.ht/~craftyguy/superd/archive/${version}.tar.gz"
|
|
checksum=59de58f43bd237c12d0e73425df954eb14dd4e87e11d990e8191aa6921ee08d3
|
|
|
|
do_check() {
|
|
go test ./...
|
|
}
|
|
|
|
post_install() {
|
|
make PREFIX=/usr DESTDIR=${DESTDIR} installmisc
|
|
}
|