blob: 6514a3ef7359e5ff8b421246241305b2e2a9d7ae (
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
44
45
46
|
# Maintainer: Chenx Dust <chenx_dust@outlook.com>
pkgname=steam-gamepadui-session-git
_gitown=chenx-dust
_gitdir=steam-gamepadui-session
pkgver=r24.2460526
pkgrel=1
pkgdesc="Steam Big Picture session based on gamescope for vanilla Arch Linux"
arch=('any')
url="https://github.com/${_gitown}/${_gitdir}"
license=('MIT')
groups=()
depends=('steam' 'gamescope' 'gamescope-session-git')
optdepends=(
'ttf-dejavu: for initial screen text'
'noto-fonts-cjk: for initial screen text in cjk'
'steam-removable-media-git: removable media support'
'mangohud: performance overlay'
'ibus: input support'
'ibus-pinyin: pinyin input support'
'ibus-anthy: japanese input support'
'ibus-table: alternative of ibus-table-cangjie-lite'
'inputplumber: better controller support, conflict with hhd'
'hhd: better controller support, conflict with inputplumber'
'pacman-contrib: for upgrade arch linux in steam ui'
)
conflicts=('gamescope-session-steam-git')
makedepends=('git')
source=("${_gitdir}::git+https://github.com/${_gitown}/${_gitdir}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_gitdir}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_gitdir}"
cp -rv "${srcdir}/${_gitdir}/usr" "${pkgdir}/usr"
# font workaround for initial big picture mode startup
mkdir -p "${pkgdir}/usr/share/fonts/truetype/ttf-dejavu"
ln -s "/usr/share/fonts/TTF/DejaVuSans.ttf" "${pkgdir}/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"
}
|