Debian Codegraph @

pkg/slackbuild32

raw
1 #!/bin/bash
2 WRKDIR=`pwd`
3 VERSION=3.50
4 ARCH=i386
5 SLACK=14.2
6 . /etc/profile.d/32dev.sh
7 tar xf mtpaint-$VERSION.tar.bz2
8 cd mtpaint-$VERSION || exit 1
9 ./configure release intl man nowebp --prefix=/usr --mandir=/usr/man --docdir=/usr/doc #--fakeroot=$WRKDIR/slacklibs
10 make
11 DEST=$WRKDIR/zad
12 make install DESTDIR=$DEST
13 gzip -9 $DEST/usr/man/man*/*
14 cd $WRKDIR
15 unzip mtpaint_handbook-$VERSION.zip
16 mkdir -p $DEST/usr/doc
17 mv mtpaint_handbook-$VERSION/docs $DEST/usr/doc/mtpaint
18 cd $DEST || exit 1
19 makepkg -l y -c y $WRKDIR/mtpaint-${VERSION}-${ARCH}-1_slack${SLACK}.tgz