summaryrefslogtreecommitdiff
path: root/development/scite/scite.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-05-08 18:19:17 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-11 03:17:34 +0700
commitce6aab7a68a9cfe64257bbe1868b60bd71bee026 (patch)
treeeea0061bbf455c315cb771f9d61e72c7f7a29768 /development/scite/scite.SlackBuild
parent14d545abb4804bc7f84db4280bf94ce1ad09ceaf (diff)
downloadslackbuilds-ce6aab7a68a9cfe64257bbe1868b60bd71bee026.tar.gz
development/scite: Remove unnecessary files from build.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r--development/scite/scite.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild
index 40664f71b6..9f50fd27a9 100644
--- a/development/scite/scite.SlackBuild
+++ b/development/scite/scite.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=scite
VERSION=${VERSION:-3.6.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -46,13 +46,13 @@ HELPBROWSER=mozilla
if [ "$ARCH" = "i486" ]; then
- LIBDIRSUFFIX=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
+ LIBDIRSUFFIX="64"
else
- LIBDIRSUFFIX=""
+ LIBDIRSUFFIX=""
fi
set -eu
@@ -85,14 +85,11 @@ cat doc/scite.1 | gzip -9c > $PKG/usr/man/man1/scite.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a README License.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/config/SciTEGlobal.properties.new >> $PKG/usr/doc/$PRGNAM-$VERSION/SciTEGlobal.properties.new
-cat $CWD/config/SciTEUser.properties.new >> $PKG/usr/doc/$PRGNAM-$VERSION/SciTEUser.properties.new
-cat $CWD/config/changelog >> $PKG/usr/doc/$PRGNAM-$VERSION/changelog
-cat $CWD/config/README.Slackware >> $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
+cat src/SciTEGlobal.properties >> $PKG/usr/doc/$PRGNAM-$VERSION/SciTEGlobal.properties.new
for i in $PKG/usr/share/scite/*.html $PKG/usr/share/scite/*.png ; do
ln -s /usr/share/scite/$(basename $i) \
- $PKG/usr/doc/$PRGNAM-$VERSION/html/$(basename $i) ;
+ $PKG/usr/doc/$PRGNAM-$VERSION/html/$(basename $i) ;
done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild