aboutsummaryrefslogtreecommitdiff
path: root/development/kicad-doc/kicad-doc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/kicad-doc/kicad-doc.SlackBuild')
-rw-r--r--development/kicad-doc/kicad-doc.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/kicad-doc/kicad-doc.SlackBuild b/development/kicad-doc/kicad-doc.SlackBuild
index ca96b1b1f6f5b..600cb72f77d11 100644
--- a/development/kicad-doc/kicad-doc.SlackBuild
+++ b/development/kicad-doc/kicad-doc.SlackBuild
@@ -23,16 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2013/03/29
+# Revision date: 2019-12-12
PRGNAM=kicad-doc
-VERSION=${VERSION:-bzr_20130328}
+VERSION=${VERSION:-5.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH="noarch"
-KICAD_VERSION=${KICAD_VERSION:-bzr_20130325}
+KICAD_VERSION=${KICAD_VERSION:-5.1.5}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -45,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -58,8 +58,8 @@ mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DKICAD_DOCS=/usr/doc/kicad-$KICAD_VERSION \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DLANGUAGES=en \
+ -DBUILD_FORMATS='html;pdf' ../
make
make install DESTDIR=$PKG
cd ..