summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-25 13:24:54 +0200
committerErich Eckner <git@eckner.net>2016-05-25 17:03:02 +0200
commit2373d2799a335eeb4fc15b35a1751b6e04467ea3 (patch)
tree9f7986a1fd83fbd774d517c10a4c3a1b800368e4
parent61042e8dc396a608bb32734aeeb07b7707b34872 (diff)
downloadarchlinuxewe-2373d2799a335eeb4fc15b35a1751b6e04467ea3.tar.xz
adduser neu
-rw-r--r--adduser/.gitignore1
-rw-r--r--adduser/PKGBUILD20
2 files changed, 21 insertions, 0 deletions
diff --git a/adduser/.gitignore b/adduser/.gitignore
new file mode 100644
index 000000000..8ca3536b0
--- /dev/null
+++ b/adduser/.gitignore
@@ -0,0 +1 @@
+adduser
diff --git a/adduser/PKGBUILD b/adduser/PKGBUILD
new file mode 100644
index 000000000..609ee7113
--- /dev/null
+++ b/adduser/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Josh VanderLinden <arch@cloudlery.com>
+
+pkgname=adduser
+pkgver=1.15
+pkgrel=5
+pkgdesc="Interactive front end to /usr/bin/useradd from Slackware Linux"
+arch=('any')
+url="http://www.slackware.com/"
+license=('BSD')
+provides=('adduser')
+depends=('gawk' 'shadow>=4.1.5.1-3')
+source=("http://mirrors.slackware.com/slackware/slackware64-current/source/a/shadow/adduser")
+sha512sums=('0187b3d85f6f8ff956c3612ad937c9645d8d6423382def5ae00a9528bad1c9d06a1c0ef01e12da010de2c2eac527eac26282d1ff5c71492671c14ebd5923827b')
+
+package() {
+ install -D -m755 adduser "${pkgdir}/usr/bin/adduser"
+ sed '/^###/q;1,2d;s/^# *//' adduser | head -n -2 > LICENSE
+ install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}