diff options
author | Erich Eckner <git@eckner.net> | 2016-05-25 13:24:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-05-25 17:03:02 +0200 |
commit | 2373d2799a335eeb4fc15b35a1751b6e04467ea3 (patch) | |
tree | 9f7986a1fd83fbd774d517c10a4c3a1b800368e4 | |
parent | 61042e8dc396a608bb32734aeeb07b7707b34872 (diff) | |
download | archlinuxewe-2373d2799a335eeb4fc15b35a1751b6e04467ea3.tar.xz |
adduser neu
-rw-r--r-- | adduser/.gitignore | 1 | ||||
-rw-r--r-- | adduser/PKGBUILD | 20 |
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" +} |