~kota/nilsu-pkg-void

f4246a7bdda388dc4bd3a90c9e846c81a0226cfc — Dakota Walsh a month ago 1c8be84
New package: didder-1.1.0
1 files changed, 22 insertions(+), 0 deletions(-)

A srcpkgs/didder/template
A srcpkgs/didder/template => srcpkgs/didder/template +22 -0
@@ 0,0 1,22 @@
# Template file for 'didder'
pkgname=didder
version=1.1.0
revision=1
build_style=go
go_import_path="github.com/makeworld-the-better-one/didder"
go_ldflags="-s -w -X main.version=${version} -X main.builtBy=Void"
hostmakedepends="pandoc"
short_desc="Command-line image dithering tool"
maintainer="Dakota Walsh <kota@nilsu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/makeworld-the-better-one/didder"
changelog="https://github.com/makeworld-the-better-one/didder/blob/main/CHANGELOG.md"
distfiles="https://github.com/makeworld-the-better-one/${pkgname}/archive/refs/tags/v${version}.tar.gz"
checksum=a850ae54125ed2aa1be54b1cc11481c00094d346861bd59014d621dc48f9aed6

post_install() {
	pandoc didder.1.md -s -t man -o didder.1
	sed -i 's/VERSION/$(VERSION)/g' didder.1
	sed -i 's/DATE/$(DATE)/g' didder.1
	vman didder.1
}