diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-12 16:33:33 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:22 +0700 |
commit | 49044a010de94e0f6df58f0318a457af2e5a5174 (patch) | |
tree | 16cd8b7e685b3a069814bb6e5c5d541ea31c2561 | |
parent | 19e8d96302fa8ad0dea306ea02186c498b92c151 (diff) |
perl/perl-gtk2-imageview: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | perl/perl-gtk2-imageview/README | 2 | ||||
-rw-r--r-- | perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild | 27 | ||||
-rw-r--r-- | perl/perl-gtk2-imageview/perl-gtk2-imageview.info | 4 | ||||
-rw-r--r-- | perl/perl-gtk2-imageview/slack-desc | 4 |
4 files changed, 19 insertions, 18 deletions
diff --git a/perl/perl-gtk2-imageview/README b/perl/perl-gtk2-imageview/README index 6a74a580689b5..df0ef19404d4a 100644 --- a/perl/perl-gtk2-imageview/README +++ b/perl/perl-gtk2-imageview/README @@ -1 +1,3 @@ +perl-gtk2-imageview (Perl bindings to the GtkImageView) + Perl bindings to the GtkImageView image viewer widget. diff --git a/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild b/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild index 9c3d856e565c9..8e5d7130c87df 100644 --- a/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild +++ b/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild @@ -1,11 +1,12 @@ #!/bin/sh - -# Slackware build script for perl-gtk2-imageview - +# +# Slackware build script for perl-gtk2-imageview. +# # Copyright 2010 Binh Nguyen <binhvng@gmail.com> -# All rights reserved. +# Copyright 2014-2017 Glenn Becker <glenn.becker@gmail.com> +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # -# Adopted 2014 Glenn Becker <glenn.becker@gmail.com> +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -26,14 +27,12 @@ PRGNAM=perl-gtk2-imageview VERSION=${VERSION:-0.05} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -SRCNAM=Gtk2-ImageView - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -58,7 +57,9 @@ else LIBDIRSUFFIX="" fi -set -eu +SRCNAM="Gtk2-ImageView" + +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -87,8 +88,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr 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 -# Remove perllocal.pod and other special files that don't need to be installed, -# as they will overwrite what's already on the system. find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true # Remove empty directories diff --git a/perl/perl-gtk2-imageview/perl-gtk2-imageview.info b/perl/perl-gtk2-imageview/perl-gtk2-imageview.info index 5d6ef035ec12a..779f0f0082846 100644 --- a/perl/perl-gtk2-imageview/perl-gtk2-imageview.info +++ b/perl/perl-gtk2-imageview/perl-gtk2-imageview.info @@ -6,5 +6,5 @@ MD5SUM="7c961071b347b6a64b8351fdd87ec4c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtkimageview perl-gtk2" -MAINTAINER="Glenn Becker" -EMAIL="glenn.becker@gmail.com" +MAINTAINER="Edinaldo P. Silva" +EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-gtk2-imageview/slack-desc b/perl/perl-gtk2-imageview/slack-desc index 4a5941fa9b246..6b88f4165a781 100644 --- a/perl/perl-gtk2-imageview/slack-desc +++ b/perl/perl-gtk2-imageview/slack-desc @@ -6,11 +6,11 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-gtk2-imageview: perl-gtk2-imageview (perl module) +perl-gtk2-imageview: perl-gtk2-imageview (Perl bindings to the GtkImageView) perl-gtk2-imageview: perl-gtk2-imageview: Perl bindings to the GtkImageView image viewer widget. perl-gtk2-imageview: -perl-gtk2-imageview: Homepage: http://search.cpan.org/dist/Gtk2-ImageView/ +perl-gtk2-imageview: Home page: https://metacpan.org/pod/Gtk2::ImageView perl-gtk2-imageview: perl-gtk2-imageview: perl-gtk2-imageview: |