blob: 575ce541d2d86b11acb673b0f9500dca09cc58f1 (
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
|
# Maintainer: Shayne Hartford <shayneehartford@gmail.com>
pkgname=protondb-tags-git
_pkgname=ProtonDB-Tags
pkgver=r52.7abf49e
pkgrel=2
pkgdesc="Pull ratings from ProtonDB and import them into your Steam library as tags."
arch=('any')
url="https://github.com/CorruptComputer/$_pkgname"
license=('MIT')
depends=(
'python-vdf'
'python-requests'
)
optdepends=(
'steam: Supports any steam, native, flatpak, etc'
)
makedepends=('git')
provides=('protondb-tags')
conflicts=('protondb-tags')
source=(git+https://github.com/CorruptComputer/$_pkgname.git)
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 $_pkgname.py "$pkgdir/usr/bin/$_pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|