rendered paste body-------------------
LE FICHIER LOG
-------------------
subtitleeditor-0.13.6/
subtitleeditor-0.13.6/mkinstalldirs
subtitleeditor-0.13.6/README
subtitleeditor-0.13.6/aclocal.m4
subtitleeditor-0.13.6/NEWS
subtitleeditor-0.13.6/config.sub
subtitleeditor-0.13.6/TODO
subtitleeditor-0.13.6/docs/
subtitleeditor-0.13.6/docs/Makefile.in
subtitleeditor-0.13.6/docs/subtitleeditor.1
subtitleeditor-0.13.6/docs/Makefile.am
subtitleeditor-0.13.6/install-sh
subtitleeditor-0.13.6/INSTALL
subtitleeditor-0.13.6/Makefile.in
subtitleeditor-0.13.6/autogen.sh
subtitleeditor-0.13.6/ChangeLog
subtitleeditor-0.13.6/configure
subtitleeditor-0.13.6/depcomp
subtitleeditor-0.13.6/src/
subtitleeditor-0.13.6/src/Color.h
subtitleeditor-0.13.6/src/Project.cc
subtitleeditor-0.13.6/src/StyleModel.cc
subtitleeditor-0.13.6/src/Signal.h
subtitleeditor-0.13.6/src/DialogStyleEditor.cc
subtitleeditor-0.13.6/src/SubtitleSubRip.cc
subtitleeditor-0.13.6/src/DialogChangeFPS.cc
subtitleeditor-0.13.6/src/SubtitleSystem.cc
subtitleeditor-0.13.6/src/DialogScriptProperties.h
subtitleeditor-0.13.6/src/TimingSystem.h
subtitleeditor-0.13.6/src/SubtitleTime.h
subtitleeditor-0.13.6/src/Waveform.cc
subtitleeditor-0.13.6/src/GstMedia.cc
subtitleeditor-0.13.6/src/SubtitleTTXT.cc
subtitleeditor-0.13.6/src/DialogPreferences.cc
subtitleeditor-0.13.6/src/SubtitleMPsub.h
subtitleeditor-0.13.6/src/SubtitleText.h
subtitleeditor-0.13.6/src/SubtitleTTXT.h
subtitleeditor-0.13.6/src/Document.h
subtitleeditor-0.13.6/src/DialogSplit.cc
subtitleeditor-0.13.6/src/SubtitleSSA.cc
subtitleeditor-0.13.6/src/Encodings.h
subtitleeditor-0.13.6/src/utility.cc
subtitleeditor-0.13.6/src/Document.cc
subtitleeditor-0.13.6/src/SubtitleEncorePAL.cc
subtitleeditor-0.13.6/src/Waveform.h
subtitleeditor-0.13.6/src/GstLaunch.h
subtitleeditor-0.13.6/src/DialogScale.cc
subtitleeditor-0.13.6/src/Makefile.in
subtitleeditor-0.13.6/src/SubtitleMPsub.cc
subtitleeditor-0.13.6/src/main.cc
subtitleeditor-0.13.6/src/StyleModel.h
subtitleeditor-0.13.6/src/ScriptInfo.cc
subtitleeditor-0.13.6/src/DialogFileChooser.cc
subtitleeditor-0.13.6/src/SubtitleText.cc
subtitleeditor-0.13.6/src/Encodings.cc
subtitleeditor-0.13.6/src/SubtitleView.cc
subtitleeditor-0.13.6/src/RegEx.cc
subtitleeditor-0.13.6/src/DialogAbout.h
subtitleeditor-0.13.6/src/debug.h
subtitleeditor-0.13.6/src/WaveformGenerator.cc
subtitleeditor-0.13.6/src/Color.cc
subtitleeditor-0.13.6/src/SubtitleMPL2.h
subtitleeditor-0.13.6/src/debug.cc
subtitleeditor-0.13.6/src/DialogMoveSubtitles.cc
subtitleeditor-0.13.6/src/DialogChangeFPS.h
subtitleeditor-0.13.6/src/DialogStyleEditor.h
subtitleeditor-0.13.6/src/SubtitleSSA.h
subtitleeditor-0.13.6/src/SubtitleSubViewer2.h
subtitleeditor-0.13.6/src/SubtitleMicroDVD.cc
subtitleeditor-0.13.6/src/ScriptInfo.h
subtitleeditor-0.13.6/src/VideoInfo.h
subtitleeditor-0.13.6/src/SubtitleModel.h
subtitleeditor-0.13.6/src/SubtitleSystem.h
subtitleeditor-0.13.6/src/Project.h
subtitleeditor-0.13.6/src/SubtitleSubViewer2.cc
subtitleeditor-0.13.6/src/TimingSystem.cc
subtitleeditor-0.13.6/src/SubtitleModel.cc
subtitleeditor-0.13.6/src/utility.h
subtitleeditor-0.13.6/src/DialogMoveSubtitles.h
subtitleeditor-0.13.6/src/Config.h
subtitleeditor-0.13.6/src/Signal.cc
subtitleeditor-0.13.6/src/SubtitleEditor.cc
subtitleeditor-0.13.6/src/DialogScale.h
subtitleeditor-0.13.6/src/SubtitleModifier.h
subtitleeditor-0.13.6/src/SubtitleASS.cc
subtitleeditor-0.13.6/src/SubtitleMicroDVD.h
subtitleeditor-0.13.6/src/SubtitleModifier.cc
subtitleeditor-0.13.6/src/SubtitleTime.cc
subtitleeditor-0.13.6/src/SubtitleEncorePAL.h
subtitleeditor-0.13.6/src/Dialog.h
subtitleeditor-0.13.6/src/SubtitleSubRip.h
subtitleeditor-0.13.6/src/SubtitleView.h
subtitleeditor-0.13.6/src/MenuBar.h
subtitleeditor-0.13.6/src/SubtitleFormat.h
subtitleeditor-0.13.6/src/DialogFind.cc
subtitleeditor-0.13.6/src/SubtitleEditor.h
subtitleeditor-0.13.6/src/DialogSplit.h
subtitleeditor-0.13.6/src/DialogSpellChecking.h
subtitleeditor-0.13.6/src/ISubtitleEditor.h
subtitleeditor-0.13.6/src/SubtitleEncoreNTSC.h
subtitleeditor-0.13.6/src/Makefile.am
subtitleeditor-0.13.6/src/DialogFileChooser.h
subtitleeditor-0.13.6/src/Config.cc
subtitleeditor-0.13.6/src/RegEx.h
subtitleeditor-0.13.6/src/MenuBar.cc
subtitleeditor-0.13.6/src/DialogPreferences.h
subtitleeditor-0.13.6/src/DialogScriptProperties.cc
subtitleeditor-0.13.6/src/SubtitleFormat.cc
subtitleeditor-0.13.6/src/SubtitleASS.h
subtitleeditor-0.13.6/src/Dialog.cc
subtitleeditor-0.13.6/src/GstMedia.h
subtitleeditor-0.13.6/src/GstLaunch.cc
subtitleeditor-0.13.6/src/WaveformGenerator.h
subtitleeditor-0.13.6/src/DialogSpellChecking.cc
subtitleeditor-0.13.6/src/SubtitleMPL2.cc
subtitleeditor-0.13.6/src/SubtitleEncoreNTSC.cc
subtitleeditor-0.13.6/src/DialogAbout.cc
subtitleeditor-0.13.6/src/DialogFind.h
subtitleeditor-0.13.6/ABOUT-NLS
subtitleeditor-0.13.6/config.rpath
subtitleeditor-0.13.6/config.guess
subtitleeditor-0.13.6/ltmain.sh
subtitleeditor-0.13.6/test/
subtitleeditor-0.13.6/test/subrip.format
subtitleeditor-0.13.6/test/testSubtitleTime.cc
subtitleeditor-0.13.6/test/Makefile.in
subtitleeditor-0.13.6/test/mpl2.format
subtitleeditor-0.13.6/test/testRegEx.cc
subtitleeditor-0.13.6/test/testSubtitleLoaders.cc
subtitleeditor-0.13.6/test/ssa.format
subtitleeditor-0.13.6/test/ass.format
subtitleeditor-0.13.6/test/Makefile.am
subtitleeditor-0.13.6/test/test.cc
subtitleeditor-0.13.6/test/subviewer2.0.format
subtitleeditor-0.13.6/test/microdvd.format
subtitleeditor-0.13.6/config.h.in
subtitleeditor-0.13.6/missing
subtitleeditor-0.13.6/COPYING
subtitleeditor-0.13.6/share/
subtitleeditor-0.13.6/share/dialog-change-fps.glade
subtitleeditor-0.13.6/share/Makefile.in
subtitleeditor-0.13.6/share/dialog-style-editor.glade
subtitleeditor-0.13.6/share/dialog-preferences.glade
subtitleeditor-0.13.6/share/dialog-encodings-chooser.glade
subtitleeditor-0.13.6/share/subtitleeditor-icon.png
subtitleeditor-0.13.6/share/subtitleeditor.desktop
subtitleeditor-0.13.6/share/dialog-split.glade
subtitleeditor-0.13.6/share/dialog-move-subtitles.glade
subtitleeditor-0.13.6/share/dialog-script-properties.glade
subtitleeditor-0.13.6/share/dialog-spell-checking.glade
subtitleeditor-0.13.6/share/menubar.xml
subtitleeditor-0.13.6/share/subtitleeditor.glade
subtitleeditor-0.13.6/share/Makefile.am
subtitleeditor-0.13.6/share/subtitleeditor.png
subtitleeditor-0.13.6/share/dialog-find-and-replace.glade
subtitleeditor-0.13.6/share/dialog-scale.glade
subtitleeditor-0.13.6/configure.in
subtitleeditor-0.13.6/Makefile.am
subtitleeditor-0.13.6/AUTHORS
subtitleeditor-0.13.6/m4/
subtitleeditor-0.13.6/m4/lib-ld.m4
subtitleeditor-0.13.6/m4/inttypes.m4
subtitleeditor-0.13.6/m4/inttypes-pri.m4
subtitleeditor-0.13.6/m4/intmax.m4
subtitleeditor-0.13.6/m4/inttypes_h.m4
subtitleeditor-0.13.6/m4/lcmessage.m4
subtitleeditor-0.13.6/m4/stdint_h.m4
subtitleeditor-0.13.6/m4/codeset.m4
subtitleeditor-0.13.6/m4/ulonglong.m4
subtitleeditor-0.13.6/m4/progtest.m4
subtitleeditor-0.13.6/m4/lib-link.m4
subtitleeditor-0.13.6/m4/Makefile.in
subtitleeditor-0.13.6/m4/size_max.m4
subtitleeditor-0.13.6/m4/intdiv0.m4
subtitleeditor-0.13.6/m4/wint_t.m4
subtitleeditor-0.13.6/m4/ChangeLog
subtitleeditor-0.13.6/m4/gettext.m4
subtitleeditor-0.13.6/m4/isc-posix.m4
subtitleeditor-0.13.6/m4/printf-posix.m4
subtitleeditor-0.13.6/m4/nls.m4
subtitleeditor-0.13.6/m4/longdouble.m4
subtitleeditor-0.13.6/m4/lib-prefix.m4
subtitleeditor-0.13.6/m4/signed.m4
subtitleeditor-0.13.6/m4/uintmax_t.m4
subtitleeditor-0.13.6/m4/wchar_t.m4
subtitleeditor-0.13.6/m4/iconv.m4
subtitleeditor-0.13.6/m4/Makefile.am
subtitleeditor-0.13.6/m4/longlong.m4
subtitleeditor-0.13.6/m4/glibc21.m4
subtitleeditor-0.13.6/m4/xsize.m4
subtitleeditor-0.13.6/po/
subtitleeditor-0.13.6/po/fr.po
subtitleeditor-0.13.6/po/cs.gmo
subtitleeditor-0.13.6/po/nl.gmo
subtitleeditor-0.13.6/po/pt_BR.gmo
subtitleeditor-0.13.6/po/cs.po
subtitleeditor-0.13.6/po/ChangeLog
subtitleeditor-0.13.6/po/hu.po
subtitleeditor-0.13.6/po/Makefile.in.in
subtitleeditor-0.13.6/po/fr.gmo
subtitleeditor-0.13.6/po/subtitleeditor.pot
subtitleeditor-0.13.6/po/es.po
subtitleeditor-0.13.6/po/ca.gmo
subtitleeditor-0.13.6/po/ca.po
subtitleeditor-0.13.6/po/pt_BR.po
subtitleeditor-0.13.6/po/pt_PT.gmo
subtitleeditor-0.13.6/po/pl.po
subtitleeditor-0.13.6/po/es.gmo
subtitleeditor-0.13.6/po/nl.po
subtitleeditor-0.13.6/po/pt_PT.po
subtitleeditor-0.13.6/po/POTFILES.in
subtitleeditor-0.13.6/po/hu.gmo
subtitleeditor-0.13.6/po/pl.gmo
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... ca cs es fr hu nl pl pt_BR pt_PT
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for egrep... /bin/grep -E
checking for sed... sed
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for select... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKMM... configure: error: Package requirements (gtkmm-2.4 >= 2.6) were not met:
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'Xrender', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTKMM_CFLAGS
and GTKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
./build-subtitleeditor.sh: line 82: cd: /home/shai/Desktop/subtitleeditor-0.13.6-i486-48.1//usr/man: Aucun fichier ou répertoire de ce type
gzip: ./docs/subtitleeditor.1.gz already exists; not overwritten
gzip: ./src/SubtitleTime.h.gz already exists; not overwritten
gzip: ./src/SubtitleText.h.gz already exists; not overwritten
gzip: ./src/SubtitleSubViewer2.h.gz already exists; not overwritten
gzip: ./src/SubtitleTTXT.h.gz already exists; not overwritten
gzip: ./src/DialogStyleEditor.h.gz already exists; not overwritten
gzip: ./src/Encodings.h.gz already exists; not overwritten
gzip: ./src/debug.h.gz already exists; not overwritten
gzip: ./src/ScriptInfo.h.gz already exists; not overwritten
gzip: ./src/StyleModel.h.gz already exists; not overwritten
gzip: ./src/DialogAbout.h.gz already exists; not overwritten
gzip: ./src/SubtitleSSA.h.gz already exists; not overwritten
gzip: ./src/SubtitleMPL2.h.gz already exists; not overwritten
gzip: ./src/utility.h.gz already exists; not overwritten
gzip: ./src/Config.h.gz already exists; not overwritten
gzip: ./src/DialogScale.h.gz already exists; not overwritten
gzip: ./src/Dialog.h.gz already exists; not overwritten
gzip: ./src/VideoInfo.h.gz already exists; not overwritten
gzip: ./src/Signal.h.gz already exists; not overwritten
gzip: ./src/DialogScriptProperties.h.gz already exists; not overwritten
gzip: ./src/TimingSystem.h.gz already exists; not overwritten
gzip: ./src/Document.h.gz already exists; not overwritten
gzip: ./src/Waveform.h.gz already exists; not overwritten
gzip: ./src/MenuBar.h.gz already exists; not overwritten
gzip: ./src/SubtitleModel.h.gz already exists; not overwritten
gzip: ./src/RegEx.h.gz already exists; not overwritten
gzip: ./src/DialogSplit.h.gz already exists; not overwritten
gzip: ./src/SubtitleASS.h.gz already exists; not overwritten
gzip: ./src/SubtitleSystem.h.gz already exists; not overwritten
gzip: ./src/GstMedia.h.gz already exists; not overwritten
gzip: ./src/Project.h.gz already exists; not overwritten
gzip: ./src/Color.h.gz already exists; not overwritten
gzip: ./src/SubtitleMPsub.h.gz already exists; not overwritten
gzip: ./src/GstLaunch.h.gz already exists; not overwritten
gzip: ./src/DialogChangeFPS.h.gz already exists; not overwritten
gzip: ./src/DialogMoveSubtitles.h.gz already exists; not overwritten
gzip: ./src/SubtitleModifier.h.gz already exists; not overwritten
gzip: ./src/SubtitleMicroDVD.h.gz already exists; not overwritten
gzip: ./src/SubtitleEncorePAL.h.gz already exists; not overwritten
gzip: ./src/SubtitleSubRip.h.gz already exists; not overwritten
gzip: ./src/SubtitleView.h.gz already exists; not overwritten
gzip: ./src/SubtitleFormat.h.gz already exists; not overwritten
gzip: ./src/SubtitleEditor.h.gz already exists; not overwritten
gzip: ./src/DialogSpellChecking.h.gz already exists; not overwritten
gzip: ./src/ISubtitleEditor.h.gz already exists; not overwritten
gzip: ./src/SubtitleEncoreNTSC.h.gz already exists; not overwritten
gzip: ./src/DialogFileChooser.h.gz already exists; not overwritten
gzip: ./src/DialogPreferences.h.gz already exists; not overwritten
gzip: ./src/WaveformGenerator.h.gz already exists; not overwritten
gzip: ./src/DialogFind.h.gz already exists; not overwritten
./build-subtitleeditor.sh: line 87: /home/shai/Desktop/subtitleeditor-0.13.6-i486-48.1/usr/share/applications/subtitleeditor.desktop: Aucun fichier ou répertoire de ce type
cp: ne peut évaluer `/home/shai/Desktop/subtitleeditor-0.13.6/pixmaps/subtitleeditor.png': Aucun fichier ou répertoire de ce type
Slackware package maker, version 2.1.
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating tar file subtitleeditor-0.13.6-i486-48.1.tar...
./
install/
install/slack-desc
usr/
usr/doc/
usr/doc/subtitleeditor-0.13.6/
usr/doc/subtitleeditor-0.13.6/AUTHORS
usr/doc/subtitleeditor-0.13.6/COPYING
usr/doc/subtitleeditor-0.13.6/INSTALL
usr/doc/subtitleeditor-0.13.6/README
usr/doc/subtitleeditor-0.13.6/ChangeLog
usr/src/
usr/src/subtitleeditor-0.13.6/
usr/src/subtitleeditor-0.13.6/build-subtitleeditor.sh
tar-1.13: subtitleeditor-0.13.6-i486-48.1.tar is the archive; not dumped
Gzipping subtitleeditor-0.13.6-i486-48.1.tar...
Renaming subtitleeditor-0.13.6-i486-48.1.tar.gz to subtitleeditor-0.13.6-i486-48.1.tgz...
Moving subtitleeditor-0.13.6-i486-48.1.tgz to /home/shai/Desktop...
Package creation complete.
-------------------
LE FICHIER BUILD-XX
-------------------
#!/bin/bash
# packager : Romain G <Shai_-> (Shaihuld~AT~gmail.com)
# source location : www.playonlinux.com
# last revised : 27/12/07
softname='subtitleeditor'
softversion='0.13.6'
packageversion='50.1'
arch='i486'
cpu='i686'
prefix=/usr
# log ;)
(
# parameters needed for the build process
buildir=$(pwd)
srcpkg="$buildir/$softname-$softversion.tar.gz"
src="$buildir/$softname-$softversion"
package="$softname-$softversion-$arch-$packageversion"
dest="$buildir/$package"
# prepare the build result directory
dest="$buildir/$package"
rm -rf $dest
mkdir -p $dest
mkdir -p $dest/install
mkdir -p $dest/usr/doc/$softname-$softversion
mkdir -p $dest/usr/src/$softname-$softversion
# Slack-desc
cat <<EOF > $dest/install/slack-desc
|-----handy-ruler------------------------------------------------------|
subtitleeditor: subtitleeditor 0.13.6 subtitle editor
subtitleeditor:
subtitleeditor: Subtitle Editor is a little program which allow everybody to make or
subtitleeditor: edit quickly subtitles files (*.str)
subtitleeditor:
subtitleeditor:
subtitleeditor:
subtitleeditor:
subtitleeditor:
subtitleeditor:
subtitleeditor:
subtitleeditor:
subtitleeditor:
EOF
# extract the source code
cd $buildir
tar xvzf $srcpkg
cd $src
# build
export CFLAGS="-O2 -march=$arch -mtune=$cpu"
export CXXFLAGS="-O2 -march=$arch -mtune=$cpu"
./configure \
--prefix=$prefix \
--mandir=$prefix/man \
--enable-static=no \
--build=$arch-slackware-linux
make
make install DESTDIR=$dest
# add 'default' files
cp -a \
AUTHORS COPYING INSTALL README ChangeLog \
$dest/usr/doc/$softname-$softversion
# Strip
( cd $dest
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
# Compress Man Pages
( cd $dest/$prefix/man
find . -name "*.?" | xargs gzip -9
)
# .desktop file
cat << "EOF" > $dest/usr/share/applications/$softname.desktop
[Desktop Entry]
Encoding=UTF-8
Name=subtitle editor
Name[fr]=editeur de sous titre
Exec=Subtitleeditor
Icon=Subtitleeditor
Terminal=false
Type=Application
Categories=Application;Video;
StartupNotify=true
EOF
# Make the package freedesktop compliant
cp $buildir/$softname-$softversion/pixmaps/$softname.png $dest/usr/share/icons/hicolor/48x48/apps/$softname.png
# ZenBuild
cp $buildir/build-$softname.sh $dest/$prefix/src/$softname-$softversion
# set target permissions
chown -R root:root $dest
cd $dest
find . -perm 664 -exec chmod 644 {} \;
find . -perm 600 -exec chmod 644 {} \;
find . -perm 444 -exec chmod 644 {} \;
find . -perm 400 -exec chmod 644 {} \;
find . -perm 440 -exec chmod 644 {} \;
find . -perm 777 -exec chmod 755 {} \;
find . -perm 775 -exec chmod 755 {} \;
find . -perm 511 -exec chmod 755 {} \;
find . -perm 711 -exec chmod 755 {} \;
find . -perm 555 -exec chmod 755 {} \;
# real packaging work
cd $dest
makepkg -l y -c n $dest.tgz
# md5sum signature
cd $buildir
md5sum $package.tgz > $package.md5
# log ;)
) 2>&1 | tee "$softname-$softversion-build.log"