diff --git a/srcpkgs/chathistorysync/template b/srcpkgs/chathistorysync/template new file mode 100644 index 00000000000..ad18d553435 --- /dev/null +++ b/srcpkgs/chathistorysync/template @@ -0,0 +1,23 @@ +# Template file for 'chathistorysync' +pkgname=chathistorysync +version=0.1.0 +revision=1 +wrksrc="${pkgname}-v${version}" +build_style=go +go_import_path="git.sr.ht/~emersion/chathistorysync" +hostmakedepends="scdoc" +short_desc="Synchronization tool for IRC chat history" +maintainer="Daniel Lewan " +license="AGPL-3.0-or-later" +homepage="https://sr.ht/~emersion/chathistorysync/" +distfiles="https://git.sr.ht/~emersion/chathistorysync/archive/v${version}.tar.gz" +checksum=8d9a44040645e1ba3d3ea8655311b2ced89b732fd8efb5c1b9a9a91f16feefbc + +post_build() { + make chathistorysync.1 +} + +post_install() { + vman chathistorysync.1 + vlicense LICENSE +}