Browse Source

l/menu-cache: Upgraded to menu-cache-1.1.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
cc02f02d3a
  1. 1
      l/menu-cache/menu-cache-1.0.1.tar.xz.sha1
  2. 1
      l/menu-cache/menu-cache-1.1.0.tar.xz.sha256
  3. 17
      l/menu-cache/menu-cache.SlackBuild

1
l/menu-cache/menu-cache-1.0.1.tar.xz.sha1

@ -1 +0,0 @@
58862c665f2ae56870a9937cdcd643674b2ac8ba menu-cache-1.0.1.tar.xz

1
l/menu-cache/menu-cache-1.1.0.tar.xz.sha256

@ -0,0 +1 @@
ed02eb459dcb398f69b9fa5bf4dd813020405afc84331115469cdf7be9273ec7 menu-cache-1.1.0.tar.xz

17
l/menu-cache/menu-cache.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2016 Damien Goutte-Gattat
# Copyright (C) 2014,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,7 +28,7 @@
# Source package infos
NAMESRC=${NAMESRC:-menu-cache}
VERSION=${VERSION:-1.0.1}
VERSION=${VERSION:-1.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://downloads.sourceforge.net/lxde/$ARCHIVE}
@ -77,7 +77,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -90,17 +90,24 @@ CXXFLAGS=$CPUOPT \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-static
--disable-static \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux
make -j $JOBS
make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING NEWS README $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF >$PKG/install/slack-required
libfm-extra
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save