summaryrefslogtreecommitdiff
path: root/config-users-base.PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'config-users-base.PKGBUILD')
-rw-r--r--config-users-base.PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/config-users-base.PKGBUILD b/config-users-base.PKGBUILD
index 72ffc35..036d834 100644
--- a/config-users-base.PKGBUILD
+++ b/config-users-base.PKGBUILD
@@ -1,19 +1,16 @@
-pkgver=1
-pkgrel=1
-arch=(any)
-
-pkgname=config-users-base
+. ${BUILDFILE%/*}/common.sh
+pkgver=20160712.1
package() {
cd "$pkgdir"
install -dm755 etc
install -dm750 etc/sudoers.d
-install -m644 /dev/stdin etc/sudoers.d/00-wheel <<EOF
+add-file etc/sudoers.d/00-wheel <<EOF
%wheel ALL=(ALL) ALL
EOF
-install -Dm644 /dev/stdin etc/systemd/system/shadow.service.d/sort.conf <<EOF
+add-file etc/systemd/system/shadow.service.d/sort.conf <<EOF
[Service]
ExecStart=/bin/bash -c '/usr/bin/pwck -r && /usr/bin/pwck -s'
ExecStart=/bin/bash -c '/usr/bin/grpck -r && /usr/bin/grpck -s'