blob: 01960292241c5a2d8b1d12938c68dc0248d336ea (
plain)
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
|
# Maintainer: Josh Baron (xriitox) <joshbaron48 at outlook dot com>
# Contributor: PopeRigby <poperigby at mailbox dot org>
# Contributor: Cassidy Wilson <cassidywilson at mailbox dot org>
pkgname=doomrunner
pkgver=1.8.2
pkgrel=2
pkgdesc="Modern preset-oriented graphical launcher of ZDoom and derivatives"
arch=('x86_64')
url="https://github.com/Youda008/DoomRunner"
license=('GPL3')
depends=('qt6-base')
makedepends=('git' 'gcc')
backup=('opt/DoomRunner')
source=("https://github.com/Youda008/DoomRunner/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('1891b7d0e30e48e598e104ae6f533595')
build() {
mkdir -p "${srcdir}/DoomRunner-${pkgver}/build-dynamic"
cd "${srcdir}/DoomRunner-${pkgver}/build-dynamic"
qmake6 ../DoomRunner.pro -spec linux-g++ "CONFIG+=release"
make
}
package() {
# Copy desktop file
mkdir -p "${pkgdir}/usr/share/applications"
cp "${srcdir}/DoomRunner-${pkgver}/Install/XDG/DoomRunner.desktop" "${pkgdir}/usr/share/applications/DoomRunner.desktop"
# Copy icon file
mkdir -p "${pkgdir}/usr/share/icons"
cp "${srcdir}/DoomRunner-${pkgver}/Resources/DoomRunner.ico" "${pkgdir}/usr/share/icons/DoomRunner.ico"
# Install DoomRunner
cd "${srcdir}/DoomRunner-${pkgver}/build-dynamic"
make install INSTALL_ROOT="${pkgdir}/"
mkdir -p "${pkgdir}/usr/bin"
ln -sT "/opt/DoomRunner/bin/DoomRunner" "${pkgdir}/usr/bin/doomrunner"
}
|