[arch-commits] Commit in mcdp/trunk (PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Fri Aug 28 12:37:32 UTC 2020
Date: Friday, August 28, 2020 @ 12:37:32
Author: freswa
Revision: 690745
fix unquoted variables
Modified:
mcdp/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-28 12:37:24 UTC (rev 690744)
+++ PKGBUILD 2020-08-28 12:37:32 UTC (rev 690745)
@@ -12,17 +12,17 @@
license=('GPL')
depends=('glibc')
#makedepends=('dietlibc')
-source=(http://http.debian.net/debian/pool/main/m/mcdp/mcdp_$pkgver.orig.tar.gz)
+source=(http://http.debian.net/debian/pool/main/m/mcdp/mcdp_${pkgver}.orig.tar.gz)
sha512sums=('580743c67e628871b69ddffc49fa796a7dc6ee7943e1e697a0e2a7f60baa22bab02475a7b693c8f827f337f4fb2b7d948c048e47f9333926c2ef0a37d5489fe0')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make $pkgname
+ cd ${pkgname}-${pkgver}
+ make ${pkgname}
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
- install -Dm755 $pkgname ${pkgdir}/usr/bin/$pkgname
- install -Dm644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
+ install -Dm755 ${pkgname} "${pkgdir}"/usr/bin/${pkgname}
+ install -Dm644 ${pkgname}.1 "${pkgdir}"/usr/share/man/man1/${pkgname}.1
}
More information about the arch-commits
mailing list