blob: d692f27272c1c4b89942d72b505ee8e4713d5562 (
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
48
49
50
51
52
53
|
# Maintainer: Pellegrino Prevete (tallero) <pellegrinoprevete@gmail.com>
# Contributor: Igor Dyatlov <dyatlov.igor@protonmail.com>
# Contributor: Fabio Loli <fabio.loli@disroot.org>
_pkgname=cartridges
pkgname="${_pkgname}-git"
pkgver=2.0.6.r0.gc347d9b
pkgrel=1
pkgdesc="A GTK4 + Libadwaita game launcher"
arch=('any')
url="https://github.com/kra-mo/${_pkgname}"
license=('GPL3')
depends=(
'libadwaita'
'python-gobject'
'python-pillow'
'python-pyaml')
makedepends=(
'git'
'blueprint-compiler'
'meson')
checkdepends=('appstream-glib')
optdepends=(
"steam: Valve's digital software delivery system"
'heroic-games-launcher: Native GOG and Epic Games launcher for Linux'
'bottles: Easily manage wine and proton prefix')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=(git+${url}.git)
b2sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --tags | \
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson "${_pkgname}" build
meson compile -C build
}
check() {
meson test -C build \
--print-errorlogs || :
}
package() {
meson install -C build \
--destdir "$pkgdir"
}
# vim:set sw=2 sts=-1 et:
|