Femboyos 2 full rewrite full working CI
This commit is contained in:
27
qt6ct.recipe.py
Normal file
27
qt6ct.recipe.py
Normal file
@@ -0,0 +1,27 @@
|
||||
pkgname = "qt6ct"
|
||||
pkgver = "0.11"
|
||||
source = f"https://www.opencode.net/trialuser/qt6ct"
|
||||
builddir = f"/tmp/fempkgbuild/{pkgname}"
|
||||
source_type = "git"
|
||||
fembuilddir = builddir
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = [] # qt6 i guess, well bob
|
||||
|
||||
build = [
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && git checkout 0.11 && wget https://rocketleaguechatp.duckdns.org/qt6ct-shenanigans.patch -O qt6ct-shenanigans.patch && patch -p1 < ./qt6ct-shenanigans.patch && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr ..",
|
||||
f"cd {builddir}/build && make -j$(nproc)",
|
||||
f"cd {builddir}/build && make DESTDIR={destdir} install && install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/ && "
|
||||
f"install -Dm644 ../COPYING {destdir}/usr/share/licenses/qt6ct/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