File: slackbuild

package info (click to toggle)
mtpaint 3.50.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,344 kB
  • sloc: ansic: 57,311; sh: 3,372; makefile: 83; perl: 61
file content (18 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
WRKDIR=`pwd`
VERSION=3.50
ARCH=x86_64
SLACK=14.2
tar xf mtpaint-$VERSION.tar.bz2
cd mtpaint-$VERSION || exit 1
./configure release intl man nowebp --prefix=/usr --mandir=/usr/man --docdir=/usr/doc #--fakeroot=$WRKDIR/slacklibs
make
DEST=$WRKDIR/zad
make install DESTDIR=$DEST
gzip -9 $DEST/usr/man/man*/*
cd $WRKDIR
unzip mtpaint_handbook-$VERSION.zip
mkdir -p $DEST/usr/doc
mv mtpaint_handbook-$VERSION/docs $DEST/usr/doc/mtpaint
cd $DEST || exit 1
makepkg -l y -c y $WRKDIR/mtpaint-${VERSION}-${ARCH}-1_slack${SLACK}.tgz