diff options
author | Gordian Edenhofer | 2016-04-18 17:33:33 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2016-04-18 17:33:33 +0200 |
commit | ca03a75ee4832997339469f69b84d9fee6676edb (patch) | |
tree | 62777251897cae5fe918c0c54ec200e26266d04a | |
parent | 7af4364a7643d49003c9765a112e02ff54c6edf1 (diff) | |
download | aur-ca03a75ee4832997339469f69b84d9fee6676edb.tar.gz |
Upgpkg: 0.5.12-1
Escape possible spaces in variables.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 14 insertions, 16 deletions
@@ -1,5 +1,3 @@ -# Generated by makepkg 5.0.0 -# Fri Feb 26 12:12:53 UTC 2016 pkgbase = munge pkgdesc = An authentication service for creating and validating credentials. It is designed to be highly scalable for use in an HPC cluster environment. pkgver = 0.5.12 @@ -12,38 +12,38 @@ depends=('openssl') optdepends=("zlib: zlib compression support" "bzip2: bzip2 compression support") conflicts=('munge-git') -install=$pkgname.install -source=("https://github.com/dun/munge/archive/$pkgname-$pkgver.tar.gz") +install="${pkgname}.install" +source=("https://github.com/dun/munge/archive/${pkgname}-${pkgver}.tar.gz") md5sums=('3e10b37d509025b49dda4f49c4c81c76') build() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --sysconfdir=/etc + --prefix=/usr \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --sysconfdir=/etc make } package() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}" - make DESTDIR="$pkgdir" install + make DESTDIR="${pkgdir}" install # Remove obsolete init script (Arch Linux uses SystemD) - rm -f $pkgdir/etc/init.d/munge - rmdir $pkgdir/etc/init.d + rm -f "${pkgdir}"/etc/init.d/munge + rmdir "${pkgdir}"/etc/init.d # /usr/sbin is deprecated in Arch Linux - sed -i 's/\/usr\/sbin/\/usr\/bin/g' $pkgdir/usr/lib/systemd/system/munge.service + sed -i 's/\/usr\/sbin/\/usr\/bin/g' "${pkgdir}"/usr/lib/systemd/system/munge.service # It is bad practice to put package-files in /run # The dir /var/run/munge will be created in post_install, see .install - rmdir $pkgdir/var/run/munge - rmdir $pkgdir/var/run + rmdir "${pkgdir}"/var/run/munge + rmdir "${pkgdir}"/var/run # Securing the installation (this is optional) chmod 0700 /etc/munge |