summaryrefslogtreecommitdiff
path: root/development/kicad-doc/kicad-doc.SlackBuild
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2019-12-15 05:39:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 09:14:46 +0700
commit79f22ff415e8af66cfc85df30f1a0517c8bfa751 (patch)
treeb7a1511130dbacc1ee8b6d4d20e5db77a0330993 /development/kicad-doc/kicad-doc.SlackBuild
parent86065380eb321f413627380a7811d62580a7a914 (diff)
downloadslackbuilds-79f22ff415e8af66cfc85df30f1a0517c8bfa751.tar.gz
development/kicad-doc: Updated for version 5.1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 ca96b1b1f6..600cb72f77 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 ..