blob: ea16d148229431fa64a50be20f9d1112383b1b0e (
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
38
39
40
41
42
43
|
# Maintainer: Dummerle
pkgname=rare
pkgver=1.10.11
pkgrel=1
pkgdesc="A GUI for legendary, an open source replacement for Epic Games Launcher"
arch=('any')
url="https://github.com/RareDevs/Rare"
license=('GPL3')
depends=(
python-pyqt5
qt5-svg
python-qtawesome
python-requests
python-typing_extensions
python-orjson
legendary
)
makedepends=(
git
python-{build,installer,wheel}
python-setuptools
)
optdepends=(
"wine: run Windows games"
"proton: run Windows games"
"python-pypresence: Discord RPC integration"
"python-pywebview: embedded browser for logging in"
)
source=("git+https://github.com/RareDevs/Rare.git#tag=$pkgver")
sha256sums=("SKIP")
build() {
cd Rare
python -m build -wn
}
package() {
cd Rare
python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 "misc/${pkgname%-git}.desktop" "$pkgdir/usr/share/applications/${pkgname%-git}.desktop"
install -Dm644 "rare/resources/images/Rare.png" "$pkgdir/usr/share/pixmaps/${pkgname%-git}.png"
}
|