summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 542b66992b8182999a4b2ccc2b34a65351da4b59 (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
# Maintainer: Omar Pakker <archlinux@opakker.nl>

_pkgname=steamfootbridge
pkgname=steamfootbridge-git
pkgver=r25.eb908b4
pkgrel=1
pkgdesc="Allows running Steam applications in WINE, while using the native Steam client."
url="https://github.com/sirnuke/steamfootbridge"
makedepends=('git' 'python-setuptools')
depends=('python-steamodd')
provides=('steamfootbridge')
conflicts=('steamfootbridge')
replaces=('steambridge')
license=('MIT')
arch=('any')
source=("git+https://github.com/sirnuke/steamfootbridge.git")
sha256sums=('SKIP')

pkgver() {
	cd "${_pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "${_pkgname}"
	python3 setup.py build
}

package() {
	cd "${_pkgname}"
	python3 setup.py install --root="$pkgdir/" --optimize=1
}