diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-04-18 10:09:56 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:38:21 +0200 |
commit | e5839d956405d7eadd2b03fad30bd090482b6a0b (patch) | |
tree | 4ba9415d20aa237e9b343ff0f586074f24a123a5 | |
parent | 32327814903b3cfaa27167d48dbf9855b57cf3c1 (diff) |
libraries/libiptcdata: Build bump, script cleanup.
Removed man page handling code as there are no man pages.
Symlink html docs instead of moving them to /usr/doc.
-rw-r--r-- | libraries/libiptcdata/libiptcdata.SlackBuild | 19 | ||||
-rw-r--r-- | libraries/libiptcdata/libiptcdata.info | 2 | ||||
-rw-r--r-- | libraries/libiptcdata/slack-desc | 2 |
3 files changed, 9 insertions, 14 deletions
diff --git a/libraries/libiptcdata/libiptcdata.SlackBuild b/libraries/libiptcdata/libiptcdata.SlackBuild index f2ecfea9aceb..c579289ef7a6 100644 --- a/libraries/libiptcdata/libiptcdata.SlackBuild +++ b/libraries/libiptcdata/libiptcdata.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for libiptcdata # Home Page http://libiptcdata.sourceforge.net/ -# Copyright (c) 2009, Nishant Limbachia, Hoffman Estates, IL, USA [nishant@mnspace.net] +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ PRGNAM=libiptcdata VERSION=1.0.4 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -36,9 +36,9 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "${PY_BINDINGS:-yes}" = "yes" ]; then - py_option="--enable" + py_option="--enable" else - py_option="--disable" + py_option="--disable" fi if [ "$ARCH" = "i486" ]; then @@ -59,6 +59,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $TMP/$PRGNAM-$VERSION + chown -R root.root . find . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ @@ -89,14 +90,8 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$V cp -a python/examples $PKG/usr/doc/$PRGNAM-$VERSION install -m 0644 python/README $PKG/usr/doc/$PRGNAM-$VERSION/README.PYTHON-BINDINGS -### move html docs -mv $PKG/usr/share/gtk-doc/html $PKG/usr/doc/$PRGNAM-$VERSION -rmdir $PKG/usr/share/gtk-doc - -( cd $PKG/usr/man || exit 1 - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +### link html docs +ln -s $PKG/usr/share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/libiptcdata/libiptcdata.info b/libraries/libiptcdata/libiptcdata.info index a5540798b34c..e708f2e32b66 100644 --- a/libraries/libiptcdata/libiptcdata.info +++ b/libraries/libiptcdata/libiptcdata.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" -APPROVED="dsomero" +APPROVED="Erik Hanson" diff --git a/libraries/libiptcdata/slack-desc b/libraries/libiptcdata/slack-desc index 110134d7f6d7..e938607fbac3 100644 --- a/libraries/libiptcdata/slack-desc +++ b/libraries/libiptcdata/slack-desc @@ -13,7 +13,7 @@ libiptcdata: within images. Metadata can include captions and keywords libiptcdata: used by various photo management softwares. Library also libiptcdata: allows parsing, viewing, modifying and saving this metadata. libiptcdata: -libiptcdata: Homepage: http://libiptcdata.sourceforge.net/ +libiptcdata: Home Page http://libiptcdata.sourceforge.net/ libiptcdata: libiptcdata: libiptcdata: |