1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
|
# Maintainer: Alfredo Montesinos <alfredo.montesinos@kubereva.com>
# A split package: one recipe, one AUR repository, two outputs. Users install
# `keeperfx-tux` and pacman pulls the data in as a dependency, so there is one
# name to remember and one command to run. Building both from a single pkgbase
# also makes a version mismatch between engine and data impossible rather than
# something CI has to police -- and a mismatch is exactly what once shipped a
# frozen config against a newer engine.
#
# _tag and pkgver are bumped by .github/workflows/publish-aur.yml when a release
# is published. pkgver is the tag without the leading "v" and the "-alpha" suffix.
_tag=v1.4.0.6088
# The launcher is a separate repository with no tags, so it is pinned by commit.
_launcher_commit=a6402f3f1dbce1896574ff46b7ca10ba6e5b2506
pkgbase=keeperfx-tux
pkgname=('keeperfx-tux' 'keeperfx-tux-data' 'keeperfx-tux-launcher')
pkgver=1.4.0.6088
# rel 4: ship the pacman hook that reports a library break the soname
# dependencies below cannot catch, and pick up the launcher fix that stops a
# crash report carrying a log the failing run never wrote.
#
# rel 5: ship the previous-engine hook AHEAD of the engine release that needs it.
# A saved game is a raw dump of struct Game, and that struct grew between this
# stable and the next one, so upgrading past this point makes every existing
# save unreadable. The hook preserves the outgoing engine so those saves stay
# playable -- but pacman reads hooks at transaction start, so a hook shipped IN
# the breaking upgrade does not run for it. It has to already be installed.
# Hence this: same engine tag, same pkgver, packaging only. Nothing here changes
# the game; it puts the safety net in place before the fall.
# rel 2: pin the launcher to the commit the 1.4.0.5652 AppImage was built from.
# rel 1 kept the previous stable's launcher pin, so it paired a month-newer
# engine with a launcher lacking the RAR installer, the updater's engine stash
# and the channel fixes.
pkgrel=1
arch=('x86_64')
url="https://github.com/ForkedInTime/keeperfx-tux-edition"
license=('GPL-2.0-or-later')
# In a split package, only makedepends (and any pkgbase-level depends) are
# installed to build with -- a depends= array inside package_*() is metadata for
# the built package and does nothing at build time. The engine's libraries are
# therefore listed here as well as on the output that runs against them; without
# that a clean chroot has no SDL3 headers and the engine will not compile.
# SDL3_net does not exist: networking is enet6, and the only SDLNet_ references
# left in the tree are comments.
makedepends=('git' 'python' 'curl' 'p7zip'
# engine
'sdl3' 'sdl3_mixer' 'sdl3_image'
'ffmpeg' 'openal' 'luajit' 'libspng' 'minizip' 'zlib'
'miniupnpc' 'libnatpmp' 'openssl' 'zstd'
# Qt launcher
'cmake' 'ninja' 'qt6-base' 'qt6-tools')
# !strip: this is an alpha -- usable backtraces in bug reports beat the saved MBs.
# !debug: without it, !strip leaves the debug sources in the main package.
# !lto: linux.mk manages its own optimisation flags and LTO is unvalidated here;
# letting makepkg inject it risks the kind of silent miscompile that
# already forced a -march revert.
options=('!strip' '!debug' '!lto')
source=(
"keeperfx-tux::git+https://github.com/ForkedInTime/keeperfx-tux-edition.git#tag=${_tag}"
"keeperfx-tux-${pkgver}-full.7z::${url}/releases/download/${_tag}/keeperfx-linux-alpha-x86_64-full.7z"
"keeperfx-tux-launcher::git+https://github.com/ForkedInTime/keeperfx-launcher-qt-linux.git#commit=${_launcher_commit}"
'keeperfx-tux.sh'
'keeperfx-tux.desktop'
'keeperfx-tux-launcher.sh'
'keeperfx-tux.hook'
'keeperfx-tux-libcheck.sh'
'keeperfx-tux-stash.sh'
'keeperfx-tux-stash.hook'
'keeperfx-tux-unstash.hook'
'keeperfx-tux-previous.sh'
)
noextract=("keeperfx-tux-${pkgver}-full.7z")
sha256sums=(
'SKIP'
'5bd8f469015c50cbe3668fd9483771e8f4c67cc27c061b145dc1a100130cd0bb'
'SKIP'
'57f83c03c54dbc76535e22cc051811875bd572fdbc6e0457e9b63df92afe1de3'
'72d72a8e7c1221208eed0622a6e323399ba8cb139ab8840d620ef2697623a1b4'
'504b74bdcd4fe3085bcd9f74e43e4cf67c562325d8f7c37fc1e5a04da745f960'
'ee2fc0f5b3d81dd55efe7d2aef6c4d67d18baff794114e3d6e334171842601eb'
'37e0fcb5b46aa0b178380ea8f36aa62485b75b5425c1932c7ada7f4101efc870'
'8ec4213ccaf290f309ac6a4a0c9036531256b1db6239cb0f571062a1a2cf51e6'
'fa54e53295a854ef148ef34b9f369c44caeaa6d2c72ce45c7111668ae79fc3d8'
'34594e360bcf608a99cce2b531df11f41ec6d0e650c91bd637b9ce73034fa6dc'
'a300b1debacad0a8ddf92fc4c0ad6b297c4d7d1f82f3f0b8e9a65ec78f0d6af3'
)
# Data trees taken from the release archive. It also contains the engine binary,
# the Qt launcher, a bundled 7z.so, keeperfx.cfg and version.txt: those are either
# the engine package's job or user state, so they are deliberately skipped.
_data_trees=(data sound ldata campgns levels lang fxdata creatrs mods music multiplayer)
prepare() {
cd "${srcdir}/${pkgbase}"
# These four deps are fetched by the makefile rather than vendored. Doing it in
# prepare() keeps the network access out of build(), which is where makepkg
# expects an already-populated source tree.
make -f linux.mk \
deps/centijson/include/json.h \
deps/astronomy/include/astronomy.h \
deps/enet6/include/enet6/enet.h \
deps/libcurl/lib/libcurl.a
cd "${srcdir}"
7z x -y "keeperfx-tux-${pkgver}-full.7z" -o"extracted" > /dev/null
}
build() {
cd "${srcdir}/${pkgbase}"
# 7-Zip's full-format library, for the launcher's archive handling. Built from
# source by the same script the release workflows use, so the package and the
# AppImage cannot end up with libraries of different capability. Guarded so a
# stable tag predating the script still builds -- it simply ships without one,
# exactly as it does today.
if [ -x packaging/ci/build-7zip-lib.sh ]; then
packaging/ci/build-7zip-lib.sh "${srcdir}/${pkgbase}/deps/7zip"
fi
# ver_defs.h is only regenerated when version.mk changes, so a stale build
# number would otherwise be baked in -- and the launcher gates settings on it.
rm -f src/ver_defs.h
# The suffix follows the tag being packaged, exactly as the release workflows do.
# Hardcoding "alpha" here stamped version.txt as an alpha even when building a
# stable tag, and the launcher reads that file to decide which update channel an
# install is on -- so every Arch user of a stable release would have been put on
# the alpha channel and offered alpha updates.
local _ver_suffix=
case "${_tag}" in
*-alpha) _ver_suffix=alpha ;;
*-prototype) _ver_suffix=Prototype ;;
esac
# The engine keeps its symbols (options above) so crash reports resolve, and
# the debug info records the compilation directory -- makepkg's "$srcdir"
# warning. Given through the environment so linux.mk's own += flags survive.
export KFX_CFLAGS="-ffile-prefix-map=${srcdir}=/usr/src/${pkgbase}"
export KFX_CXXFLAGS="-ffile-prefix-map=${srcdir}=/usr/src/${pkgbase}"
# build-number.sh keeps counting the team's commits now that the sync merges
# filtered snapshots (packaging/linux-only/README.md); tags from before it
# was added fall back to the plain count, which is what they were built with.
local _build_number
if [ -x packaging/linux-only/build-number.sh ]; then
_build_number="$(packaging/linux-only/build-number.sh)"
else
_build_number="$(git rev-list --count HEAD)"
fi
make -f linux.mk \
BUILD_NUMBER="${_build_number}" \
VER_SUFFIX="${_ver_suffix}" \
-j"$(nproc)"
# The UTF-8 fonts are required since upstream #4920 but linux.mk does not build
# them; the project's CI generates them from tools/fxfontmaker. The recipe can
# point at a tag cut before make-fonts.sh existed (_tag here only moves when a
# stable is published), so fall back to the commands the script replaced,
# exactly as they were -- the same fallback build-flatpak.yml carries.
if [ -x packaging/ci/make-fonts.sh ]; then
packaging/ci/make-fonts.sh
else
( cd tools/fxfontmaker
local PY
PY="$(command -v python3 || command -v python)"
"$PY" rescale_unifont_hex.py unifont-17.0.04.hex unifont12.hex
"$PY" bdf_to_hex.py wenquanyi_9pt.bdf wenquanyi.hex
"$PY" merge_hex.py unifont12.hex wenquanyi.hex merged12.hex
"$PY" unifont_hex_to_binary.py unifont-17.0.04.hex font16.fxfont 16
"$PY" unifont_hex_to_binary.py unifont_jp-17.0.04.hex font16_JPN.fxfont 16
"$PY" unifont_hex_to_binary.py unifont_t-17.0.04.hex font16_CHT.fxfont 16
"$PY" unifont_hex_to_binary.py merged12.hex font12.fxfont 12
rm -f merged12.hex wenquanyi.hex unifont12.hex )
fi
# The Qt launcher. CMake pulls bit7z and LIEF from GitHub via CPM at configure
# time and builds them in-tree. Neither can come from the system:
# bit7z is packaged nowhere for Arch, and lief-bin ships only the shared
# library while this build asks for COMPONENTS STATIC. CPM_USE_LOCAL_PACKAGES
# was tried and is deliberately not used -- besides failing on LIEF, it picked
# up an unpackaged bit7z from /usr/local on the build machine, which would have
# produced a package that only builds where that stray copy exists.
cd "${srcdir}/keeperfx-tux-launcher"
# A stale CMakeCache.txt survives makepkg -f, and it remembers the flags of the
# previous configure, so start clean. CPM_DOWNLOAD_ALL then stops CPM probing the
# system at all: it must fetch and build both dependencies in-tree, which is what
# keeps the result independent of whatever happens to be on the build machine.
# CMAKE_SKIP_RPATH stops the build tree's own paths being written into the
# binary: CPM builds zlib in-tree, and its build directory otherwise ends up as
# a RUNPATH that namcap rejects and that would not exist on a user's machine.
# Nothing is lost -- zlib, Qt and OpenSSL all resolve from the system.
rm -rf build
# Sources compiled in-tree (LIEF's spdlog, through __FILE__) otherwise carry
# the build directory into the binary -- makepkg's "$srcdir" warning.
export CFLAGS="${CFLAGS} -ffile-prefix-map=${srcdir}=/usr/src/${pkgbase}"
export CXXFLAGS="${CXXFLAGS} -ffile-prefix-map=${srcdir}=/usr/src/${pkgbase}"
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCPM_USE_LOCAL_PACKAGES=OFF \
-DCPM_DOWNLOAD_ALL=ON \
-DCMAKE_SKIP_RPATH=ON
cmake --build build
}
package_keeperfx-tux() {
pkgdesc="KeeperFX Tux Edition — native Linux build of the Dungeon Keeper engine remake"
depends=(
# Sonames, not package names. On a rolling distribution the package name is
# the wrong unit: an unversioned 'ffmpeg' let pacman move 8.1.2 -> 9.0 under
# an already-built package, every libav* soname the engine linked shifted at
# once, and the binary stopped loading -- with nothing said at upgrade time
# and the failure surfacing only as a "crash" when the user pressed Play.
# makepkg rewrites each of these from the built ELF into a versioned
# dependency ('libavformat.so=63-64'), so the next bump is refused by pacman
# before it happens: an explicit rebuild prompt instead of a broken install.
'libavformat.so' 'libavcodec.so' 'libswresample.so' 'libswscale.so'
'libavutil.so' 'libopenal.so' 'libspng.so' 'libz.so'
'libminiupnpc.so' 'libssl.so' 'libcrypto.so' 'libzstd.so'
# These four ship no soname in provides= at all, so they can only be named
# directly and stay exposed to the same failure. SDL3 holds its ABI at
# .so.0 by project policy and the other three are low-churn, which is why
# ffmpeg is the one that actually bit.
'sdl3' 'sdl3_mixer' 'sdl3_image' 'luajit' 'minizip' 'libnatpmp'
# Implicit but real: the engine links these, the wrapper is a bash script,
# and the icons need the hicolor theme hierarchy to exist.
'glibc' 'gcc-libs' 'bash' 'hicolor-icon-theme'
# Pulled in automatically, so installing this one name gives a complete,
# playable install rather than an engine with nothing to run.
# ">=" and not "=": yay upgrades these two in a layer of their own BEFORE
# the engine, against the engine that is still installed. An exact pin made
# pacman refuse that layer, and with it every `yay -Syu` (2026-09-20:
# "installing keeperfx-tux-data (1.4.0.5656-1) breaks dependency
# 'keeperfx-tux-data=1.4.0.5652-2' required by keeperfx-tux").
# `yay -Syu` upgrades all three together anyway, so they stay in step.
"keeperfx-tux-data>=${pkgver}"
# The launcher is the front door: it finds your Dungeon Keeper installation,
# copies the files it needs, and configures the game. Installing the engine
# without it would lose the only route a new player has to a playable install.
"keeperfx-tux-launcher>=${pkgver}"
)
conflicts=('keeperfx-linux-alpha' 'keeperfx-linux-alpha-git')
provides=("keeperfx-tux=${pkgver}")
cd "${srcdir}/${pkgbase}"
local _share="${pkgdir}/usr/share/${pkgbase}"
# /usr/share is for architecture-independent files, so the ELF lives in
# /usr/lib. Its location is free: the wrapper links it into the game directory
# and the engine roots itself at argv[0], not at the binary's real path.
install -Dm755 bin/keeperfx "${pkgdir}/usr/lib/${pkgbase}/keeperfx"
install -dm755 "${_share}"
# The launcher reads the engine version from version.txt: a native ELF carries
# no Windows PE ProductVersion resource for it to inspect.
sed -n 's/.*VER_STRING "\(.*\)".*/\1/p' src/ver_defs.h > "${_share}/version.txt"
# Text/config data that tracks the engine version.
local _d
for _d in fxdata creatrs mods; do
install -dm755 "${_share}/${_d}"
cp -r "config/${_d}/." "${_share}/${_d}/"
done
for _d in campgns levels lang multiplayer; do
[ -d "${_d}" ] || continue
install -dm755 "${_share}/${_d}"
cp -r "${_d}/." "${_share}/${_d}/"
done
# Generated fonts live alongside the text config, as the engine expects.
install -m644 tools/fxfontmaker/*.fxfont "${_share}/fxdata/"
# The engine refuses to start without keeperfx.cfg ("Configuration load error").
# Shipped as a template the wrapper copies into the game directory, because the
# user edits it and it must not be overwritten by an upgrade.
install -m644 config/keeperfx.cfg "${_share}/keeperfx.cfg"
# The soname dependencies above cover every library that publishes one, but
# six of the engine's do not and neither do the launcher's Qt and OpenSSL --
# for those pacman has nothing to compare and cannot refuse the upgrade. This
# hook cannot prevent that either; it reports it at the moment it happens,
# instead of leaving a broken install to be found the next time someone plays.
install -Dm755 "${srcdir}/keeperfx-tux-libcheck.sh" \
"${pkgdir}/usr/share/libalpm/scripts/keeperfx-tux-libcheck"
install -Dm644 "${srcdir}/keeperfx-tux.hook" \
"${pkgdir}/usr/share/libalpm/hooks/keeperfx-tux-libcheck.hook"
# A saved game is a raw dump of the engine's struct Game, so a single field
# added anywhere inside it makes every existing save unreadable -- which has
# already happened once, silently. check-save-format.sh catches it before a
# release ships and the engine now reports it instead of quitting, but the
# player's campaign still needs the engine that wrote it. These keep the last
# few engines and let one be run: enough to open the old save, isolated from
# the current install so the old engine can never write to it.
install -Dm755 "${srcdir}/keeperfx-tux-stash.sh" \
"${pkgdir}/usr/share/libalpm/scripts/keeperfx-tux-stash"
install -Dm644 "${srcdir}/keeperfx-tux-stash.hook" \
"${pkgdir}/usr/share/libalpm/hooks/keeperfx-tux-stash.hook"
install -Dm644 "${srcdir}/keeperfx-tux-unstash.hook" \
"${pkgdir}/usr/share/libalpm/hooks/keeperfx-tux-unstash.hook"
install -Dm755 "${srcdir}/keeperfx-tux-previous.sh" \
"${pkgdir}/usr/bin/keeperfx-tux-previous"
install -Dm755 "${srcdir}/keeperfx-tux.sh" "${pkgdir}/usr/bin/keeperfx-tux"
install -Dm644 "${srcdir}/keeperfx-tux.desktop" \
"${pkgdir}/usr/share/applications/keeperfx-tux.desktop"
local _px
for _px in 016 032 048 064 128; do
[ -f "res/keeperfx_icon${_px}-08bpp.png" ] || continue
install -Dm644 "res/keeperfx_icon${_px}-08bpp.png" \
"${pkgdir}/usr/share/icons/hicolor/$((10#${_px}))x$((10#${_px}))/apps/keeperfx-tux.png"
done
for _px in 256 512; do
[ -f "res/keeperfx_icon${_px}-24bpp.png" ] || continue
install -Dm644 "res/keeperfx_icon${_px}-24bpp.png" \
"${pkgdir}/usr/share/icons/hicolor/${_px}x${_px}/apps/keeperfx-tux.png"
done
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgbase}/README.md"
}
package_keeperfx-tux-data() {
pkgdesc="Game data for KeeperFX Tux Edition (campaigns, graphics, sounds) — you still supply your own Dungeon Keeper files"
arch=('any')
# Engines from the exact-pin era (every install up to 1.4.0.5656-1) still
# demand these exact version-releases of this package, and yay upgrades this
# package before the engine. Providing them lets that first layer through;
# the engine layer that follows drops the exact pin for good. Remove once
# those installs are gone.
provides=("keeperfx-tux-data=1.4.0.5652-2" "keeperfx-tux-data=1.4.0.5653-1" "keeperfx-tux-data=1.4.0.5656-1")
# Nothing here is executable: nothing to strip, no debug info to split out.
options=('!strip' '!debug')
local _share="${pkgdir}/usr/share/${pkgbase}-data"
install -dm755 "${_share}"
local _d
for _d in "${_data_trees[@]}"; do
if [ ! -d "${srcdir}/extracted/${_d}" ]; then
# music/ is legitimately empty in some releases; anything else missing means
# the archive layout changed and this PKGBUILD needs revisiting.
if [ "${_d}" = music ]; then continue; fi
echo "error: expected directory '${_d}' is missing from the release archive" >&2
return 1
fi
cp -r "${srcdir}/extracted/${_d}" "${_share}/"
done
find "${_share}" -type d -exec chmod 755 {} +
find "${_share}" -type f -exec chmod 644 {} +
install -Dm644 "${srcdir}/extracted/README.txt" \
"${pkgdir}/usr/share/doc/${pkgbase}-data/README.txt" 2>/dev/null || true
}
package_keeperfx-tux-launcher() {
pkgdesc="Qt launcher for KeeperFX Tux Edition — finds your Dungeon Keeper install, copies the files in, configures and plays"
depends=('qt6-base' 'zlib' 'openssl' 'glibc' 'gcc-libs' 'bash' 'hicolor-icon-theme')
optdepends=('keeperfx-tux: the game it launches')
# Engines from the exact-pin era (every install up to 1.4.0.5656-1) still
# demand these exact version-releases of this package, and yay upgrades this
# package before the engine. Providing them lets that first layer through;
# the engine layer that follows drops the exact pin for good. Remove once
# those installs are gone.
provides=("keeperfx-tux-launcher=1.4.0.5652-2" "keeperfx-tux-launcher=1.4.0.5653-1" "keeperfx-tux-launcher=1.4.0.5656-1")
cd "${srcdir}/keeperfx-tux-launcher"
# The launcher resolves its config and the game binary against
# QCoreApplication::applicationDirPath(), and Qt reads /proc/self/exe, so a
# symlink reports the target's directory rather than the game directory. It
# therefore cannot live in /usr/bin and be linked in; the wrapper copies it.
install -Dm755 build/keeperfx-launcher-qt "${pkgdir}/usr/lib/${pkgbase}/keeperfx-launcher-qt"
install -Dm755 "${srcdir}/keeperfx-tux-launcher.sh" "${pkgdir}/usr/bin/keeperfx-tux-launcher"
# The launcher reads every archive through this 7-Zip library, loaded from
# beside its own binary. It was never packaged: installs only had one as a
# leftover from the AppImage era, so a genuinely fresh package install had no
# archive support at all. The copy the launcher repo commits also cannot
# decompress RAR, which is what broke installing RAR workshop items -- so
# build 7-Zip's full-format library from source, the same script the release
# workflows use, and let the wrapper stage it next to the launcher.
# Conditional to match the guard in build(): a stable tag predating the build
# script produces no library, and must still package.
if [ -f "${srcdir}/${pkgbase}/deps/7zip/7z.so" ]; then
install -Dm755 "${srcdir}/${pkgbase}/deps/7zip/7z.so" \
"${pkgdir}/usr/lib/${pkgbase}/7z.so"
install -Dm644 "${srcdir}/${pkgbase}/deps/7zip/7-zip-License.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/7-zip-License.txt"
fi
install -Dm644 packaging/keeperfx-launcher-qt.png \
"${pkgdir}/usr/share/icons/hicolor/256x256/apps/keeperfx-tux-launcher.png"
# This is the front door, so it takes the plain name; the engine's own entry is
# the "play directly" shortcut for once the game is set up.
install -dm755 "${pkgdir}/usr/share/applications"
cat > "${pkgdir}/usr/share/applications/keeperfx-tux-launcher.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=KeeperFX
GenericName=Dungeon Keeper
Comment=Install, configure and play KeeperFX (Dungeon Keeper) on Linux
Exec=keeperfx-tux-launcher
Icon=keeperfx-tux-launcher
Terminal=false
Categories=Game;StrategyGame;
Keywords=dungeon;keeper;keeperfx;
StartupWMClass=keeperfx-launcher-qt
EOF
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 2>/dev/null || true
}
|