fix filename in fempkg keys and actually make the recipe work
This commit is contained in:
22
fempkg-keys.recipe.py
Normal file
22
fempkg-keys.recipe.py
Normal file
@@ -0,0 +1,22 @@
|
||||
pkgname = "fempkg-keys"
|
||||
pkgver = "1.0"
|
||||
source = f"https://rocketleaguechatp.duckdns.org/fempkg_pubkey.asc"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["gpg"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir -p {fembuilddir}",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {fembuilddir} && mkdir -p /var/lib/fempkg/keys && cp -pvra /var/lib/fempkg/pkgs/fempkg_pubkey.asc /var/lib/fempkg/keys/fempkg_pubkey.asc",
|
||||
f"gpg --import /var/lib/fempkg/keys/fempkg_pubkey.asc",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {fembuilddir}"
|
||||
]
|
||||
Reference in New Issue
Block a user