add lutgen

This commit is contained in:
2025-01-21 04:41:35 -06:00
parent 689ba9e6b9
commit 6d8c55b4a6

20
srcpkgs/lutgen/template Normal file
View File

@ -0,0 +1,20 @@
# Template file for 'lutgen'
pkgname=lutgen
version=0.11.2
revision=1
archs="x86_64"
short_desc="Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes."
maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
license="MIT"
homepage="https://github.com/ozwaldorf/lutgen-rs"
distfiles="https://github.com/ozwaldorf/lutgen-rs/releases/download/v${version}/lutgen-${version}-x86_64.tar.gz"
checksum=8fc2df1b0ef1379ffdd30a8c7ae07986b6996b7635cdbc62b909c43756213626
do_install() {
local package_location="usr/lib/$pkgname"
vmkdir ${package_location}
chmod +x lutgen
vcopy "lutgen" "${package_location}"
vmkdir usr/bin
ln -sfr $DESTDIR/${package_location}/lutgen $DESTDIR/usr/bin/lutgen
}