-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07c737e
commit 36932e2
Showing
4 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
grb - Greek Bible on the Command Line | ||
|
||
A command line tool for search and reading the Bible in Greek. | ||
The Old Testament is the Septuagint (containing some differing texts), | ||
and the New Testament is the SBL Greek New Testament. | ||
|
||
The Makefile compress contents of .tsv and .awk files and put on a | ||
shell script. Descompress it on usage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#!/bin/bash | ||
|
||
# Slackware build script for grb | ||
|
||
# Copyright 2025 G. Galdini <jake@dioniso.com.br> Brazil | ||
# All rights reserved. | ||
# | ||
# Redistribution and use of this script, with or without modification, is | ||
# permitted provided that the following conditions are met: | ||
# | ||
# 1. Redistributions of this script must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED | ||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | ||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
cd $(dirname $0) ; CWD=$(pwd) | ||
|
||
PRGNAM=grb | ||
VERSION=${VERSION:-20220701_35a5353} | ||
COMMIT="35a5353ab147b930c39e1ccd369791cc4c27f0df" | ||
BUILD=${BUILD:-1} | ||
TAG=${TAG:-_SBo} | ||
PKGTYPE=${PKGTYPE:-tgz} | ||
|
||
ARCH=noarch | ||
|
||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then | ||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" | ||
exit 0 | ||
fi | ||
|
||
TMP=${TMP:-/tmp/SBo} | ||
PKG=$TMP/package-$PRGNAM | ||
OUTPUT=${OUTPUT:-/tmp} | ||
|
||
set -e | ||
|
||
rm -rf $PKG | ||
mkdir -p $TMP $PKG $OUTPUT | ||
cd $TMP | ||
rm -rf $PRGNAM-$COMMIT | ||
tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz | ||
cd $PRGNAM-$COMMIT | ||
chown -R root:root . | ||
chmod 644 * | ||
|
||
make install PREFIX=/usr DESTDIR=$PKG | ||
|
||
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 | ||
cat $CWD/slack-desc > $PKG/install/slack-desc | ||
|
||
cd $PKG | ||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PRGNAM="grb" | ||
VERSION="20220701_35a5353" | ||
HOMEPAGE="https://github.com/LukeSmithxyz/grb" | ||
DOWNLOAD="https://github.com/LukeSmithxyz/grb/archive/35a5353/grb-35a5353ab147b930c39e1ccd369791cc4c27f0df.tar.gz" | ||
MD5SUM="28e4c541ae7307afb73789414d016d3e" | ||
DOWNLOAD_x86_64="" | ||
MD5SUM_x86_64="" | ||
REQUIRES="" | ||
MAINTAINER="G. Galdini" | ||
EMAIL="jake@dioniso.com.br" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# HOW TO EDIT THIS FILE: | ||
# The "handy ruler" below makes it easier to edit a package description. | ||
# Line up the first '|' above the ':' following the base package name, and | ||
# the '|' on the right side marks the last column you can put a character in. | ||
# You must make exactly 11 lines for the formatting to be correct. It's also | ||
# customary to leave one space after the ':' except on otherwise blank lines. | ||
|
||
|-----handy-ruler------------------------------------------------------| | ||
grb: grb (Greek Bible on the Command Line) | ||
grb: | ||
grb: A command line tool for search and reading the Bible in Greek. The | ||
grb: Old Testament is the Septuagint (containing some differing texts), | ||
grb: and the New Testament is the SBL Greek New Testament. | ||
grb: | ||
grb: Homepage: https://github.com/LukeSmithxyz/grb | ||
grb: | ||
grb: | ||
grb: | ||
grb: |