blob: ac45c64d77178b802a6c3ee7bdcc40e48b049053 (
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
37
|
# Contributor: Timofey Titovets <nefelim4ag@gmail.com>
# Maintainer: Kuan-Yen Chou <kuanyenchou@gmail.com>
pkgname=leagueoflegends-git
pkgver=0.11.13.r0.gc61d902
pkgrel=1
pkgdesc="League of Legends helper script"
arch=('any')
url="https://github.com/kyechou/leagueoflegends"
license=('GPL3')
depends=('wine-lol' 'winetricks-git' 'bash' 'curl' 'openssl' 'lib32-gnutls'
'lib32-libldap' 'lib32-openal' 'lib32-libpulse' 'vulkan-icd-loader'
'lib32-vulkan-icd-loader' 'vulkan-driver' 'lib32-vulkan-driver')
makedepends=()
optdepends=("lib32-amdvlk: AMD Vulkan driver"
"lib32-nvidia-utils: NVIDIA Vulkan driver"
"lib32-vulkan-intel: Intel's Vulkan mesa driver"
"lib32-vulkan-radeon: Radeon's Vulkan mesa driver"
"zenity: Loading screen indication")
provides=('leagueoflegends')
conflicts=('leagueoflegends')
source=("$pkgname"::'git+https://github.com/kyechou/leagueoflegends')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
if git describe --long --tags >/dev/null 2>&1; then
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
else
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"
fi
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}
|