From 776c54e44131075e6144999b055db97f92006bb8 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 15 Sep 2010 10:22:50 +0700 Subject: [PATCH] remove wanderlust, not working anyway Signed-off-by: Gwenhael Le Moine --- e/wanderlust/wanderlust.SlackBuild | 96 ------------------------------ 1 file changed, 96 deletions(-) delete mode 100755 e/wanderlust/wanderlust.SlackBuild diff --git a/e/wanderlust/wanderlust.SlackBuild b/e/wanderlust/wanderlust.SlackBuild deleted file mode 100755 index 3250af31..00000000 --- a/e/wanderlust/wanderlust.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -x - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BRANCH=master -VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 -PACKAGER=cyco - -TMP=/tmp/$PACKAGER -PKG=$TMP/$PACKAGER/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/cycojesus/projets/packages/repositories - -PREFIX=/usr - -SLCKFLAGS="" - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) -LISPDIR=$PREFIX/share/emacs/site-lisp -VERSION_SPECIFIC_LISPDIR==$PREFIX/share/emacs/$EMACS_VERSION - -function git_clone_or_pull() { - REPO_URL=$1 - REPO_NAME=$2 - if [ ! -e $REPOSITORIES/$REPO_NAME ]; then - git clone $REPO_URL $REPOSITORIES/$REPO_NAME - else - ( cd $REPOSITORIES/$REPO_NAME - git pull - ) - fi -} - -function process() { - PRG=$1 - git_clone_or_pull git://github.com/wanderlust/$PRG.git $PRG - - ( cd $TMP - cp -R $REPOSITORIES/$PRG $PRG - ( cd $PRG - make - make install PREFIX=$PKG$PREFIX LISPDIR=$PKG$LISPDIR VERSION_SPECIFIC_LISPDIR=$PKG$VERSION_SPECIFIC_LISPDIR - ) - ) -} -# nettoyage préalable -rm -fr $PKG && mkdir -p $PKG - -process apel -process flim -process semi -process wanderlust - -# # correction -# ( cd $PKG -# chown -R root:root * - -# find $PKG -name \.git\* -exec rm -fr {} \; - -# [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# # Strip binaries -# 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 -# ) - - -# # embaumement -# mkdir -p $PKG/install -# cat < $PKG/install/slack-desc -# $PRGNAM: $PRGNAM (Window Manager "Framework") -# $PRGNAM: -# $PRGNAM: $PRGNAM is an extremely fast, small, and dynamic window manager for X. -# $PRGNAM: -# $PRGNAM: -# $PRGNAM: -# $PRGNAM: -# $PRGNAM: http://$PRGNAM.naquadah.org -# $PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -# $PRGNAM: -# EOF -# if [ $INCLUDE_OBVIOUS == 1 ] ; then -# echo "$PRGNAM: [ include obvious ( http://$PRGNAM.naquadah.org/wiki/Obvious ) ]" >> $PKG/install/slack-desc -# else -# echo "$PRGNAM:" >> $PKG/install/slack-desc -# fi - -# # empaquetage -# cd $PKG -# makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$PACKAGER.txz