summaryrefslogtreecommitdiff
path: root/system/dateutils
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2014-10-12 15:37:52 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-18 06:59:16 +0700
commit2ee3a87e36dca120778fce057e6b4530495629ec (patch)
treece37148f802b7703db3c2060c926edada62ab72d /system/dateutils
parentc2ad570b5dc99bcf8cd3aef715358bea9737c476 (diff)
downloadslackbuilds-2ee3a87e36dca120778fce057e6b4530495629ec.tar.gz
system/dateutils: Updated for version 0.3.1.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system/dateutils')
-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=""