summaryrefslogtreecommitdiffstats
path: root/claws-mail
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-01-26 22:38:10 +0000
committer Eric Hameleers <alien@slackware.com>2007-01-26 22:38:10 +0000
commitae085e59e28e7d944f91639742e52daa99add32f (patch)
treeaf032ab50fce89a9d584a73d06d5dd1a19edd833 /claws-mail
parentb3dd1474556f744833169ca221aa4a62ee57d7b5 (diff)
downloadasb-ae085e59e28e7d944f91639742e52daa99add32f.tar.gz
asb-ae085e59e28e7d944f91639742e52daa99add32f.tar.xz
Update. Removed .ps and .pdf versions of the manuals and moved html/txt versions into /usr/doc/$PRGNAM-VERSION
Diffstat (limited to 'claws-mail')
-rwxr-xr-xclaws-mail/build/claws-mail.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/claws-mail/build/claws-mail.SlackBuild b/claws-mail/build/claws-mail.SlackBuild
index d7436ae7..420e2673 100755
--- a/claws-mail/build/claws-mail.SlackBuild
+++ b/claws-mail/build/claws-mail.SlackBuild
@@ -14,6 +14,9 @@
# Changelog:
# 2.6.1-1: 13/Dec/2006 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 2.7.2-1: 26/jan/2006 by Eric Hameleers <alien@slackware.com>
+# * Upgrade. Also removed PS and PDF versions of the manual, and
+# moved the manuals (HTML and TXT) into /usr/doc/$PRGNAM-VERSION
#
# Run 'sh claws-mail.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -25,7 +28,7 @@
# Set initial variables:
PRGNAM=claws-mail
-VERSION=${VERSION:-2.6.1}
+VERSION=${VERSION:-2.7.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
@@ -165,6 +168,8 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--disable-static \
--disable-gnomeprint \
+ --with-mandir=/usr/man \
+ --with-manualdir=/usr/doc/$PRGNAM-$VERSION \
--program-prefix="" \
--program-suffix="" \
$ARCH-slackware-linux \
@@ -192,7 +197,8 @@ sed -e s"#^Icon=\(.*\)#Icon=/usr/share/pixmaps/\1#" $PRGNAM.desktop > $PKG/usr/s
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true
-ln -s /usr/share/$PRGNAM/manual || true
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -name "*.pdf" -exec rm -f {} \;
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -name "*.ps" -exec rm -f {} \;
chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/*
# Compress the man page(s)