summaryrefslogtreecommitdiff
path: root/system/dateutils/dateutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dateutils/dateutils.SlackBuild')
-rw-r--r--system/dateutils/dateutils.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/dateutils/dateutils.SlackBuild b/system/dateutils/dateutils.SlackBuild
index 4ab155b8a7..12ce644443 100644
--- a/system/dateutils/dateutils.SlackBuild
+++ b/system/dateutils/dateutils.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dateutils
-VERSION=${VERSION:-0.2.6}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,7 +73,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--infodir=/usr/info \
--build=$ARCH-slackware-linux
@@ -81,8 +81,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# Don't need this.
-rm -rf $PKG/usr/share
+# Remove empty directory.
+rmdir $PKG/usr/lib
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
@@ -91,7 +91,6 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install