diff options
Diffstat (limited to 'academic/aris/aris.SlackBuild')
-rw-r--r-- | academic/aris/aris.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/academic/aris/aris.SlackBuild b/academic/aris/aris.SlackBuild index ce7cf5c0107a1..f0e60295ea529 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 |