blob: 113931440822fd3f2469e6253b9d91410e0412fa (
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: Hubert "hkk" Batkiewicz <hubert@batkiewi.cz>
pkgname=gamma-launcher
pkgver=2.0
pkgrel=1
pkgdesc="S.T.A.L.K.E.R GAMMA launcher for Linux"
arch=(x86_64)
url="https://github.com/Mord3rca/gamma-launcher"
license=('GPL')
depends=(python python-bs4 python-platformdirs python-py7zr python-unrar python-requests python-tenacity python-tqdm python-magic python-rarfile python-gitpython)
makedepends=(git python-pip python-setuptools)
optdepends=(unrar)
provides=(gamma-launcher)
source=("git+$url")
md5sums=('SKIP')
build() {
cd "$pkgname"
git checkout tags/v"$pkgver"
python setup.py build
}
package() {
cd "$pkgname"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|