summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 219ea2f2b82e6855585408b90d83b282da09d57a (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
# Maintainer: Timofey Titovets <nefelim4ag@gmail.com>

pkgname=steam-wine-git
pkgver=1.1.r5.g00ceea8
pkgrel=1
pkgdesc="Steam with simple wine wrapper"
arch=('any')
url="https://github.com/Nefelim4ag/steam-wine"
license=('GPL3')
depends=('wine' 'winetricks' 'bash')
optdepends=('lib32-libpulse: for audio' 'wine-staging')
makedepends=('git')
#conflicts=()
source=("$pkgname"::'git://github.com/Nefelim4ag/steam-wine.git#branch=master')
md5sums=('SKIP')
install=$pkgname.install
backup=("etc/steam-wine.conf")

pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "$srcdir/${pkgname}/"
    make install PREFIX="$pkgdir"
}