diff options
Diffstat (limited to 'network/offlineimap/offlineimap.SlackBuild')
-rw-r--r-- | network/offlineimap/offlineimap.SlackBuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/network/offlineimap/offlineimap.SlackBuild b/network/offlineimap/offlineimap.SlackBuild index 7acacb47f9..2e32bd9e1e 100644 --- a/network/offlineimap/offlineimap.SlackBuild +++ b/network/offlineimap/offlineimap.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh # Slackware build script for OfflineIMAP -# Home Page https://github.com/nicolas33/offlineimap +# Home Page http://offlineimap.org/ -# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA # <nishant _AT_ mnspace _DOT_ net> # All rights reserved. # @@ -25,9 +25,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM="nicolas33-offlineimap-v6.4.0-0-gc1120c9" PRGNAM="offlineimap" -VERSION=${VERSION:-6.4.0} +VERSION=${VERSION:-6.5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -52,8 +51,8 @@ set -e # Exit on most errors rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$SRCNAM.tar.gz -mv nicolas33-offlineimap-b1bff15 $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +#mv nicolas33-offlineimap-b1bff15 $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root.root . @@ -63,14 +62,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -### Patch makefile to disable building dev docs -patch -p0 < $CWD/patches/Makefile.doc.patch +# apply patch - more details about the patch are at: +# http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5539 + +patch -p1 < $CWD/patches/0001-Python-2.6-required-numbered-or-named-format-strings.patch || exit 1 ### build and install python setup.py install --root=$PKG ### make and install docs -make doc +make man mkdir -p $PKG/usr/{man/man1,doc/$PRGNAM-$VERSION/html} $PKG/etc ### install config file @@ -83,10 +84,9 @@ install -m 0644 docs/$PRGNAM.1 $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/$PRGNAM.1 cp -a \ - COPYING COPYRIGHT $PRGNAM.conf* \ + COPYING README $PRGNAM.conf* \ $PKG/usr/doc/$PRGNAM-$VERSION -cp -a readme.html docs/FAQ.html docs/INSTALL.html docs/MANUAL.html \ - docs/UPGRADE.html $PKG/usr/doc/$PRGNAM-$VERSION/html +cp -a docs/INSTALL.html docs/MANUAL.html $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |