summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormaz-12015-10-14 12:06:48 +0800
committermaz-12015-10-14 12:06:48 +0800
commit9d76d11d33c46a8b379b51581249fd930a70888c (patch)
treeab147a3414f109addd416c69272fe03e82ec3c6f
downloadaur-9d76d11d33c46a8b379b51581249fd930a70888c.tar.gz
init
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cc77bd73f87
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = adduser
+ pkgdesc = Interactive front end to /usr/bin/useradd from Slackware Linux
+ pkgver = 1.15
+ pkgrel = 5
+ url = http://www.slackware.com/
+ arch = any
+ license = BSD
+ depends = gawk
+ depends = shadow>=4.1.5.1-3
+ provides = adduser
+ source = http://mirrors.slackware.com/slackware/slackware64-current/source/a/shadow/adduser
+ md5sums = 84514d199d0fce7ad2c2f439ec7a7bea
+
+pkgname = adduser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e20727c44fb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: 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")
+md5sums=('84514d199d0fce7ad2c2f439ec7a7bea')
+
+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"
+}
+
+# vim:set ts=2 sw=2 et: