summaryrefslogtreecommitdiffstats
path: root/packaging/macos/build_inkscape.sh
blob: dc3139a2cc7b8861bb57e1308ffb35d7603e2063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This file is part of the build pipeline for Inkscape on macOS.
#
# ### build_inkscape.sh ###
# Compile and package Inkscape.

### load settings and functions ################################################

SELF_DIR=$(F=$0; while [ ! -z $(readlink $F) ] && F=$(readlink $F); \
  cd $(dirname $F); F=$(basename $F); [ -L $F ]; do :; done; echo $(pwd -P))
for script in $SELF_DIR/0??-*.sh; do source $script; done

set -e

### run scripts to compile and build Inkscape ##################################

for script in $SELF_DIR/2??-*.sh; do
  $script
done