aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff1a3adbb868257be8e9d7ff949f6e9e66ab7d23 (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
# Maintainer: IroAlexis <iroalexis@outlook.com>

pkgname=lunion-git
pkgver=0.5
pkgrel=1
epoch=0
pkgdesc="Wine wrapper for running Windows games on Linux"
arch=(x86_64)
url="https://framagit.org/IroAlexis/lunion"
license=(GPL-3.0-or-later)
groups=()
depends=(glib2)
makedepends=(
	git
	meson
)
checkdepends=()
optdepends=(
	wine
	wine-staging
)
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(git+${url}.git)
sha256sums=('SKIP')
noextract=()


pkgver() {
	git -C "${pkgname%-git}" describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g'
}

build() {
	arch-meson "${pkgname%-git}" ./build
	meson compile -C ./build
}

package() {
	meson install -C ./build --destdir "$pkgdir"
}