1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-15 02:54:09 -04:00
PySolFC/build-svg-support.bash
2020-11-12 11:38:49 +02:00

25 lines
404 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 ../binding-example/
make
) || true
export PYTHONPATH=$PWD/kcardgame/b