forked from FemboyOS/fempkg_recipes
feat: add ayugram-desktop
This commit is contained in:
35
ayugram-desktop.recipe.py
Normal file
35
ayugram-desktop.recipe.py
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
pkgname = "ayugram-desktop"
|
||||||
|
pkgver = "6.2.4"
|
||||||
|
source = f"https://rocketleaguechatp.duckdns.org/ayugram.tar.gz"
|
||||||
|
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 = ["glibc", "openssl", "curl", "openldap", "cyrus-sasl", "libjpeg-turbo", "freetype", "harfbuzz", "cairo", "gdkpixbuf", "e2fsprogs"]
|
||||||
|
|
||||||
|
build = [
|
||||||
|
# Extract
|
||||||
|
f"mkdir -p {fembuilddir} {destdir}/usr/lib/ayugram && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/ayugram.tar.gz -C "
|
||||||
|
f"{destdir}/usr/lib/ayugram/",
|
||||||
|
|
||||||
|
# 64-bit build
|
||||||
|
f"mkdir -p {destdir}/usr/bin && ln -sf /usr/lib/ayugram/AppRun {destdir}/usr/bin/AyuGram && mkdir -p {destdir}/usr/share/applications",
|
||||||
|
f"wget https://rocketleaguechatp.duckdns.org/com.ayugram.desktop.desktop -O {destdir}/usr/share/applications/com.ayugram.desktop.desktop",
|
||||||
|
f"mkdir -p {destdir}/usr/share/icons/hicolor && cp -pvra {destdir}/usr/lib/ayugram/usr/share/icons/hicolor/* {destdir}"
|
||||||
|
f"/usr/share/icons/hicolor/ && rm -rf {destdir}/usr/lib/ayugram/share",
|
||||||
|
|
||||||
|
f"mkdir -p {destdir}/usr/share/dbus-1/services && wget https://rocketleaguechatp.duckdns.org/com.ayugram.desktop.service -O {destdir}"
|
||||||
|
f"/usr/share/dbus-1/services/com.ayugram.desktop.service",
|
||||||
|
|
||||||
|
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||||
|
f"wget https://raw.githubusercontent.com/AyuGram/AyuGramDesktop/refs/heads/dev/LICENSE -O {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 {fembuilddir}"
|
||||||
|
]
|
||||||
@@ -13,6 +13,7 @@ autoconf.recipe.py
|
|||||||
automake.recipe.py
|
automake.recipe.py
|
||||||
avahi.recipe.py
|
avahi.recipe.py
|
||||||
ayatana-ido3.recipe.py
|
ayatana-ido3.recipe.py
|
||||||
|
ayugram-desktop.recipe.py
|
||||||
bash.recipe.py
|
bash.recipe.py
|
||||||
bc.recipe.py
|
bc.recipe.py
|
||||||
binutils.recipe.py
|
binutils.recipe.py
|
||||||
@@ -214,7 +215,6 @@ libical.recipe.py
|
|||||||
libidn2.recipe.py
|
libidn2.recipe.py
|
||||||
libinput.recipe.py
|
libinput.recipe.py
|
||||||
libjpeg-turbo.recipe.py
|
libjpeg-turbo.recipe.py
|
||||||
libjpegturbo.recipe.py
|
|
||||||
libjxl.recipe.py
|
libjxl.recipe.py
|
||||||
libkcddb.recipe.py
|
libkcddb.recipe.py
|
||||||
libksba.recipe.py
|
libksba.recipe.py
|
||||||
|
|||||||
Reference in New Issue
Block a user