~whynothugo/dotfiles

ref: a161f8c207adea1fb51092ffa4bb65ae258088d9 dotfiles/packages/whynothugo-user/PKGBUILD -rw-r--r-- 632 bytes
a161f8c2 — Hugo Osvaldo Barrera Stop tracking checksum for repo-local files 2 months ago
                                                                                
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
# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>

pkgname=whynothugo-user
pkgver=4
pkgrel=1
pkgdesc="Create user for interactive desktop usage."
arch=("any")
depends=(
  "holo-users-groups"
  "zsh"
)
source=(
  "hugo.toml"
  "subuid"
  "subgid"
)
sha256sums=(
  "SKIP"
  "SKIP"
  "SKIP"
)
install="whynothugo-user.install"

package() {
  # Rely on `holo` for user/group creation.
  install -Dm 0644 "$srcdir/hugo.toml" "$pkgdir/usr/share/holo/users-groups/hugo.toml"

  # Required to use rootless containers.
  install -Dm 0644 "$srcdir/subuid" "$pkgdir/etc/subuid"
  install -Dm 0644 "$srcdir/subuid" "$pkgdir/etc/subgid"
}