[arch-commits] Commit in lutris/trunk (PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Tue Apr 26 16:03:01 UTC 2022
Date: Tuesday, April 26, 2022 @ 16:03:01
Author: alucryd
Revision: 1191003
upgpkg: lutris 0.5.10.1-2
Modified:
lutris/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-26 16:02:00 UTC (rev 1191002)
+++ PKGBUILD 2022-04-26 16:03:01 UTC (rev 1191003)
@@ -4,7 +4,7 @@
pkgname=lutris
pkgver=0.5.10.1
-pkgrel=1
+pkgrel=2
pkgdesc='Open Gaming Platform'
arch=('any')
url='https://lutris.net'
@@ -30,7 +30,12 @@
'webkit2gtk'
'xorg-xrandr'
)
-makedepends=('python-setuptools')
+makedepends=(
+ 'git'
+ 'meson'
+ 'ninja'
+ 'python-poetry'
+)
checkdepends=(
'python-nose-cover3'
'wine'
@@ -49,13 +54,18 @@
'wine: Windows support'
'xorg-xgamma: Restore gamma on game exit'
)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz")
-b2sums=('c7f59359dd8dfc1170049c24b2c6314538a9ed659d2fa66dd7d75fe9f23a2ad5fd73440d37dd1934708bba44eb78ff9944273d5401b57eae121acb858ea2e1f7')
+_tag=58baae92a9915e2f0037b794ab92d1413b6ca641
+source=("git+https://github.com/lutris/lutris.git#tag=${_tag}")
+b2sums=('SKIP')
+pkgver() {
+ cd lutris
+ git describe --tags | sed 's/^v//'
+}
+
build() {
- cd $pkgname-$pkgver
-
- python setup.py build
+ arch-meson lutris build
+ ninja -C build
}
#check() {
@@ -65,9 +75,7 @@
#}
package() {
- cd $pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ DESTDIR="${pkgdir}" meson install -C build
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list