Compare commits
4 Commits
d56206533d
...
652c7fc116
Author | SHA1 | Date | |
---|---|---|---|
652c7fc116
|
|||
bec0968764
|
|||
804edca4fe
|
|||
ca3a9d8b1e
|
13
Makefile
13
Makefile
@ -1,8 +1,9 @@
|
|||||||
BUILDDIR := ./void-packages
|
BUILDDIR := ./void-packages
|
||||||
TEMPLATES := $(shell find srcpkgs/* -maxdepth 0 -type d)
|
TEMPLATES := $(shell find srcpkgs/* -maxdepth 0 -type d)
|
||||||
PACKAGES := $(addprefix $(BUILDDIR)/,$(notdir $(TEMPLATES)))
|
PACKAGES := $(addprefix $(BUILDDIR)/,$(notdir $(TEMPLATES)))
|
||||||
|
.SHELLFLAGS := -ec
|
||||||
|
|
||||||
all: sync $(PACKAGES) end
|
all: sync $(PACKAGES) dest end
|
||||||
|
|
||||||
$(info TEMPLATES: $(TEMPLATES))
|
$(info TEMPLATES: $(TEMPLATES))
|
||||||
$(info PACKAGES: $(PACKAGES))
|
$(info PACKAGES: $(PACKAGES))
|
||||||
@ -11,11 +12,13 @@ $(BUILDDIR)/%: srcpkgs/%
|
|||||||
@echo "Building package: $<"
|
@echo "Building package: $<"
|
||||||
@rm -rf $(BUILDDIR)/srcpkgs/$<
|
@rm -rf $(BUILDDIR)/srcpkgs/$<
|
||||||
@cp -ru $< $(BUILDDIR)/srcpkgs/
|
@cp -ru $< $(BUILDDIR)/srcpkgs/
|
||||||
@-cd $(BUILDDIR) && ./xbps-src clean $<
|
@cd $(BUILDDIR) && ./xbps-src clean $<
|
||||||
@-cd $(BUILDDIR) && ./xbps-src pkg $< || echo "Warning: Failed to build $<"
|
@cd $(BUILDDIR) && ./xbps-src pkg $<
|
||||||
|
|
||||||
|
dest:
|
||||||
@mkdir -p ./dest
|
@mkdir -p ./dest
|
||||||
@-cp -u $(BUILDDIR)/hostdir/binpkgs/*.xbps ./dest/
|
@cp -u $(BUILDDIR)/hostdir/binpkgs/*.xbps ./dest/
|
||||||
@-cp $(BUILDDIR)/hostdir/binpkgs/x86_64-repodata ./dest/
|
@cp $(BUILDDIR)/hostdir/binpkgs/x86_64-repodata ./dest/
|
||||||
|
|
||||||
end:
|
end:
|
||||||
@printf "\n\n\033[1;31mRun the following commands:\033[m\n"
|
@printf "\n\n\033[1;31mRun the following commands:\033[m\n"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'XD'
|
# Template file for 'XD'
|
||||||
pkgname=XD
|
pkgname=XD
|
||||||
version=3.3
|
version=3.3
|
||||||
revision=1
|
revision=2
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
makedepends="git libgit2-devel pkg-config"
|
makedepends="git libgit2-devel pkg-config"
|
||||||
depends="libgit2"
|
depends="libgit2"
|
||||||
@ -10,8 +10,8 @@ short_desc="smiley face to explain info on the shell"
|
|||||||
maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
|
maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://git.squi.bid/XD"
|
homepage="https://git.squi.bid/XD"
|
||||||
distfiles="https://git.squi.bid/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
|
distfiles="https://git.squi.bid/squibid/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=1686fd1c989674826ca378cc6f4d32ca1d5a8fd9aee4b18cf7047db6408d3e25
|
checksum=40e5c6f4502e3980d92c8eebdd5c02d9cc18067e6e68c35b486ea195b0d9af04
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make
|
make
|
||||||
|
30
srcpkgs/lutgen-studio/template
Normal file
30
srcpkgs/lutgen-studio/template
Normal 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
|
||||||
|
}
|
@ -1,19 +1,29 @@
|
|||||||
# Template file for 'lutgen'
|
# Template file for 'lutgen'
|
||||||
pkgname=lutgen
|
pkgname=lutgen
|
||||||
version=0.12.1
|
version=1.0.0
|
||||||
revision=1
|
revision=2
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
|
makedepends="curl"
|
||||||
short_desc="Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes."
|
short_desc="Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes."
|
||||||
maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
|
maintainer="Zachary Scheiman <me@zacharyscheiman.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/ozwaldorf/lutgen-rs"
|
homepage="https://github.com/ozwaldorf/lutgen-rs"
|
||||||
distfiles="https://github.com/ozwaldorf/lutgen-rs/releases/download/v${version}/lutgen-${version}-x86_64.tar.gz"
|
executable="https://github.com/ozwaldorf/lutgen-rs/releases/download/lutgen-v${version}/lutgen-cli-v${version}-x86_64-unknown-linux-gnu "
|
||||||
checksum=97556d3537c8c1748570b4c814703bb1ec430f07da4aaedd64da4f87691a7095
|
checksum=d744cd4bb6033e252cff8918417f60825d080f2f24fade1fd42a1eed8be96b81
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
mkdir -p $wrksrc
|
||||||
|
curl -L ${executable} -o ${wrksrc}/lutgen
|
||||||
|
}
|
||||||
|
|
||||||
|
do_extract() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
local package_location="usr/lib/$pkgname"
|
local package_location="usr/lib/$pkgname"
|
||||||
vmkdir ${package_location}
|
vmkdir ${package_location}
|
||||||
chmod +x lutgen
|
chmod +x lutgen
|
||||||
vcopy lutgen ${package_location}
|
vcopy lutgen ${package_location}
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
ln -sfr $DESTDIR/${package_location}/lutgen $DESTDIR/usr/bin/lutgen
|
ln -sfr $DESTDIR/${package_location}/lutgen $DESTDIR/usr/bin/lutgen
|
||||||
|
Reference in New Issue
Block a user