blob: c2c406f2d5d95126065cd81f9b5457b5d283bfae (
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
40
41
42
43
44
45
46
47
|
# Maintainer: Rosalie Wanders <rosalie@mailbox.org>
_pkgname=rmg
pkgname=${_pkgname}-git
pkgver=git
pkgrel=1
pkgdesc="Rosalie's Mupen GUI"
arch=('x86_64')
url="https://github.com/Rosalie241/${_pkgname}"
license=('GPL3')
provides=("$_pkgname")
conflicts=("$_pkgname")
depends=("hidapi" "libsamplerate" "speexdsp" "minizip" "sdl2" "sdl2_net" "zlib" "freetype2" "qt6-base" "qt6-svg" "qt6-websockets")
makedepends=("git" "nasm" "cmake")
source=("git+https://github.com/Rosalie241/${_pkgname}.git")
sha256sums=('SKIP')
pkgver()
{
cd "$srcdir/$_pkgname"
git describe --tags --always | sed -e 's|^v||;s|-|.|g'
}
prepare()
{
mkdir -p "$srcdir/${_pkgname}/build"
}
build()
{
cmake -S "$srcdir/${_pkgname}" -B "$srcdir/${_pkgname}/build" \
-DCMAKE_BUILD_TYPE="Release" \
-DPORTABLE_INSTALL="OFF" \
-DNO_RUST="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-G "Unix Makefiles"
cmake --build "$srcdir/${_pkgname}/build"
}
package()
{
cmake --install "$srcdir/${_pkgname}/build" --prefix="$pkgdir/usr"
}
|