[arch-commits] Commit in python-gflags/trunk (PKGBUILD)

Frederik Schwan freswa at archlinux.org
Fri Aug 28 12:57:04 UTC 2020


    Date: Friday, August 28, 2020 @ 12:57:04
  Author: freswa
Revision: 690807

fix unquoted variables

Modified:
  python-gflags/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 12:56:57 UTC (rev 690806)
+++ PKGBUILD	2020-08-28 12:57:04 UTC (rev 690807)
@@ -8,20 +8,20 @@
 license=('BSD')
 depends=('python')
 makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/$pkgver.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/${pkgname}/archive/${pkgver}.tar.gz")
 sha256sums=('f1692c79ccf4a55d13895dcd195f0db1ebd55c71024b431ec953703b38d73f96')
 
 build() {
-    cd "$pkgname-$pkgver"
+    cd ${pkgname}-${pkgver}
     python setup.py build
 }
 
 package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --root=${pkgdir}
-  chmod +x "$pkgdir/usr/bin/gflags2man.py"
-  #chmod +r ${pkgdir}/* -R
-  #install -dm755 ${pkgdir}/usr/share/licenses/${pkgname}
-  install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/$pkgname/AUTHORS"
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  cd ${pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}"
+  chmod +x "${pkgdir}"/usr/bin/gflags2man.py
+  #chmod +r "${pkgdir}"/* -R
+  #install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -Dm644 AUTHORS "${pkgdir}"/usr/share/licenses/${pkgname}/AUTHORS
+  install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
 }



More information about the arch-commits mailing list