Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f7ed89
commit 936d08c
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Template file for 'superd' | ||
pkgname=superd | ||
version=0.7 | ||
revision=1 | ||
build_style=go | ||
go_import_path="sr.ht/~craftyguy/superd" | ||
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/" | ||
distfiles="https://git.sr.ht/~craftyguy/superd/archive/${version}.tar.gz" | ||
checksum=7563647dd5303752237e1b8453c770dd83c908a239da73f48b11e2151109586b | ||
|
||
do_build() { | ||
unset LDFLAGS | ||
make VERSION=${version} | ||
} | ||
|
||
do_check() { | ||
go test ./... | ||
} | ||
|
||
do_install() { | ||
unset LDFLAGS | ||
make PREFIX=/usr DESTDIR=${DESTDIR} install | ||
} |