# Maintainer: Timofey Titovets pkgname=leagueoflegends-git pkgver=23.4cd1609 pkgrel=1 pkgdesc="League Of Legends: Install/Run wrapper" arch=('any') url="https://github.com/Nefelim4ag/League-Of-Legends" license=('GPL3') depends=('wine-staging' 'winetricks' 'bash') conflicts=('leagueoflegends') source=("$pkgname"::'git://github.com/Nefelim4ag/League-Of-Legends.git#branch=master') md5sums=('SKIP') install=leagueoflegends-git.install backup=("etc/leagueoflegends.conf") pkgver() { cd ${pkgname} echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { cd "$srcdir/${pkgname}/" ./install.sh PREFIX="$pkgdir" }