epicgameslauncher-appimage

LOW
maintainer JoaoMachado 0 votes scanned 2026-10-21 19:33:05.748742
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: John Machado <john at delinuxco dot com>
2
3###############################################################################
4# CONFIGURATION SECTION
5# Replace these values with your specific application details.
6###############################################################################
7pkgname=epicgameslauncher-appimage
8_pkgname=EpicGamesLauncher
9pkgver="0.100.0"
10pkgrel=1
11pkgdesc="The official Epic Games Launcher."
12arch=('x86_64')
13url="https://launcher.epicgames.com/"
14license=('Epic')
15provides=('epicgameslauncher')
16conflicts=('epicgameslauncher')
17
18# The filename as it appears in the download URL (e.g., app-1.0.0-x86_64.AppImage)
19_appimage_filename="${_pkgname}-x86_64.AppImage"
20
21# The source URL to download AppImage
22_source_url="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncher-x86_64.AppImage"
23# https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncher-x86_64.AppImage
24
25# Where the file will live in your system (Standard is /opt/appimages/)
26_install_dir="/opt/appimages"
27_install_path="${_install_dir}/${_pkgname}.AppImage"
28
29# Inside the AppImage, what is the name of the .desktop file?
30# Usually it matches the app name, e.g., 'org.kde.kcalc.desktop'
31_desktop_file="epic-games-launcher.desktop"
32
33# Inside the AppImage, what is the name of the icon file?
34_icon_file="EpicGamesLauncher.svg"
35###############################################################################
36
37depends=(
38 'fuse2'
39 'fuse3'
40)
41
42makedepends=(
43 'desktop-file-utils'
44)
45
46# Add any optional dependencies
47optdepends=()
48
49options=(!strip)
50
51# All source files in root directory of PKGBUILD must be listed and with corresponding sha256/md5 sums
52source=(
53 "${_source_url}"
54 "${_icon_file}"
55)
56
57sha256sums=(
58 'a9b7e40e3e5220bce97068b3974a796530e5bdbc77db1e1beba0d7bdbed0b44e'
59 '3e424b6ea688cfb2bc0c577c58310babc920422272c2078c41ce5188369bb78b'
60)
61
62prepare() {
63
64 # 1. Make the AppImage executable and extract it
65 chmod +x "${_appimage_filename}"
66 ./"${_appimage_filename}" --appimage-extract
67
68 # 2. Setup directory structure inside squashfs-root for the build process
69 mkdir -p "${srcdir}/squashfs-root/assets/icons/"
70 mkdir -p "${srcdir}/squashfs-root/assets/launchers/"
71
72 # 3. Move the icon and desktop file to a known location for easy installation
73 # Note: We check if they exist to prevent build failure if names differ
74 if [ -f "${_icon_file}" ]; then
75 cp "${_icon_file}" "squashfs-root/assets/icons/${_icon_file}"
76 fi
77
78 if [ -f "squashfs-root/${_desktop_file}" ]; then
79 cp "squashfs-root/${_desktop_file}" "squashfs-root/assets/launchers/${_desktop_file}"
80
81 # 4. CRITICAL: Rewrite the .desktop file to point to new path
82 # This rewrites the 'Exec' line so it will execute the AppImage from /opt/appimages/
83 # If the .desktop and svg files will be provided in the PKGBUILD directory, comment out the next two lines that start with "desktop-file-edit".
84 desktop-file-edit --set-key=Exec --set-value="${_install_path} %U" "squashfs-root/assets/launchers/${_desktop_file}"
85 desktop-file-edit --set-key=TryExec --set-value="${_install_path}" "squashfs-root/assets/launchers/${_desktop_file}"
86 fi
87}
88
89package() {
90 # 1. Install the actual AppImage to /opt/appimages/
91 install -d "${pkgdir}${_install_dir}"
92 install -Dm755 "${srcdir}/${_appimage_filename}" "${pkgdir}${_install_path}"
93
94 # 2. Install the Desktop Entry and Icon to standard system paths
95 if [ -f "${srcdir}/squashfs-root/assets/launchers/${_desktop_file}" ]; then
96 install -Dm644 "squashfs-root/assets/launchers/${_desktop_file}" "${pkgdir}/usr/share/applications/${_desktop_file}"
97 fi
98
99 if [ -f "${srcdir}/squashfs-root/assets/icons/${_icon_file}" ]; then
100 install -Dm644 "squashfs-root/assets/icons/${_icon_file}" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_icon_file}"
101 fi
102
103 # 3. Create the symlink in /usr/bin so you can launch it from terminal via 'appname'
104 install -d "${pkgdir}/usr/bin"
105 ln -s "${_install_path}" "${pkgdir}/usr/bin/${_pkgname}"
106}
107

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 19:33:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion