diff --git a/office/sent/README b/office/sent/README index 3bb63afce93..3e0e5f121df 100644 --- a/office/sent/README +++ b/office/sent/README @@ -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). diff --git a/office/sent/sent.SlackBuild b/office/sent/sent.SlackBuild index 0e8452a73af..28e9dc88005 100644 --- a/office/sent/sent.SlackBuild +++ b/office/sent/sent.SlackBuild @@ -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} @@ -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 @@ -79,9 +81,6 @@ if [ "${PATCHES:-no}" = "yes" ]; then done fi -chown -R root:root . -chmod 644 * - CFLAGS="$SLKCFLAGS" \ make make install \