diff options
Diffstat (limited to 'desktop/plank')
-rw-r--r-- | desktop/plank/plank.SlackBuild | 21 | ||||
-rw-r--r-- | desktop/plank/plank.info | 12 |
2 files changed, 23 insertions, 10 deletions
diff --git a/desktop/plank/plank.SlackBuild b/desktop/plank/plank.SlackBuild index caaa7ae5c1..dcd4017238 100644 --- a/desktop/plank/plank.SlackBuild +++ b/desktop/plank/plank.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for plank. # +# Copyright 2019 Donald Cooley, South Haven, Indiana, USA # Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # @@ -22,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=plank -VERSION=${VERSION:-0.11.4} +VERSION=${VERSION:-0.11.89} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -100,9 +111,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +rm -f $PKG/usr/lib*/*.la + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/plank/plank.info b/desktop/plank/plank.info index ffb0a8c903..e90c58970a 100644 --- a/desktop/plank/plank.info +++ b/desktop/plank/plank.info @@ -1,10 +1,10 @@ PRGNAM="plank" -VERSION="0.11.4" +VERSION="0.11.89" HOMEPAGE="https://launchpad.net/plank" -DOWNLOAD="https://launchpad.net/plank/1.0/0.11.4/+download/plank-0.11.4.tar.xz" -MD5SUM="d2405f33bfefd16ab80c868f83526f9b" +DOWNLOAD="https://launchpad.net/plank/1.0/0.11.89/+download/plank-0.11.89.tar.xz" +MD5SUM="d2d68c663c3d0f2e15ade1e5c4cb23f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="bamf libgee libdbusmenu" -MAINTAINER="Edinaldo P. Silva" -EMAIL="edps.mundognu@gmail.com" +REQUIRES="bamf gnome-menus" +MAINTAINER="Donald Cooley" +EMAIL="chytraeus@protonmail.com" |