Compare commits

...

4 Commits

Author SHA1 Message Date
652c7fc116 update the makefile to error faster 2025-06-27 08:31:04 -04:00
bec0968764 update XD 2025-06-27 08:30:36 -04:00
804edca4fe add lutgen-studio 2025-06-27 08:30:22 -04:00
ca3a9d8b1e update lutgen 2025-06-27 08:30:04 -04:00
4 changed files with 56 additions and 13 deletions

View File

@ -1,8 +1,9 @@
BUILDDIR := ./void-packages
TEMPLATES := $(shell find srcpkgs/* -maxdepth 0 -type d)
PACKAGES := $(addprefix $(BUILDDIR)/,$(notdir $(TEMPLATES)))
.SHELLFLAGS := -ec
all: sync $(PACKAGES) end
all: sync $(PACKAGES) dest end
$(info TEMPLATES: $(TEMPLATES))
$(info PACKAGES: $(PACKAGES))
@ -11,11 +12,13 @@ $(BUILDDIR)/%: srcpkgs/%
@echo "Building package: $<"
@rm -rf $(BUILDDIR)/srcpkgs/$<
@cp -ru $< $(BUILDDIR)/srcpkgs/
@-cd $(BUILDDIR) && ./xbps-src clean $<
@-cd $(BUILDDIR) && ./xbps-src pkg $< || echo "Warning: Failed to build $<"
@cd $(BUILDDIR) && ./xbps-src clean $<
@cd $(BUILDDIR) && ./xbps-src pkg $<
dest:
@mkdir -p ./dest
@-cp -u $(BUILDDIR)/hostdir/binpkgs/*.xbps ./dest/
@-cp $(BUILDDIR)/hostdir/binpkgs/x86_64-repodata ./dest/
@cp -u $(BUILDDIR)/hostdir/binpkgs/*.xbps ./dest/
@cp $(BUILDDIR)/hostdir/binpkgs/x86_64-repodata ./dest/
end:
@printf "\n\n\033[1;31mRun the following commands:\033[m\n"

View File

@ -1,7 +1,7 @@
# Template file for 'XD'
pkgname=XD
version=3.3
revision=1
revision=2
archs="x86_64"
makedepends="git libgit2-devel pkg-config"
depends="libgit2"
@ -10,8 +10,8 @@ short_desc="smiley face to explain info on the shell"
maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
license="GPL-3.0-or-later"
homepage="https://git.squi.bid/XD"
distfiles="https://git.squi.bid/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum=1686fd1c989674826ca378cc6f4d32ca1d5a8fd9aee4b18cf7047db6408d3e25
distfiles="https://git.squi.bid/squibid/${pkgname}/archive/v${version}.tar.gz"
checksum=40e5c6f4502e3980d92c8eebdd5c02d9cc18067e6e68c35b486ea195b0d9af04
do_build() {
make

View File

@ -0,0 +1,30 @@
# Template file for 'lutgen-studio'
pkgname=lutgen-studio
version=0.1.0
revision=1
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-studio-v${version}/lutgen-studio-v${version}-x86_64-unknown-linux-gnu"
checksum=67ada155e12510c57dbbf910927ebbc4ea3c905b1942e92e9f4d36c8353abf6e
do_fetch() {
mkdir -p $wrksrc
curl -L ${executable} -o ${wrksrc}/lutgen-studio
}
do_extract() {
:
}
do_install() {
local package_location="usr/lib/$pkgname"
vmkdir ${package_location}
chmod +x lutgen-studio
vcopy lutgen-studio ${package_location}
vmkdir usr/bin
ln -sfr $DESTDIR/${package_location}/lutgen-studio $DESTDIR/usr/bin/lutgen-studio
}

View File

@ -1,19 +1,29 @@
# Template file for 'lutgen'
pkgname=lutgen
version=0.12.1
revision=1
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"
distfiles="https://github.com/ozwaldorf/lutgen-rs/releases/download/v${version}/lutgen-${version}-x86_64.tar.gz"
checksum=97556d3537c8c1748570b4c814703bb1ec430f07da4aaedd64da4f87691a7095
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
chmod +x lutgen
vcopy lutgen ${package_location}
vmkdir usr/bin
ln -sfr $DESTDIR/${package_location}/lutgen $DESTDIR/usr/bin/lutgen