aboutsummaryrefslogtreecommitdiff
path: root/development/helix
diff options
context:
space:
mode:
Diffstat (limited to 'development/helix')
-rw-r--r--development/helix/helix.SlackBuild8
-rw-r--r--development/helix/helix.info10
2 files changed, 6 insertions, 12 deletions
diff --git a/development/helix/helix.SlackBuild b/development/helix/helix.SlackBuild
index 44dbed1018..f40c420e54 100644
--- a/development/helix/helix.SlackBuild
+++ b/development/helix/helix.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=helix
-VERSION=${VERSION:-25.01.1}
+VERSION=${VERSION:-25.07.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,6 @@ chown -R root:root .
# Grammar sources are bundled, no need to fetch them again
patch -p1 < $CWD/disable-grammar-fetching.patch
-# Use rust-opt instead of system rust if it's available
export PATH="/opt/rust/bin:$PATH"
if [ -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX"
@@ -90,7 +89,6 @@ else
export LD_LIBRARY_PATH="/opt/rust/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
fi
-# Compile the binaries
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
RUSTFLAGS="-C target-cpu=native" \
@@ -98,7 +96,6 @@ CARGO_HOME=".cargo" \
HELIX_DEFAULT_RUNTIME=/usr/lib$LIBDIRSUFFIX/$PRGNAM \
cargo build --frozen --profile opt
-# Package everything
mkdir -p $PKG/usr/bin \
$PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM \
$PKG/usr/share/bash-completion/completions \
@@ -121,18 +118,15 @@ for geometry in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256; do
magick contrib/helix.png -resize $geometry $PKG/usr/share/icons/hicolor/$geometry/apps/$PRGNAM.png
done
-# Strip binaries and libraries
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Copy available documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.md CHANGELOG.md docs/*.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Build additional documentation
if [ "${DOCS:-no}" != "no" ]; then
mdbook build --dest-dir $PKG/usr/doc/$PRGNAM-$VERSION/html book
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/html/{CNAME,404.html,.nojekyll,generated}
diff --git a/development/helix/helix.info b/development/helix/helix.info
index 564553457a..534f563c5a 100644
--- a/development/helix/helix.info
+++ b/development/helix/helix.info
@@ -1,10 +1,10 @@
PRGNAM="helix"
-VERSION="25.01.1"
+VERSION="25.07.1"
HOMEPAGE="https://helix-editor.com"
-DOWNLOAD="https://github.com/helix-editor/helix/releases/download/25.01.1/helix-25.01.1-source.tar.xz \
- https://sbo.t-rg.ws/helix-25.01.1-vendored-sources.tar.xz"
-MD5SUM="4a006271f3ef064d56bd50df5978b1ab \
- 146bc89348781c487734bce13572942f"
+DOWNLOAD="https://github.com/helix-editor/helix/releases/download/25.07.1/helix-25.07.1-source.tar.xz \
+ https://sbo.t-rg.ws/helix-25.07.1-vendored-sources.tar.xz"
+MD5SUM="2b5e1b34e1c849d7329ec354a707a77a \
+ 8f4fabacd9a671816643fe9bac1ae80b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rust-opt"