[arch-commits] Commit in libxdg-basedir/trunk (PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Fri Aug 28 12:34:52 UTC 2020
Date: Friday, August 28, 2020 @ 12:34:52
Author: freswa
Revision: 690738
fix unquoted variables
Modified:
libxdg-basedir/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-28 12:34:31 UTC (rev 690737)
+++ PKGBUILD 2020-08-28 12:34:52 UTC (rev 690738)
@@ -18,7 +18,7 @@
'772afb3c9aefe6ed6b941faf582ea74582c3e7042237701f7e02d4f237d3e4ec528ebc7caf5adb2c1a0adc398fae52e172c009ad962de0620b0376123d76b2d6')
prepare() {
- cd "${srcdir}/$pkgname-$pkgname-$pkgver"
+ cd ${pkgname}-${pkgname}-${pkgver}
# FS#39490: Fix buffer overflow
patch -Np0 -i "${srcdir}/xdgGetRelativeHome-overflow.patch"
@@ -25,16 +25,16 @@
}
build() {
- cd "${srcdir}/$pkgname-$pkgname-$pkgver"
+ cd ${pkgname}-${pkgname}-${pkgver}
./autogen.sh --prefix=/usr
make
}
package() {
- cd "${srcdir}/$pkgname-$pkgname-$pkgver"
- make DESTDIR=${pkgdir} install
+ cd ${pkgname}-${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
# Install MIT license
- install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list