summaryrefslogtreecommitdiff
path: root/academic/aris/aris.SlackBuild
diff options
context:
space:
mode:
authorJuan M. Lasca <juanmlasca@gmail.com>2013-04-23 20:46:56 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:27:40 -0300
commitc9b87b96591b20d479b4dbd2b9e7420fc75c5ff0 (patch)
tree24b50064a02bafad7a1cf0858e338afb3551a151 /academic/aris/aris.SlackBuild
parent20b3ab52308a6cad97e72ab9835a3e3aa7f83c46 (diff)
downloadslackbuilds-c9b87b96591b20d479b4dbd2b9e7420fc75c5ff0.tar.gz
academic/aris: Fix html docs.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/aris/aris.SlackBuild')
-rw-r--r--academic/aris/aris.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/academic/aris/aris.SlackBuild b/academic/aris/aris.SlackBuild
index ce7cf5c010..f0e60295ea 100644
--- a/academic/aris/aris.SlackBuild
+++ b/academic/aris/aris.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=aris
VERSION=${VERSION:-2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,9 +59,14 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --htmldir=/usr/doc/$PRGNAM-$VERSION/html \
--build=$ARCH-slackware-linux
+# this will allow aris to find its documentation
+# in a better place.
+patch -p1 < $CWD/html_doc.patch
+
make
make install DESTDIR=$PKG
@@ -76,6 +81,7 @@ gzip -9 $PKG/usr/info/$PRGNAM.info
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar doc/$PRGNAM/ $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install