blob: 37a1c47a52e4094070be8818251edefab416e654 (
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
47
48
49
50
|
## Maintainer: pyamsoft <pyam.soft@gmail.com>
pkgname=steam-wrapper
# shellcheck disable=SC2034
pkgdesc="Steam wrapper for common operations"
# shellcheck disable=SC2034
pkgver=0.7.0
# shellcheck disable=SC2034
pkgrel=1
# shellcheck disable=SC2034
arch=('i686' 'x86_64')
# shellcheck disable=SC2034
optdepends=('steam-native-runtime: Native runtime library support')
# shellcheck disable=SC2034
depends=('steam')
# shellcheck disable=SC2034
makedepends=()
# shellcheck disable=SC2034
provides=('steam-wrapper')
# shellcheck disable=SC2034
conflicts=('steam-wrapper')
# shellcheck disable=SC2034
license=('GPLv2')
# shellcheck disable=SC2034
url="https://github.com/pyamsoft/${pkgname}"
# shellcheck disable=SC2034
source=("$url/archive/${pkgver}.tar.gz")
# shellcheck disable=SC2034
sha256sums=('96751a662425fd4c25474f55a6928c39acc9483d75e928ea31b595ff45615734')
package() {
# shellcheck disable=SC2154
cd "$srcdir/$pkgname-$pkgver" || {
msg "Could not cd into ${srcdir}/${pkgname}-${pkgver}"
return 1
}
# Install the script
# shellcheck disable=SC2154
install -Dm 755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# Install the desktop file
install -Dm644 "${pkgname}.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Install the default configuration
install -Dm 644 "${pkgname}.conf" \
"${pkgdir}/etc/${pkgname}/${pkgname}.conf"
}
|