diff --git a/srcpkgs/trident-automount/template b/srcpkgs/trident-automount/template new file mode 100644 index 0000000000..d5955aab88 --- /dev/null +++ b/srcpkgs/trident-automount/template @@ -0,0 +1,22 @@ +# Template file for 'trident-automount' +pkgname=trident-automount +version=2020.09.02 +revision=1 +wrksrc="trident-utilities-${version}" +build_wrksrc="src-go/automount" +build_style=go +go_import_path="github.com/project-trident/trident-automount" +makedepends="go" +depends="autofs" +short_desc="Automounting daemon from Project Trident utilizing autofs" +maintainer="Ken Moore " +license="BSD-2-Clause" +homepage="https://github.com/project-trident/trident-utilities" +distfiles="https://github.com/project-trident/trident-utilities/archive/v${version}.tar.gz" +checksum=0bf0991c815b56b0143106e29ff2ab952416fd63d1810a6aa51fd95a0de4c48d + +post_install() { + vinstall sv/run 0755 /etc/sv/trident-automount + ln -s /run/runit/supervise.trident-automount $DESTDIR/etc/sv/trident-automount/supervise + vlicense ${wrksrc}/LICENSE +}