diff options
author | Judah Milgram <milgram at cgpp dot com> | 2023-01-20 03:29:11 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-21 10:22:01 +0700 |
commit | 3995bc945d73e053e82aa09220bcb80499992197 (patch) | |
tree | 5ab760f5f36b79e1f429918276d776558defd965 /office | |
parent | 7054156326dc71912fa3e05146f7789edafb9855 (diff) |
office/hebcal: Updated for version 5.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/hebcal/README | 11 | ||||
-rw-r--r-- | office/hebcal/hebcal.SlackBuild | 29 | ||||
-rw-r--r-- | office/hebcal/hebcal.info | 6 |
3 files changed, 17 insertions, 29 deletions
diff --git a/office/hebcal/README b/office/hebcal/README index 12a653b5ee242..259386a9dbaba 100644 --- a/office/hebcal/README +++ b/office/hebcal/README @@ -3,11 +3,12 @@ hebcal - A perpetual Jewish calendar, by Danny Sadinoff Prints Hebrew calendar info for Gregorian date range. Holidays, candle lighting times, yahrzeits, weekly parshas etc. -Default city is New York. To change this, pass CITY to the SlackBuild -script. Example: +Default city is New York. To change this, pass DEFAULT_CITY to the +SlackBuild script. Example: - CITY="Washington DC" ./hebcal.SlackBuild + DEFAULT_CITY="Washington DC" ./hebcal.SlackBuild -See cities.h for a list of known cities and coordinates. +See c/cities.h for a list of known cities and coordinates. + +The city information can also be specified at run time. See README.md. -The city information can also be defined at run time. See README.md. diff --git a/office/hebcal/hebcal.SlackBuild b/office/hebcal/hebcal.SlackBuild index c77d841bc9a57..889ca83454da3 100644 --- a/office/hebcal/hebcal.SlackBuild +++ b/office/hebcal/hebcal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for hebcal -# Copyright 2017-2022 Judah Milgram, Washington DC +# Copyright 2017-2023 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.31} +VERSION=${VERSION:-5.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,31 +79,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Set the default city - see cities.h for list. -# (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 \ - --docdir=/usr/doc/$PRGNAM-$VERSION - -make -make install-strip DESTDIR=$PKG +make clean +make all +make install DESTDIR=$PKG PREFIX=/usr MANDIR=/man 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING cities.h \ - $PKG/usr/doc/$PRGNAM-$VERSION + AUTHORS COPYING c/cities.h \ + NEWS.md README.md README_DE.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/office/hebcal/hebcal.info b/office/hebcal/hebcal.info index ee7664e313689..932cec8f1bed5 100644 --- a/office/hebcal/hebcal.info +++ b/office/hebcal/hebcal.info @@ -1,8 +1,8 @@ PRGNAM="hebcal" -VERSION="4.31" +VERSION="5.7.2" HOMEPAGE="http://hebcal.github.io/" -DOWNLOAD="https://github.com/hebcal/hebcal/archive/v4.31/hebcal-4.31.tar.gz" -MD5SUM="ae3e01f417476b2a3b4a64a8902f202a" +DOWNLOAD="https://github.com/hebcal/hebcal/archive/v5.7.2/hebcal-5.7.2.tar.gz" +MD5SUM="6902dae6b0f0f11ea4328beed6f9b166" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |