summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ca56136839cf440d2c6aa8be99dc29e2ac12622 (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
# Maintainer: Jason Stryker <public at jasonstryker dot com>
# Maintainer: Konstantin Liberty <jon9097 at gmail dot com>

pkgname=protontricks
pkgver=1.11.1
pkgrel=1
pkgdesc="A simple wrapper that does winetricks things for Proton enabled games."
arch=('any')
url="https://github.com/Matoking/protontricks"
license=('GPL-3.0-or-later')
depends=('python' 'python-vdf' 'winetricks' 'python-setuptools' 'python-pillow')
optdepends=(
  'yad: GUI for game selection', 
  'zenity: GUI for winetricks'
)
makedepends=('git' 'python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel')
provides=("protontricks")
conflicts=('protontricks-git')
source=("git+${url}.git#tag=${pkgver}")
sha512sums=('SKIP')

build() {
  cd "${srcdir}/${pkgname}"

  python -m build --wheel
}

package() {
  cd "${srcdir}/${pkgname}"

  python -m installer --destdir="$pkgdir" dist/*.whl

  install -D -m 0644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}

# vim:set ts=2 sw=2 et: