forked from FemboyOS/fempkg_recipes
update fempkg
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
pkgname = "fempkg"
|
pkgname = "fempkg"
|
||||||
pkgver = "1.3.2"
|
pkgver = "1.3.3"
|
||||||
atomic = True
|
atomic = True
|
||||||
source = f"https://rocketleaguechatp.duckdns.org/fempkg-{pkgver}.tar"
|
source = f"https://gitea.rocketleaguechatp.duckdns.org/FemboyOS/fempkg/archive/{pkgver}.tar.gz"
|
||||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}"
|
||||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||||
@@ -12,17 +12,17 @@ deps = []
|
|||||||
|
|
||||||
build = [
|
build = [
|
||||||
# Extract
|
# Extract
|
||||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar",
|
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgver}.tar.gz",
|
||||||
|
|
||||||
# 64-bit build
|
# 64-bit build
|
||||||
f"cd {fembuilddir} && install -d -m 755 {destdir}/usr/bin"
|
f"cd {builddir} && install -d -m 755 {destdir}/usr/bin"
|
||||||
f"cd {fembuilddir} && install -Dm755 fempkg {destdir}/usr/bin/fempkg",
|
f"cd {builddir} && install -Dm755 fempkg {destdir}/usr/bin/fempkg",
|
||||||
f"cd {fembuilddir} && install -Dm644 build.py {destdir}/usr/bin/build.py",
|
f"cd {builddir} && install -Dm644 build.py {destdir}/usr/bin/build.py",
|
||||||
f"cd {fembuilddir} && install -Dm644 db.py {destdir}/usr/bin/db.py",
|
f"cd {builddir} && install -Dm644 db.py {destdir}/usr/bin/db.py",
|
||||||
f"cd {fembuilddir} && install -Dm644 utils.py {destdir}/usr/bin/utils.py",
|
f"cd {builddir} && install -Dm644 utils.py {destdir}/usr/bin/utils.py",
|
||||||
|
|
||||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||||
f"install -v -m644 {fembuilddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||||
|
|
||||||
# Make tarball + manifests
|
# Make tarball + manifests
|
||||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||||
|
|||||||
Reference in New Issue
Block a user