# Template file for 'gifski'
pkgname=gifski
version=1.14.4
revision=1
build_style=cargo
short_desc="Highest-quality GIF encoder based on pngquant"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="AGPL-3.0-only"
homepage="https://gif.ski"
changelog="https://github.com/ImageOptim/gifski/releases"
distfiles="https://github.com/ImageOptim/gifski/archive/refs/tags/${version}.tar.gz"
checksum=7d6b1400833c31f6a24aac3a1b5d44c466e07f98af6d6c17487a7c8c6f4aa519

pre_build() {
	# https://github.com/ImageOptim/gifski/issues/300#issuecomment-1553003435
	rm -rf .cargo
}

post_install() {
	vlicense LICENSE
}
