forked from FemboyOS/fempkg_recipes
Femboyos 2 full rewrite full working CI
This commit is contained in:
29
caelestia-shell.recipe.py
Normal file
29
caelestia-shell.recipe.py
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname = "caelestia-shell"
|
||||
pkgver = "1.3.4"
|
||||
source = f"https://github.com/caelestia-dots/shell.git"
|
||||
source_type = "git"
|
||||
builddir = f"/tmp/fempkgbuild/shell"
|
||||
fembuilddir = builddir
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["quickshell", "caelestia-cli", "ddcutil", "brightnessctl", "cava", "NetworkManager", "libcava", "pipewire", "lm-sensors", "fish", "aubio", "glibc", "qt6", "material-design-icons", "jetbrainsmono-nerd", "libqalculate"]
|
||||
|
||||
build = [
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && mkdir build && cd build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DINSTALL_QSCONFDIR=/etc/xdg/quickshell/caelestia -DINSTALL_QMLDIR=/opt/qt6/qml ..",
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
||||
f"cd {builddir} && wget https://rocketleaguechatp.duckdns.org/app2unit-caelestia.patch && patch -p1 -d {destdir}/etc/xdg/quickshell/caelestia < app2unit-caelestia.patch",
|
||||
|
||||
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",
|
||||
|
||||
f"rm -rf {builddir}"
|
||||
]
|
||||
Reference in New Issue
Block a user