Merge branch 'main' of ssh://src.le-moine.org:38172/gwh/slackbuilds
This commit is contained in:
commit
dc22d8c4dd
17 changed files with 413 additions and 22 deletions
73
ap/duf/SlackBuild
Executable file
73
ap/duf/SlackBuild
Executable file
|
@ -0,0 +1,73 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename "$CWD")
|
||||
GITHUB_REPO=muesli/duf
|
||||
VERSION=${VERSION:-latest}
|
||||
ARCH=${ARCH:-noarch}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
OUTPUT=/tmp
|
||||
|
||||
REPOSITORY=/var/cache/SlackBuilds.gwh/$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr "$PKG" "${TMP:?}/$PRGNAM"
|
||||
|
||||
mkdir -p "$PKG"
|
||||
|
||||
# mise en place
|
||||
cd $TMP || exit 1
|
||||
[ ! -e "$REPOSITORY" ] && git clone https://github.com/${GITHUB_REPO}.git "$REPOSITORY"
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
|
||||
cp -R "$REPOSITORY" "$TMP/$PRGNAM"
|
||||
cd "$TMP/$PRGNAM" || exit 1
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||
|
||||
go build
|
||||
|
||||
# installation
|
||||
mkdir -p "$PKG$PREFIX"/bin/
|
||||
cp duf "$PKG$PREFIX"/bin/
|
||||
|
||||
mkdir -p "$PKG$PREFIX"/man/man1/
|
||||
cp duf.1 "$PKG$PREFIX"/man/man1/
|
||||
gzip -9 "$PKG$PREFIX"/man/man1/duf.1
|
||||
|
||||
mkdir -p "$PKG$PREFIX/doc/$PRGNAM"
|
||||
cp -a LICENSE README.md duf.png "$PKG$PREFIX/doc/$PRGNAM"
|
||||
|
||||
# correction
|
||||
cd "$PKG" || exit 1
|
||||
chown -R root:root ./*
|
||||
|
||||
[ -d "$PKG"/usr/man ] && find "$PKG"/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
|
||||
# embaumement
|
||||
mkdir -p "$PKG/install"
|
||||
cat <<EOF > "$PKG"/install/slack-desc
|
||||
$PRGNAM: $PRGNAM (a better df)
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: https://github.com/${GITHUB_REPO}
|
||||
EOF
|
||||
|
||||
# empaquetage
|
||||
/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-${VERSION//-/}-$ARCH-$BUILD$TAG.txz"
|
79
d/janet-lang/SlackBuild
Executable file
79
d/janet-lang/SlackBuild
Executable file
|
@ -0,0 +1,79 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
GITHUB_REPO=janet-lang/janet
|
||||
VERSION=${VERSION:-latest}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
OUTPUT=/tmp
|
||||
|
||||
REPOSITORY=/var/cache/SlackBuilds.gwh/$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
SLCKFLAGS=" -O "
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG $TMP/$PRGNAM
|
||||
|
||||
mkdir -p $PKG
|
||||
|
||||
# mise en place
|
||||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
# sed -i 's|git@github.com:|https://github.com/|g' $(grep -l git@ .*)
|
||||
|
||||
# installation
|
||||
make install DESTDIR=$PKG PREFIX=$PREFIX LIBDIR=$PREFIX/lib$(uname -m | grep -o 64) JANET_MANPATH=$PREFIX/man/man1
|
||||
|
||||
mkdir -p $PKG$PREFIX/doc/$PRGNAM
|
||||
cp -R test/ doc/ *.md LICENSE $PKG$PREFIX/doc/$PRGNAM
|
||||
|
||||
# correction
|
||||
cd $PKG
|
||||
chown -R root:root ./*
|
||||
|
||||
find $PKG -name \.git\* -exec rm -fr {} \;
|
||||
|
||||
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
|
||||
# # Strip binaries
|
||||
# cd $PKG
|
||||
# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# embaumement
|
||||
mkdir -p $PKG/install
|
||||
cat <<EOF > $PKG/install/slack-desc
|
||||
$PRGNAM: $PRGNAM ( A dynamic language and bytecode vm )
|
||||
$PRGNAM:
|
||||
$PRGNAM: Janet is a programming language for system scripting,
|
||||
$PRGNAM: expressive automation, and extending programs written
|
||||
$PRGNAM: in C or C++ with user scripting capabilities.
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: https://github.com/${GITHUB_REPO}
|
||||
$PRGNAM:
|
||||
EOF
|
||||
|
||||
# empaquetage
|
||||
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
||||
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz
|
|
@ -46,13 +46,14 @@ cd $PRGNAM
|
|||
CFLAGS=$SLCKFLAGS \
|
||||
CPPFLAGS=$SLCKFLAGS \
|
||||
./configure \
|
||||
--prefix=$PREFIX
|
||||
--prefix=$PREFIX \
|
||||
--lua-version=$(lua -v | rg -o "[0-9]\.[0-9]" | head -n1)
|
||||
|
||||
# compilation
|
||||
make -j3 PREFIX=$PREFIX
|
||||
|
||||
# installation
|
||||
make install DESTDIR=$PKG ROCKS_TREE=$PREFIX/lib64/luarocks #LUADIR=$PREFIX/lib64/lua/5.1
|
||||
make install DESTDIR=$PKG ROCKS_TREE=$PREFIX/lib64/luarocks
|
||||
|
||||
mkdir -p $PKG/etc/profile.d/
|
||||
cat <<EOF > $PKG/etc/profile.d/luarocks.sh
|
||||
|
|
86
l/notcurses/SlackBuild
Executable file
86
l/notcurses/SlackBuild
Executable file
|
@ -0,0 +1,86 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
GITHUB_REPO=dankamongmen/notcurses
|
||||
VERSION=${VERSION:-latest}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
OUTPUT=/tmp
|
||||
|
||||
REPOSITORY=/var/cache/SlackBuilds.gwh/$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
SLCKFLAGS=" -O "
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG $TMP/$PRGNAM
|
||||
|
||||
mkdir -p $PKG
|
||||
|
||||
# mise en place
|
||||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
-DCMAKE_INSTALL_DATADIR=$PREFIX \
|
||||
-DCMAKE_INSTALL_DOCDIR=$PREFIX/doc/$PRGNAM \
|
||||
-DUSE_MULTIMEDIA=none \
|
||||
.
|
||||
|
||||
# compilation
|
||||
make -j$(nproc)
|
||||
|
||||
# installation
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# mv $PKG$PREFIX/share/man/ $PKG$PREFIX/
|
||||
# mkdir -p $PKG$PREFIX/doc/$PRGNAM
|
||||
# cp -R COPYRIGHT *.md $PKG$PREFIX/doc/$PRGNAM
|
||||
|
||||
# correction
|
||||
cd $PKG
|
||||
chown -R root:root *
|
||||
|
||||
find $PKG -name \.git\* -exec rm -fr {} \;
|
||||
|
||||
[ -d $PKG${PREFIX}/man ] && find $PKG${PREFIX}/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
|
||||
# # Strip binaries
|
||||
# cd $PKG
|
||||
# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# embaumement
|
||||
mkdir -p $PKG/install
|
||||
cat <<EOF > $PKG/install/slack-desc
|
||||
$PRGNAM: $PRGNAM (blingful character graphics/TUI library)
|
||||
$PRGNAM:
|
||||
$PRGNAM: Definitly not curses
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: https://github.com/${GITHUB_REPO}
|
||||
EOF
|
||||
|
||||
# empaquetage
|
||||
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
||||
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz
|
86
xap/birdtray/SlackBuild
Executable file
86
xap/birdtray/SlackBuild
Executable file
|
@ -0,0 +1,86 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
GITHUB_REPO=gyunaev/birdtray
|
||||
VERSION=${VERSION:-latest}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
OUTPUT=/tmp
|
||||
|
||||
REPOSITORY=/var/cache/SlackBuilds.gwh/$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG $TMP/$PRGNAM
|
||||
|
||||
mkdir -p $PKG
|
||||
|
||||
# mise en place
|
||||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
git submodule update --init --recursive
|
||||
|
||||
# configuration
|
||||
mkdir build
|
||||
cd build/
|
||||
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
..
|
||||
|
||||
# compilation
|
||||
make -j$(nproc)
|
||||
|
||||
# installation
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# correction
|
||||
cd $PKG
|
||||
chown -R root:root ./*
|
||||
|
||||
find $PKG -name \.git\* -exec rm -fr {} \;
|
||||
|
||||
[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
|
||||
# Strip binaries
|
||||
cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# embaumement
|
||||
mkdir -p $PKG/install
|
||||
cat <<EOF > $PKG/install/slack-desc
|
||||
$PRGNAM: $PRGNAM (Independent tray icon for Thunderbird)
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: https://github.com/${GITHUB_REPO}
|
||||
$PRGNAM:
|
||||
EOF
|
||||
|
||||
# empaquetage
|
||||
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
||||
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz
|
|
@ -75,4 +75,4 @@ EOF
|
|||
|
||||
cd $PKG
|
||||
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
||||
/sbin/makepkg --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz
|
||||
/sbin/makepkg --remove-tmp-rpaths --linkadd y --chown n --prepend ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz
|
||||
|
|
66
xap/ghostty/SlackBuild
Executable file
66
xap/ghostty/SlackBuild
Executable file
|
@ -0,0 +1,66 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename "$CWD")
|
||||
GITHUB_REPO=ghostty-org/ghostty
|
||||
VERSION=${VERSION:-latest}
|
||||
ARCH=${ARCH:-noarch}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
OUTPUT=/tmp
|
||||
|
||||
REPOSITORY=/var/cache/SlackBuilds.gwh/$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr "$PKG" "${TMP:?}/$PRGNAM"
|
||||
|
||||
mkdir -p "$PKG"
|
||||
|
||||
# mise en place
|
||||
cd $TMP || exit 1
|
||||
[ ! -e "$REPOSITORY" ] && git clone https://github.com/${GITHUB_REPO}.git "$REPOSITORY"
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
|
||||
cp -R "$REPOSITORY" "$TMP/$PRGNAM"
|
||||
cd "$TMP/$PRGNAM" || exit 1
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||
|
||||
DESTDIR=$PKG \
|
||||
zig build \
|
||||
--prefix /usr \
|
||||
-Doptimize=ReleaseFast \
|
||||
-Dcpu=baseline
|
||||
|
||||
# correction
|
||||
cd "$PKG" || exit 1
|
||||
chown -R root:root ./*
|
||||
|
||||
[ -d "$PKG"/usr/man ] && find "$PKG"/usr/man -type f -name "*.?" -exec gzip -9f {} \;
|
||||
|
||||
# embaumement
|
||||
mkdir -p "$PKG/install"
|
||||
cat <<EOF > "$PKG"/install/slack-desc
|
||||
$PRGNAM: $PRGNAM ()
|
||||
$PRGNAM:
|
||||
$PRGNAM: 👻 Ghostty is a fast, feature-rich, and cross-platform
|
||||
$PRGNAM: terminal emulator that uses platform-native UI and GPU
|
||||
$PRGNAM: acceleration.
|
||||
$PRGNAM: REQUIRES: libadwaita
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: https://ghostty.org
|
||||
$PRGNAM: https://github.com/${GITHUB_REPO}
|
||||
EOF
|
||||
|
||||
# empaquetage
|
||||
/sbin/makepkg --linkadd y --chown n --prepend "$OUTPUT/$PRGNAM-${VERSION//-/}-$ARCH-$BUILD$TAG.txz"
|
|
@ -6,7 +6,7 @@ VERSION=${VERSION:-1.4}
|
|||
ITEMNB=${ITEMNB:-53678}
|
||||
COMMITNB=${COMMITNB:-e7c3feb}
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
PRGNAM=$(basename "$CWD")
|
||||
ARCH="AppImage"
|
||||
BUILD=1
|
||||
|
||||
|
@ -18,27 +18,27 @@ OUTPUT=/tmp
|
|||
PREFIX=/usr
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG
|
||||
rm -fr "$PKG"
|
||||
|
||||
mkdir -p $PKG/opt/$PRGNAM
|
||||
mkdir -p "$PKG"/opt/"$PRGNAM"
|
||||
|
||||
# mise en place
|
||||
cd $PKG/opt/$PRGNAM
|
||||
cd "$PKG"/opt/"$PRGNAM" || exit 1
|
||||
|
||||
wget -c https://inkscape.org/gallery/item/${ITEMNB}/Inkscape-${COMMITNB}-x86_64.AppImage -O ${PRGNAM}-${VERSION}.AppImage
|
||||
chmod +x ${PRGNAM}-${VERSION}.AppImage
|
||||
wget -c https://inkscape.org/gallery/item/"${ITEMNB}"/Inkscape-"${COMMITNB}"-x86_64.AppImage -O "${PRGNAM}"-"${VERSION}".AppImage
|
||||
chmod +x "${PRGNAM}"-"${VERSION}".AppImage
|
||||
|
||||
mkdir -p $PKG$PREFIX/bin/
|
||||
cd $PKG$PREFIX/bin/
|
||||
ln -s /opt/$PRGNAM/${PRGNAM}-${VERSION}.AppImage inkscape
|
||||
mkdir -p "$PKG$PREFIX"/bin/
|
||||
cd "$PKG$PREFIX"/bin/ || exit 1
|
||||
ln -s /opt/"$PRGNAM"/"${PRGNAM}"-"${VERSION}".AppImage inkscape
|
||||
|
||||
# correction
|
||||
cd $PKG
|
||||
chown -R root:root *
|
||||
cd "$PKG" || exit 1
|
||||
chown -R root:root ./*
|
||||
|
||||
# embaumement
|
||||
mkdir -p $PKG/install
|
||||
cat <<EOF > $PKG/install/slack-desc
|
||||
mkdir -p "$PKG"/install
|
||||
cat <<EOF > "$PKG"/install/slack-desc
|
||||
$PRGNAM: $PRGNAM (A powerful, free design tool)
|
||||
$PRGNAM:
|
||||
$PRGNAM: Whether you are an illustrator, designer, web designer
|
||||
|
@ -47,9 +47,9 @@ $PRGNAM: Inkscape is for you!
|
|||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM: https://www.inkscape.org
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
$PRGNAM:
|
||||
EOF
|
||||
|
||||
# empaquetage
|
||||
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz
|
||||
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/"$PRGNAM"-"${VERSION//-/}"-$ARCH-$BUILD$TAG.txz
|
||||
|
|
|
@ -8,7 +8,7 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
PRGNAM=$(basename "$CWD")
|
||||
ARCH=${ARCH:-$(uname -m | grep -q 64 && echo "x86_64" || echo "i386")}
|
||||
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/Heroic-Games-Launcher/HeroicGamesLauncher/tags | grep name | head -n1 | grep -o "v[0-9.]*" | tr -d v)}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-gwh}
|
||||
|
||||
rm -rf "$PKG"
|
||||
|
@ -33,7 +33,7 @@ mkdir -p "$PKG"/usr/share/applications/
|
|||
cat <<EOF > "$PKG"/usr/share/applications/"$PRGNAM".desktop
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=$PRGNAM
|
||||
Name=Heroic-Games-Launcher
|
||||
TryExec=heroic
|
||||
Exec=heroic %U
|
||||
Icon=heroic
|
|
@ -8,7 +8,7 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
PRGNAM=$(basename "$CWD")
|
||||
ARCH=${ARCH:-$(uname -m | grep -q 64 && echo "x86_64" || echo "i386")}
|
||||
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/itchio/itch-setup/tags | grep name | head -n1 | grep -o "v[0-9.]*" | tr -d v)}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-gwh}
|
||||
|
||||
rm -rf "$PKG"
|
||||
|
@ -30,7 +30,7 @@ mkdir -p "$PKG"/usr/share/applications/
|
|||
cat <<EOF > "$PKG"/usr/share/applications/itch.desktop
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=itch
|
||||
Name=Itch.io launcher
|
||||
TryExec=itch
|
||||
Exec=itch %U
|
||||
Icon=itch
|
Loading…
Reference in a new issue