Femboyos 2 full rewrite full working CI
This commit is contained in:
30
caelestia-cli.recipe.py
Normal file
30
caelestia-cli.recipe.py
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname = "caelestia-cli"
|
||||
pkgver = "1.0.1"
|
||||
source = f"https://github.com/caelestia-dots/cli.git"
|
||||
builddir = f"/tmp/fempkgbuild/cli"
|
||||
source_type = "git"
|
||||
fembuilddir = builddir
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["libnotify", "swappy", "gpu-screen-recorder", "glib", "cliphist", "fuzzel"]
|
||||
|
||||
build = [
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && python3 -m build --wheel",
|
||||
f"cd {builddir} && python3 -m installer --destdir={destdir} dist/*.whl",
|
||||
f"cd {builddir} && install -d -m 755 {destdir}/usr/share/fish/vendor_completions.d",
|
||||
f"cd {builddir} && cp completions/caelestia.fish {destdir}/usr/share/fish/vendor_completions.d/caelestia.fish",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir}"
|
||||
]
|
||||
Reference in New Issue
Block a user