1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
PySolFC/build-svg-support.bash
2019-06-05 15:26:22 +03:00

26 lines
522 B
Bash

#! /usr/bin/env bash
#
# build-svg-support.bash
# Copyright (C) 2019 Shlomi Fish <shlomif@cpan.org>
#
# Distributed under terms of the MIT license.
#
(
set -e -x
a="`pwd`"
cd kcardgame
git clone git://anongit.kde.org/kpat
mkdir build-kpat/
k="`pwd`"
cd build-kpat
cmake -DCMAKE_BUILD_TYPE=Debug ../kpat
make
cd ..
mkdir b
cd b
cmake -DCMAKE_BUILD_TYPE=Debug ../binding-example/
make
) || true
dir="`pwd`/kcardgame/b"
export PYTHONPATH="$dir" LD_LIBRARY_PATH="$dir"