From 1cdcb5d6e38eae75b8e7fdd8df1b2b4517290fab Mon Sep 17 00:00:00 2001 From: dslm4515 Date: Mon, 9 Nov 2020 13:36:50 -0600 Subject: [PATCH] Upgraded xlunch to 4.5.4 --- build-scripts/xlunch-4.5.3.build | 7 ------ build-scripts/xlunch.build | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 7 deletions(-) delete mode 100644 build-scripts/xlunch-4.5.3.build create mode 100644 build-scripts/xlunch.build diff --git a/build-scripts/xlunch-4.5.3.build b/build-scripts/xlunch-4.5.3.build deleted file mode 100644 index 68e1818..0000000 --- a/build-scripts/xlunch-4.5.3.build +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash - -# xlunch 4.5.3 -# Source: https://github.com/Tomas-M/xlunch/archive/v4.5.3.tar.gz - -make -j2 && -read -p "Install? " && sudo -S porg -lD "make install" diff --git a/build-scripts/xlunch.build b/build-scripts/xlunch.build new file mode 100644 index 0000000..1e4454e --- /dev/null +++ b/build-scripts/xlunch.build @@ -0,0 +1,41 @@ +#! /bin/bash + +# xlunch +# Source: https://github.com/Tomas-M/xlunch/archive/v4.5.4.tar.gz +# +# $BUILD = Directory to temporarily install +# $PKGS = Directory to store built packages +# +# DEPS +# Required: imlib2, xlib +# Recommended: NONE +# Optional: NONE + +read -p "Compile?" && make -j2 && + +sudo -S make DESTDIR=$BUILD install && + +cd $BUILD && sudo -S mkdir -v ${BUILD}/install && +cat > /tmp/slack-desc << "EOF" +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +xlunch: xlunch +xlunch: +xlunch: A graphical app launcher for Xorg/X11. It requires only pure Xlib +xlunch: and Imlib2. It allows you to run programs, commands, or simply +xlunch: select something out of a list using your mouse, keyboard, or both. +xlunch: UTF8 is fully supported meaning you can have text of all kinds. +xlunch: The prompt allows you to run arbitrary commands, and it works to +xlunch: filter your entries as well. xlunch is also highly configurable, +xlunch: both in functionality and style +xlunch: Homepage: https://github.com/Tomas-M/xlunch +EOF +sudo -S mv -v /tmp/slack-desc install/ && +sudo -S makepkg -l y -c n $PKGS/xlunch-4.5.4-$(uname -m)-mlfs.txz && +sudo -S rm -rf ${BUILD}/*