blob: d74e36359c2178ff2df2a40b9324d3a5a59810f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Josh VanderLinden <arch@cloudlery.com>
pkgname=adduser
pkgver=1.18
pkgrel=1
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=("${pkgname}-${pkgver}::https://mirrors.slackware.com/slackware/slackware64-current/source/a/shadow/adduser")
sha512sums=('0cd782b04a94a2717579bb460546cb4fea8e05c0a472ef7b5bdd735f5f819ef85a3f1be29287f341770326a3afb9e17d9f483eff0c4c58a72841fe81ba0e8d8a')
package() {
install -D -m755 "${pkgname}-${pkgver}" "${pkgdir}/usr/bin/adduser"
sed '/^###/q;1,2d;s/^# *//' "${pkgname}-${pkgver}" | head -n -2 > LICENSE
install -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|