~whynothugo/dotfiles

ref: 38b900dc12ae810eda071e6fd1e4f25db6bb3a2a dotfiles/packages/whynothugo-user/PKGBUILD -rw-r--r-- 812 bytes
38b900dc — Hugo Osvaldo Barrera nvim: Add borders to hover float windows 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=(
  "2b0e84018764e03cc973aaa732bec18cb6ef7f93a97f1e8e7e74cb6d1ed7d438"
  "12b2975b763d33e6e27dd2cc6559015fdf07346f0ae9a245ccbd8321a16aa6fd"
  "12b2975b763d33e6e27dd2cc6559015fdf07346f0ae9a245ccbd8321a16aa6fd"
)
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"
}