blob: e5202643279fad37bbb5f98d3a5fdde6a5736e46 (
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
|
# Maintainer: Derek J. Clark <derekjohn dot clark at gmail dot com>
pkgname=steam-removable-media-git
_gitdir=steam-removable-media
pkgver=24.07.r46.314c0bd
pkgrel=1
pkgdesc="Automounts and imports removable media as a Steam library"
arch=('any')
url="https://github.com/ShadowBlip/steam-removable-media"
license=('GPL')
groups=()
depends=('parted' 'f3' 'jq')
optdepends=()
provides=('steam-removable-media')
makedepends=('git')
conflicts=('jupiter-hw-support')
source=("${_gitdir}::git+https://github.com/ShadowBlip/${_gitdir}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${_gitdir}"
printf "%s.r%s.%s" $(date '+%y.%m') "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_gitdir}"
mkdir -p ${pkgdir}/usr/bin/shadowblip
install -m 755 usr/bin/shadowblip/* ${pkgdir}/usr/bin/shadowblip/
mkdir -p ${pkgdir}/usr/bin/steamos-polkit-helpers
install -m 755 usr/bin/steamos-polkit-helpers/* ${pkgdir}/usr/bin/steamos-polkit-helpers/
mkdir -p ${pkgdir}/usr/lib/media-support
install -m 744 usr/lib/media-support/* ${pkgdir}/usr/lib/media-support/
mkdir -p ${pkgdir}/usr/lib/hwsupport
install -m 744 usr/lib/hwsupport/* ${pkgdir}/usr/lib/hwsupport/
mkdir -p ${pkgdir}/usr/lib/systemd/system
install -m 644 "usr/lib/systemd/system/media-mount@.service" "${pkgdir}/usr/lib/systemd/system/media-mount@.service"
mkdir -p ${pkgdir}/usr/lib/udev/rules.d/
install -m 644 usr/lib/udev/rules.d/* ${pkgdir}/usr/lib/udev/rules.d/
mkdir -p ${pkgdir}/usr/share/polkit-1/actions
install -m 644 usr/share/polkit-1/actions/* ${pkgdir}/usr/share/polkit-1/actions/
mkdir -p ${pkgdir}/usr/share/polkit-1/rules.d
install -m 644 usr/share/polkit-1/rules.d/* ${pkgdir}/usr/share/polkit-1/rules.d/
}
|