summaryrefslogtreecommitdiffstats
path: root/source/ap
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap')
-rwxr-xr-xsource/ap/mariadb/mariadb.SlackBuild2
-rwxr-xr-xsource/ap/neofetch/fetch-neofetch.sh29
-rwxr-xr-xsource/ap/sc-im/fetch-sc-im.sh2
-rwxr-xr-xsource/ap/squashfs-tools/squashfs-tools.SlackBuild3
-rwxr-xr-xsource/ap/usbmuxd/fetch-usbmuxd.sh2
5 files changed, 21 insertions, 17 deletions
diff --git a/source/ap/mariadb/mariadb.SlackBuild b/source/ap/mariadb/mariadb.SlackBuild
index 9aefaca01..75604f7a2 100755
--- a/source/ap/mariadb/mariadb.SlackBuild
+++ b/source/ap/mariadb/mariadb.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mariadb
VERSION=${VERSION:-$(echo ${PKGNAM}-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# To reduce the package size, the embedded server may be omitted. Currently
# only amarok uses this. To build without embedded support, set this to NO.
diff --git a/source/ap/neofetch/fetch-neofetch.sh b/source/ap/neofetch/fetch-neofetch.sh
index 171620b79..eed1d5903 100755
--- a/source/ap/neofetch/fetch-neofetch.sh
+++ b/source/ap/neofetch/fetch-neofetch.sh
@@ -20,30 +20,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PKGNAM=neofetch
+
# Pull a stable branch + patches
BRANCH=${1:-master}
# Clear download area:
-rm -rf neofetch
+rm -rf ${PKGNAM}
# Clone repository:
-git clone https://github.com/dylanaraps/neofetch
+git clone https://github.com/dylanaraps/${PKGNAM}
# checkout $BRANCH:
-( cd neofetch
+( cd ${PKGNAM}
git checkout $BRANCH || exit 1
)
-HEADISAT="$( cd neofetch && git log -1 --format=%h )"
-DATE="$( cd neofetch && git log -1 --format=%ad --date=format:%Y%m%d )"
-LONGDATE="$( cd neofetch && git log -1 --date=format:%c | grep Date: | cut -f 2- -d : )"
+HEADISAT="$( cd ${PKGNAM} && git log -1 --format=%h )"
+DATE="$( cd ${PKGNAM} && git log -1 --format=%ad --date=format:%Y%m%d )"
+LONGDATE="$( cd ${PKGNAM} && git log -1 --format=%ad --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
-( cd neofetch && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
-mv neofetch neofetch-${DATE}_${HEADISAT}
-tar cf neofetch-${DATE}_${HEADISAT}.tar neofetch-${DATE}_${HEADISAT}
-xz -9 -f neofetch-${DATE}_${HEADISAT}.tar
-rm -rf neofetch-${DATE}_${HEADISAT}
-touch -d "$LONGDATE" neofetch-${DATE}_${HEADISAT}.tar.xz
+( cd ${PKGNAM} && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
+mv ${PKGNAM} ${PKGNAM}-${DATE}_${HEADISAT}
+tar cf ${PKGNAM}-${DATE}_${HEADISAT}.tar ${PKGNAM}-${DATE}_${HEADISAT}
+plzip -9 -f ${PKGNAM}-${DATE}_${HEADISAT}.tar
+rm -rf ${PKGNAM}-${DATE}_${HEADISAT}
+touch -d "$LONGDATE" ${PKGNAM}-${DATE}_${HEADISAT}.tar.lz
echo
-echo "neofetch branch $BRANCH with HEAD at $HEADISAT packaged as neofetch-${DATE}_${HEADISAT}.tar.xz"
+echo "${PKGNAM} branch $BRANCH with HEAD at $HEADISAT packaged as ${PKGNAM}-${DATE}_${HEADISAT}.tar.lz"
echo
diff --git a/source/ap/sc-im/fetch-sc-im.sh b/source/ap/sc-im/fetch-sc-im.sh
index bed7b9f09..7802545eb 100755
--- a/source/ap/sc-im/fetch-sc-im.sh
+++ b/source/ap/sc-im/fetch-sc-im.sh
@@ -36,7 +36,7 @@ git clone https://github.com/andmarti1424/sc-im
HEADISAT="$( cd sc-im && git log -1 --format=%h )"
DATE="$( cd sc-im && git log -1 --format=%ad --date=format:%Y%m%d )"
-LONGDATE="$( cd sc-im && git log -1 --date=format:%c | grep Date: | cut -f 2- -d : )"
+LONGDATE="$( cd sc-im && git log -1 --format=%ad --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd sc-im && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv sc-im sc-im-${DATE}_${HEADISAT}
diff --git a/source/ap/squashfs-tools/squashfs-tools.SlackBuild b/source/ap/squashfs-tools/squashfs-tools.SlackBuild
index d95c73ab1..8276722b2 100755
--- a/source/ap/squashfs-tools/squashfs-tools.SlackBuild
+++ b/source/ap/squashfs-tools/squashfs-tools.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=squashfs-tools
VERSION=${VERSION:-$( echo squashfs-tools*.tar.?z | cut -d- -f3- | rev | cut -f3- -d . | rev )}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -94,6 +94,7 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS \
GZIP_SUPPORT="1" \
XZ_SUPPORT="1" \
+ LZ4_SUPPORT="1" \
LZO_SUPPORT="1" \
LZMA_XZ_SUPPORT="1" \
ZSTD_SUPPORT="1" \
diff --git a/source/ap/usbmuxd/fetch-usbmuxd.sh b/source/ap/usbmuxd/fetch-usbmuxd.sh
index 194bda174..7dd8db0bf 100755
--- a/source/ap/usbmuxd/fetch-usbmuxd.sh
+++ b/source/ap/usbmuxd/fetch-usbmuxd.sh
@@ -36,7 +36,7 @@ git clone https://github.com/libimobiledevice/usbmuxd
HEADISAT="$( cd usbmuxd && git log -1 --format=%h )"
DATE="$( cd usbmuxd && git log -1 --format=%ad --date=format:%Y%m%d )"
-LONGDATE="$( cd usbmuxd && git log -1 --date=format:%c | grep Date: | cut -f 2- -d : )"
+LONGDATE="$( cd usbmuxd && git log -1 --format=%ad --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd usbmuxd && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv usbmuxd usbmuxd-${DATE}_${HEADISAT}