[crux-commits] ports/contrib (refs/remotes/origin/3.6): acpid: pretty up bashism (prodded by beerman)

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:54 UTC 2021


commit 4a965ea29d0198828ca7621ccf9fc2d4c05cf22f
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Fri Feb 5 00:19:45 2021 +0100

    acpid: pretty up bashism (prodded by beerman)

diff --git a/acpid/.signature b/acpid/.signature
index 1672d3ee7..ed3e62f22 100644
--- a/acpid/.signature
+++ b/acpid/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3+oeVarXfNCYcZP3WwIzDwNXVQMsq9qzpELt0U9/U5g1Dt5UNM2S+hw4PL9ZDnG/LGSfpW+vJKG5055uwu+bNAo=
-SHA256 (Pkgfile) = 753815144a9ff5ee232309eb68843a4d7d23ac9bf6b5226c60106e7fb666a8fc
+RWSagIOpLGJF315liaehwUmIOQ4EAlCNb7mfi7TRsfSBTBYj0ZLtY/dXftwte3tVxKqF68kA+qYWlBimCqxCmv98j/TKdA3NFwQ=
+SHA256 (Pkgfile) = 25db93bc45e5029c74d6bbb41de8146b5445e9e1880ebfec4f6f9c860810d166
 SHA256 (.footprint) = e4da2ef20c91becc9458692dcb62589feb4e6da8e4a5724133d1e5d0456fa602
 SHA256 (acpid-2.0.32.tar.xz) = f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e
 SHA256 (acpid.rc) = 17ad7f6f021a01f9d45578a776988f557511761467b2494dcba181ed48dd703b
diff --git a/acpid/Pkgfile b/acpid/Pkgfile
index 662b2879d..4ffccb0c2 100644
--- a/acpid/Pkgfile
+++ b/acpid/Pkgfile
@@ -5,12 +5,13 @@
 name=acpid
 version=2.0.32
 release=2
-source=(\
-   https://downloads.sourceforge.net/sourceforge/acpid2/$name-$version.tar.xz \
-   acpid.rc default default.sh)
+source=(
+   https://downloads.sourceforge.net/sourceforge/acpid2/$name-$version.tar.xz
+   acpid.rc default default.sh
+)
 
 build() {
-   cd $name-$version
+   cd "${name}"-"${version}"
 
    ./configure --prefix=/usr
    make


More information about the crux-commits mailing list