summaryrefslogtreecommitdiff
path: root/config-users-base.PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-12 20:47:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-12 20:47:40 -0400
commitd9af165a9b327f738decc6755c2732191f3c4658 (patch)
treea88073de6cdc52254e80569c4676516c14beab77 /config-users-base.PKGBUILD
parenta4c65cf09ff95a040aafab8d756e5a11b4caa331 (diff)
tidy
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'