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

Christian Rebischke shibumi at archlinux.org
Wed Sep 25 22:06:08 UTC 2019


    Date: Wednesday, September 25, 2019 @ 22:06:08
  Author: shibumi
Revision: 511791

upgpkg: brightnessctl 0.4-3

Fix unquoted variables which break building the package in certain scenarios

Modified:
  brightnessctl/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-25 20:45:41 UTC (rev 511790)
+++ PKGBUILD	2019-09-25 22:06:08 UTC (rev 511791)
@@ -2,28 +2,28 @@
 
 pkgname=brightnessctl
 pkgver=0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Lightweight brightness control tool"
 arch=('x86_64')
 url='https://github.com/Hummer12007/brightnessctl'
 license=('MIT')
 source=(
-  "$pkgname-$pkgver.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/$pkgver.tar.gz"
+  "${pkgname}-${pkgver}.tar.gz::https://github.com/Hummer12007/brightnessctl/archive/${pkgver}.tar.gz"
 )
 sha512sums=('f0e1abe4dd7fc66a7990c0c42ecd9af079ba397fb0a49d339c5927fe639edbce4c30ecfcd16c3e0bf58de2eb4ca611dd1e1ce40eec9f95fe3960189c5e5396d8')
 install='brightnessctl.install'
 
 build() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd "${pkgname}-${pkgver}"
   make UDEVDIR="/usr/lib/udev/rules.d" INSTALL_UDEV_RULES=1 DESTDIR="$pkgdir" install
 
-  mkdir -p $pkgdir/usr/share/licenses/$pkgname
-  install -m 0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/
+  mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list