3 # Slackware build script for eric4
5 # Written by grissiom chaos.proton@gmail.com
8 VERSION
=${VERSION:-4.1.4}
15 PKG
=$TMP/package-
$PRGNAM
16 OUTPUT
=${OUTPUT:-/tmp}
22 mkdir
-p $TMP $PKG $OUTPUT
24 rm -rf $PRGNAM-$VERSION
25 tar xvf
$CWD/$PRGNAM-$VERSION.
tar.gz
29 \
( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \
) \
30 -exec chmod 755 {} \
; -o \
31 \
( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \
) \
34 python
install.py
-b /usr
/bin
-i $PKG
37 find . |
xargs file |
grep "executable" |
grep ELF | cut
-f 1 -d : |
xargs strip
--strip-unneeded 2> /dev
/null || true
38 find . |
xargs file |
grep "shared object" |
grep ELF | cut
-f 1 -d : |
xargs strip
--strip-unneeded 2> /dev
/null
41 mkdir
-p $PKG/usr
/doc
/$PRGNAM-$VERSION
42 cp -a LICENSE.GPL README README-i18n.txt THANKS\
43 eric
/ChangeLog eric
/README-PyXML.txt eric
/README-eric4-doc.txt eric
/README-passive-debugging.txt\
44 $PKG/usr
/doc
/$PRGNAM-$VERSION
45 cat $CWD/$PRGNAM.SlackBuild
> $PKG/usr
/doc
/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
48 cat $CWD/slack-desc
> $PKG/install
/slack-desc
51 /sbin
/makepkg
-l y
-c n
$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz