New package: shinit-0.1.2
This commit is contained in:
parent
82a4c882d0
commit
134ceae06e
2 changed files with 31 additions and 0 deletions
11
srcpkgs/shinit/files/shinit/run
Normal file
11
srcpkgs/shinit/files/shinit/run
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export SHINIT_USER=void
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
shinit
|
||||||
|
|
||||||
|
# This is a strange thing to do, but this service should generally
|
||||||
|
# speaking only ever run once in the life of a machine.
|
||||||
|
rm -f /var/service/shinit
|
20
srcpkgs/shinit/template
Normal file
20
srcpkgs/shinit/template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'shinit'
|
||||||
|
pkgname=shinit
|
||||||
|
version=0.1.2
|
||||||
|
revision=1
|
||||||
|
depends="curl"
|
||||||
|
make_dirs="/var/lib/shinit 0755 root root"
|
||||||
|
short_desc="Minimalist approach to cloud-init style provisioning"
|
||||||
|
maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/the-maldridge/shinit/"
|
||||||
|
distfiles="https://github.com/the-maldridge/shinit/archive/v$version.tar.gz"
|
||||||
|
checksum=04bb0f154acbc11a7271d53569bcb89c598e9e28cdca39c61e281dd38f88f482
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vlicense LICENSE.md
|
||||||
|
vbin shinit
|
||||||
|
vmkdir usr/libexec/shinit
|
||||||
|
vcopy libexec/* usr/libexec/shinit
|
||||||
|
vsv shinit
|
||||||
|
}
|
Loading…
Reference in a new issue