diff options
Diffstat (limited to 'source/l/gnome-icon-theme')
-rwxr-xr-x | source/l/gnome-icon-theme/gnome-icon-theme.SlackBuild | 26 | ||||
-rw-r--r-- | source/l/gnome-icon-theme/gnome-icon-theme.pkgconfig.path.diff | 18 |
2 files changed, 31 insertions, 13 deletions
diff --git a/source/l/gnome-icon-theme/gnome-icon-theme.SlackBuild b/source/l/gnome-icon-theme/gnome-icon-theme.SlackBuild index d8855c64f..c9a76aa41 100755 --- a/source/l/gnome-icon-theme/gnome-icon-theme.SlackBuild +++ b/source/l/gnome-icon-theme/gnome-icon-theme.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009 Patrick Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010 Patrick Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,11 +21,21 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -VERSION=2.26.0 -ARCH=${ARCH:-x86_64} -NUMJOBS=${NUMJOBS:-" -j7 "} +VERSION=${VERSION:-$(echo gnome-icon-theme-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} +NUMJOBS=${NUMJOBS:-" -j7 "} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + if [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" else @@ -67,6 +77,14 @@ cp -a \ AUTHORS COPYING NEWS README TODO \ $PKG/usr/doc/gnome-icon-theme-$VERSION +# If there's a ChangeLog, installing at least part of the recent history +# is useful, but don't let it get totally out of control: +if [ -r ChangeLog ]; then + DOCSDIR=$(echo $PKG/usr/doc/*-$VERSION) + cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog + touch -r ChangeLog $DOCSDIR/ChangeLog +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh diff --git a/source/l/gnome-icon-theme/gnome-icon-theme.pkgconfig.path.diff b/source/l/gnome-icon-theme/gnome-icon-theme.pkgconfig.path.diff index 0b93f2cf7..f8f0b2692 100644 --- a/source/l/gnome-icon-theme/gnome-icon-theme.pkgconfig.path.diff +++ b/source/l/gnome-icon-theme/gnome-icon-theme.pkgconfig.path.diff @@ -1,12 +1,12 @@ -diff -Nur gnome-icon-theme-2.20.0.orig/Makefile.in gnome-icon-theme-2.20.0/Makefile.in ---- gnome-icon-theme-2.20.0.orig/Makefile.in 2007-09-17 15:07:53.000000000 -0500 -+++ gnome-icon-theme-2.20.0/Makefile.in 2008-02-09 19:56:18.425736840 -0600 -@@ -218,7 +218,7 @@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - SUBDIRS = 8x8 16x16 22x22 24x24 32x32 48x48 scalable po +diff -Nur gnome-icon-theme-2.30.2.orig//Makefile.in gnome-icon-theme-2.30.2/Makefile.in +--- gnome-icon-theme-2.30.2.orig//Makefile.in 2010-04-27 09:09:59.000000000 -0500 ++++ gnome-icon-theme-2.30.2/Makefile.in 2010-04-28 10:21:56.050022564 -0500 +@@ -231,7 +231,7 @@ + theme_in_files = index.theme.in.in + theme_DATA = $(theme_in_files:.theme.in.in=.theme) + THEME_DIRS = $(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$(SVGOUTDIR)/$$size/* -type d`; do printf "$$dir,"; done; done | sed -e "s/,$$//g") -pkgconfigdir = $(datadir)/pkgconfig +pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gnome-icon-theme.pc - THEME_IN_FILES = index.theme.in - theme_DATA = index.theme + EXTRA_DIST = \ + gnome-icon-theme.pc.in \ |