diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2014-10-12 15:37:52 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-18 06:59:16 +0700 |
commit | 2ee3a87e36dca120778fce057e6b4530495629ec (patch) | |
tree | ce37148f802b7703db3c2060c926edada62ab72d /system/dateutils/dateutils.SlackBuild | |
parent | c2ad570b5dc99bcf8cd3aef715358bea9737c476 (diff) | |
download | slackbuilds-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/dateutils.SlackBuild')
-rw-r--r-- | system/dateutils/dateutils.SlackBuild | 9 |
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 |