diff options
author | Erich Eckner <git@eckner.net> | 2018-07-26 08:33:38 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-26 08:33:38 +0200 |
commit | 53727c7194eaea5b22fc77c675817a2a2730bbd6 (patch) | |
tree | f7cf6bfb1c6bd0217e739a281e10ce0b5e3ddf8d | |
parent | 1c87deadd1e7a32ece8e837c43e75564a56a3f66 (diff) | |
download | archlinuxewe-53727c7194eaea5b22fc77c675817a2a2730bbd6.tar.xz |
adduser: version the source
-rw-r--r-- | adduser/.gitignore | 2 | ||||
-rw-r--r-- | adduser/PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/adduser/.gitignore b/adduser/.gitignore index 8ca3536b0..d5cd756a5 100644 --- a/adduser/.gitignore +++ b/adduser/.gitignore @@ -1 +1 @@ -adduser +adduser-* diff --git a/adduser/PKGBUILD b/adduser/PKGBUILD index aca83ee98..e3949d99a 100644 --- a/adduser/PKGBUILD +++ b/adduser/PKGBUILD @@ -10,11 +10,11 @@ url="http://www.slackware.com/" license=('BSD') provides=('adduser') depends=('gawk' 'shadow>=4.1.5.1-3') -source=("https://mirrors.slackware.com/slackware/slackware64-current/source/a/shadow/adduser") +source=("${pkgname}-${pkgver}::https://mirrors.slackware.com/slackware/slackware64-current/source/a/shadow/adduser") sha512sums=('68fcf9d4b437c574e8431f6be9cde54cd275e9076204e0d19f74024f25b12a57e2b71a5bd5d1cf9ab8e96621f648b3ede7f5f450b7ec61c90239f898b5538fe1') package() { - install -D -m755 adduser "${pkgdir}/usr/bin/adduser" - sed '/^###/q;1,2d;s/^# *//' adduser | head -n -2 > LICENSE + 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" } |