[crux-commits] ports/contrib (3.6): dtach: tweak Pkgfile

crux at crux.nu crux at crux.nu
Mon Feb 8 23:09:48 UTC 2021


commit 73fddc7cee2e0d3336d5153f08e0fc5441bebf5f
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Mon Feb 8 23:12:48 2021 +0100

    dtach: tweak Pkgfile

diff --git a/dtach/.signature b/dtach/.signature
index 59d4c0ef9..0efd3e01a 100644
--- a/dtach/.signature
+++ b/dtach/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF32hMU76Qekc4Y3rJfHwXf1iHlJGbdh8bo4u8LUZW3/xYEbKQ3Cp/LdlHBsks7XYyYRuGEioawiuKNThHfgN7AQs=
-SHA256 (Pkgfile) = 4b020358a143900083f50a67af2451666995ca496e4343e3ab6fe66a6c4b34d3
+RWSagIOpLGJF31PmGC1w0UJLVjC0c1CtUAQ9kT7Bcrl71IDO7DjPRto6qBhFW16kVmQSTPAt1o7goyd/Wepgo45LBoxf76TOSQI=
+SHA256 (Pkgfile) = 3d09a84806260fbe075a510d7ddd0463b116ce59033c05533efccfc49449d5b4
 SHA256 (.footprint) = 12dd84eecfdce7dfc9fb7d046cebe6d703158aa054310a21b0825bf8afbaff32
 SHA256 (v0.9.tar.gz) = 5f7e8c835ee49a9e6dcf89f4e8ccbe724b061c0fc8565b504dd8b3e67ab79f82
diff --git a/dtach/Pkgfile b/dtach/Pkgfile
index 5095b5559..a24090153 100644
--- a/dtach/Pkgfile
+++ b/dtach/Pkgfile
@@ -5,17 +5,17 @@
 name=dtach
 version=0.9
 release=2
-source=(https://github.com/crigler/$name/archive/v$version.tar.gz)
+source=(https://github.com/crigler/${name}/archive/v${version}.tar.gz)
 
 build() {
-   cd $name-$version
+   cd ${name}-${version}
 
    ./configure
 
    make
 
-   install -D -m 755 $name $PKG/usr/bin/$name
-   install -D -m 644 $name.1 $PKG/usr/share/man/man1/$name.1
+   install -D -m 755 ${name} "${PKG}"/usr/bin/${name}
+   install -D -m 644 ${name}.1 "${PKG}"/usr/share/man/man1/${name}.1
 }
 
 # s-sh-mode


More information about the crux-commits mailing list