31 lines
875 B
Plaintext
31 lines
875 B
Plaintext
# Template file for 'lutgen'
|
|
pkgname=lutgen
|
|
version=1.0.0
|
|
revision=2
|
|
archs="x86_64"
|
|
makedepends="curl"
|
|
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"
|
|
executable="https://github.com/ozwaldorf/lutgen-rs/releases/download/lutgen-v${version}/lutgen-cli-v${version}-x86_64-unknown-linux-gnu "
|
|
checksum=d744cd4bb6033e252cff8918417f60825d080f2f24fade1fd42a1eed8be96b81
|
|
|
|
do_fetch() {
|
|
mkdir -p $wrksrc
|
|
curl -L ${executable} -o ${wrksrc}/lutgen
|
|
}
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
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
|
|
}
|