summaryrefslogtreecommitdiff
path: root/office/hebcal/hebcal.SlackBuild
diff options
context:
space:
mode:
authorJudah Milgram <milgram at cgpp dot com>2022-09-23 23:07:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-25 13:59:42 +0700
commit0917447be7ddf5a1c39cc1b5e21ff76df2e9735f (patch)
treed6a13bfdc6590c9dd155c159c89f67b846e4844f /office/hebcal/hebcal.SlackBuild
parentcc6bc2e689d9b59be66e74279d3903ba0aad0bce (diff)
downloadslackbuilds-0917447be7ddf5a1c39cc1b5e21ff76df2e9735f.tar.gz
office/hebcal: Updated for version 4.31.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/hebcal/hebcal.SlackBuild')
-rw-r--r--office/hebcal/hebcal.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/office/hebcal/hebcal.SlackBuild b/office/hebcal/hebcal.SlackBuild
index 9c94c967ce..c77d841bc9 100644
--- a/office/hebcal/hebcal.SlackBuild
+++ b/office/hebcal/hebcal.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hebcal
-# Copyright 2017-2021 Judah Milgram, Washington DC
+# Copyright 2017-2022 Judah Milgram, Washington DC
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hebcal
-VERSION=${VERSION:-4.24}
+VERSION=${VERSION:-4.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,13 +83,16 @@ find -L . \
# (New York is the distribution build default)
CITY=${CITY:-"New York"}
+autoreconf --install --force
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--with-default-city="${CITY}" \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --docdir=/usr/doc/$PRGNAM-$VERSION
make
make install-strip DESTDIR=$PKG
@@ -99,7 +102,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING NEWS.md README.md cities.h \
+ AUTHORS COPYING cities.h \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild