[arch-commits] Commit in watchman/trunk (PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Fri Aug 28 13:13:09 UTC 2020
Date: Friday, August 28, 2020 @ 13:13:09
Author: freswa
Revision: 690858
fix unquoted variables
Modified:
watchman/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-28 13:12:44 UTC (rev 690857)
+++ PKGBUILD 2020-08-28 13:13:09 UTC (rev 690858)
@@ -10,37 +10,37 @@
arch=('i686' 'x86_64')
license=('Apache')
depends=('pcre' 'systemd' 'python')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/facebook/watchman/archive/v$pkgver.tar.gz"
- "$pkgname.tmpfiles" "python3.patch")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/facebook/watchman/archive/v${pkgver}.tar.gz"
+ "${pkgname}.tmpfiles" "python3.patch")
sha256sums=('1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322'
'2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379'
'8aa32e37aef329e0873425d25e370d25b7aa0731f104a645737f1111f64a5a9e')
prepare() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
./autogen.sh
- patch -Np1 -i ${srcdir}/python3.patch
+ patch -Np1 -i "${srcdir}"/python3.patch
}
build() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --disable-statedir --enable-lenient
make
}
check() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
# TODO: fix segfault in test
#make check
}
package() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
# Docs available online only; see https://github.com/facebook/watchman/issues/30
- make DESTDIR=$pkgdir install
+ make DESTDIR="${pkgdir}" install
- install -Dm 644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
+ install -Dm 644 "${srcdir}"/${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list