diff options
author | Omar Pakker | 2017-06-18 16:10:55 +0200 |
---|---|---|
committer | Omar Pakker | 2017-06-18 16:10:55 +0200 |
commit | c36793423af34facd657ca98c65a2f2375931198 (patch) | |
tree | 6048fd8b027081cc401833f84c271b61e984a062 /PKGBUILD | |
download | aur-steamfootbridge-git.tar.gz |
Initial push for SteamFootBridge, the python implementation replacing SteamBridge.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..542b66992b81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |