mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
21 lines
650 B
Bash
21 lines
650 B
Bash
|
# Maintainer: Josh VanderLinden <arch@cloudlery.com>
|
||
|
pkgname=adduser
|
||
|
pkgver=1.15
|
||
|
pkgrel=4
|
||
|
pkgdesc="Interactive front end to /usr/sbin/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/sbin/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:
|