Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 30 lines (23 sloc) 804 Bytes
#! /bin/sh
set -xe
PKG=inkscape
VERSION=1.0beta0
GITHASH=beec5ad0507551e535149f570753f62584532ed8
BUILD=0
PREFIX=/pkg/$PKG-$VERSION-$BUILD
mkdir -p $PREFIX
cat >$PREFIX/profile <<-EOF
PATH=$PREFIX/bin:\$PATH
if [ -d $PREFIX/.compatlibs ]; then export LD_LIBRARY_PATH=$PREFIX/.compatlibs\${LD_LIBRARY_PATH:+:\$LD_LIBRARY_PATH} ; fi
EOF
source $PREFIX/profile
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
mkdir -p $PREFIX/build
cd $PREFIX/build
test -e inkscape-$GITHASH.tar.bz2 || wget -O inkscape-$GITHASH.tar.bz2 https://gitlab.com/inkscape/inkscape/-/archive/$GITHASH/inkscape-$GITHASH.tar.bz2
test -d inkscape-$GITHASH || tar xf inkscape-$GITHASH.tar.bz2
cd inkscape-$GITHASH
cmake -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX .
# https://gitlab.com/inkscape/inkscape/issues/327
make -j1
make install