Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

office/sent: Update script. #9048

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion office/sent/README
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The presentation is displayed in a simple X11 window.

If you wish patches:
Create 'patches' directory and add patches files on it. Declare
variable PATCHES to yes (PATCHES=yes) before run SlackBuild script.
variable PATCHES to yes before run SlackBuild script.

PATCHES=yes ./sent.SlackBuild

Optional dependency: farbfeld (include images).
7 changes: 3 additions & 4 deletions office/sent/sent.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=sent
VERSION=${VERSION:-1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

Expand Down Expand Up @@ -71,6 +71,8 @@ mkdir $PRGNAM-$VERSION

tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *

# apply patches if variable PATCHES is 'yes'
if [ "${PATCHES:-no}" = "yes" ]; then
Expand All @@ -79,9 +81,6 @@ if [ "${PATCHES:-no}" = "yes" ]; then
done
fi

chown -R root:root .
chmod 644 *

CFLAGS="$SLKCFLAGS" \
make
make install \
Expand Down