Permalink
Cannot retrieve contributors at this time
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?
pkg-scripts/inkscape-1.0beta0-0.build.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
30 lines (23 sloc)
804 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |