PKGBUILDs/aur/adduser/PKGBUILD

21 lines
650 B
Bash
Raw Normal View History

2013-01-22 00:47:50 +00:00
# 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: