summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-08-11 22:26:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:01 +0700
commit5e3f1ef6878d028cd33745ec5c43f4dc82559abf (patch)
tree67f5410eaca7c8dbedf5118f7a6931b073fdf3fd /development
parenta4647b7bafddc621f10d3bad7d73d3bdbcacf828 (diff)
downloadslackbuilds-5e3f1ef6878d028cd33745ec5c43f4dc82559abf.tar.gz
development/gnats: Fixed config file.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/gnats/gnats.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/gnats/gnats.SlackBuild b/development/gnats/gnats.SlackBuild
index bd2d9b5390..da9575aaa1 100644
--- a/development/gnats/gnats.SlackBuild
+++ b/development/gnats/gnats.SlackBuild
@@ -77,6 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -86,13 +87,14 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/info $PKG/usr/info
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
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
+mv $PKG/etc/gnats/databases $PKG/etc/gnats/databases.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README TODO UPGRADING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild