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

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


commit 09c1a758ece8aed2f04c35dd701fe52b98a7c72d
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Mon Feb 8 22:42:41 2021 +0100

    st: tweak Pkgfile

diff --git a/st/.signature b/st/.signature
index b570bd0eb..df118ca55 100644
--- a/st/.signature
+++ b/st/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF39uDaLUazyyVHnI4OzB2q8Il4g303Y8k5JGPADyNfioHs+cDG0s5oej9jj+s9FuLOTnv1zTNN7M8j80+GtiCvg4=
-SHA256 (Pkgfile) = 9e1e6b7711c401a3406db10e417605e4b462eee67a10755170721fd61a0c6945
+RWSagIOpLGJF3xe7jBX4/URoyn9uy5QUD21gvgRT4PWrnJ1er2KrCTeFKdsjcgNKKFH/0XZeWaN/7rr0m4q0fft+cDaMSWPIWgA=
+SHA256 (Pkgfile) = 651ebce312ddac549efaca02519df75e0926b24c6b41b8eaaf98fb0f9d201fb8
 SHA256 (.footprint) = 691a6289f6a50fbf5ac809a9575739a0cf939045f0b1b24f28847765a13a620b
 SHA256 (st-0.8.4.tar.gz) = d42d3ceceb4d6a65e32e90a5336e3d446db612c3fbd9ebc1780bc6c9a03346a6
 SHA256 (xrdb-plus.patch) = fde468790e3574f1ebfc9e56742e17e5eca33ee94e6b093b58f2e61457c9938c
diff --git a/st/Pkgfile b/st/Pkgfile
index 61b8f239e..23fd66bd8 100644
--- a/st/Pkgfile
+++ b/st/Pkgfile
@@ -5,21 +5,23 @@
 
 name=st
 version=0.8.4
-release=1
+release=2
 realn=st
-source=(https://dl.suckless.org/$realn/$realn-$version.tar.gz \
-   xrdb-plus.patch)
+source=(
+   https://dl.suckless.org/${realn}/${realn}-${version}.tar.gz
+   xrdb-plus.patch
+)
 
 build() {
-   cd $realn-$version
+   cd ${realn}-${version}
 
-   patch -p1 -i $SRC/xrdb-plus.patch
+   patch -p1 -i "${SRC}"/xrdb-plus.patch
 
    sed -i '/tic/d' Makefile
 
    make CC="${CC:-cc}" PREFIX=/usr \
          X11INC=/usr/include/X11 X11LIB=/usr/lib \
-         DESTDIR="$PKG" \
+         DESTDIR="${PKG}" \
       all install
 }
 


More information about the crux-commits mailing list