# Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com>

pkgname=umu-launcher
pkgver=1.1.3
pkgrel=1
pkgdesc="This is the Unified Launcher for Windows Games on Linux, to run Proton with fixes outside of Steam"
arch=('x86_64')
url="https://github.com/Open-Wine-Components/umu-launcher"
license=('GPL-3.0-only')
depends=(
  bash
  curl
  dbus
  diffutils
  glibc
  gcc-libs
  libxcrypt
  lsof
  python
  python-xlib
  python-filelock
)
makedepends=(
  git
  scdoc
  python-build
  python-installer
  python-hatchling
)
install=
_origin="https://github.com/Open-Wine-Components/umu-launcher.git"
source=(
  "git+$_origin#tag=$pkgver"
)

prepare() {
  cd "$srcdir"/umu-launcher
}

build() {
  cd "$srcdir"/umu-launcher
  ./configure.sh --prefix=/usr
  make
}

package() {
  cd "$srcdir"/umu-launcher
  make DESTDIR="$pkgdir" install
}

sha256sums=('14561329686b0fe4b9950841c50bf67b9419384dc25b0449064cece467a03209')
