desktop/yad: Updated for version 0.28.1.

Added a license, cleanups

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2015-06-01 11:41:17 +02:00 committed by Willy Sudiarto Raharjo
parent 4fcd183ba1
commit 26b88f1acb
2 changed files with 28 additions and 11 deletions

View file

@ -2,11 +2,30 @@
# Slackware build script for yad
# Written by Charles (SlackBuilds@catcons.co.uk)
# Copyright 2010-2014 Charles <SlackBuilds@catcons.co.uk>
# Copyright 2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yad
VERSION=${VERSION:-0.17.1.1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.28.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -69,9 +88,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="yad"
VERSION="0.17.1.1"
VERSION="0.28.1"
HOMEPAGE="http://code.google.com/p/yad/"
DOWNLOAD="http://yad.googlecode.com/files/yad-0.17.1.1.tar.xz"
MD5SUM="347d743cd7f5b4f5105ba96963e115f5"
DOWNLOAD="http://downloads.sf.net/yad-dialog/yad-0.28.1.tar.xz"
MD5SUM="79798cbd7d209c2d290b6f794ed66ba4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Charles"
EMAIL="SlackBuilds@catcons.co.uk"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"