summaryrefslogtreecommitdiff
path: root/acct-cynerd/APKBUILD
blob: 47a6014ca3ddee3d9737d6ca9de4d1b22d43910e (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
# Contributor: Karel Kočí <cynerd@email.cz>
# Maintainer: Karel Kočí <cynerd@email.cz>
pkgname=acct-cynerd
pkgver=0.1.3
pkgrel=1
pkgdesc="Personal Cynerd account"
url="https://git.cynerd.cz/alpine-personal-pkgs/"
arch="noarch"
license="GPLv3"
options="!check"

depends="shellrc-zsh"
source="authorized_keys"
install="$pkgname.pre-install $pkgname.pre-upgrade"

pkgusers="cynerd"
pkggroups="cynerd"

package() {
	install -D -m 644 "$srcdir"/authorized_keys "$pkgdir"/home/cynerd/.ssh/authorized_keys
	chown -R cynerd:cynerd "$pkgdir"/home/cynerd
}

sha512sums="f0a78ad74a3c29409f9fc297f29ee9375b8d4d9dd9e98f50df32edbb609a48194525cb7a2d7931edec4699292fb8a59cec91c1eb813e19971a5156625b017457  authorized_keys"