summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/dateutils/dateutils.SlackBuild9
-rw-r--r--system/dateutils/dateutils.info6
2 files changed, 7 insertions, 8 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
diff --git a/system/dateutils/dateutils.info b/system/dateutils/dateutils.info
index 81a18a2b46..5c82f2ecce 100644
--- a/system/dateutils/dateutils.info
+++ b/system/dateutils/dateutils.info
@@ -1,8 +1,8 @@
PRGNAM="dateutils"
-VERSION="0.2.6"
+VERSION="0.3.1"
HOMEPAGE="http://www.fresse.org/dateutils/"
-DOWNLOAD="https://bitbucket.org/hroptatyr/dateutils/downloads/dateutils-0.2.6.tar.xz"
-MD5SUM="c246012cea379052485a195860a329b5"
+DOWNLOAD="https://bitbucket.org/hroptatyr/dateutils/downloads/dateutils-0.3.1.tar.xz"
+MD5SUM="6e4a652bc297517b7be8e2cdb775a6f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""