diff --git a/.gitignore b/.gitignore index dc002f2f..713ca7a8 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ xap/st/patches/st-vertcenter* /xap/android-x86/android-8.1-r1/ /xap/android-x86/usr /y/minecraft-launcher/minecraft-launcher.svg +/ap/hledger-bin/LICENSE.* +/ap/hledger-bin/*.md.* diff --git a/SBo/development/gem2tgz/gem2tgz.SlackBuild b/SBo/development/gem2tgz/gem2tgz.SlackBuild index 211a1037..15aa0e08 100755 --- a/SBo/development/gem2tgz/gem2tgz.SlackBuild +++ b/SBo/development/gem2tgz/gem2tgz.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gem2tgz diff --git a/SBo/development/npm2tgz/npm2tgz.SlackBuild b/SBo/development/npm2tgz/npm2tgz.SlackBuild index 5bbccda2..32c1db0c 100755 --- a/SBo/development/npm2tgz/npm2tgz.SlackBuild +++ b/SBo/development/npm2tgz/npm2tgz.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for npm2tgz diff --git a/SBo/games/scribble/SlackBuild b/SBo/games/scribble/SlackBuild index c97a816f..260b8e9b 100755 --- a/SBo/games/scribble/SlackBuild +++ b/SBo/games/scribble/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) VERSION=1.11-1 diff --git a/UNUSED/a/aaa_cycojesus/SlackBuild b/UNUSED/a/aaa_cycojesus/SlackBuild deleted file mode 100755 index 171471b2..00000000 --- a/UNUSED/a/aaa_cycojesus/SlackBuild +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PKGNAM=$(basename $CWD) -VERSION=${VERSION:-b} - -BUILD=${BUILD:-1} - -ARCH=noarch - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PKGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Cleaning -rm -fr $TMP/$PKGNAM-$VERSION -rm -fr $PKG - -mkdir -p $PKG/ - -# $CWD/config is pre-configured alread (permissions and all) -cp -a $CWD/config/etc $PKG/ - -# Activate some non-default fonts adjustements -(cd $PKG/etc/fonts/conf.d - ln -s ../conf.avail/35-gwh.conf - ln -s ../conf.avail/10-sub-pixel-rgb.conf - ln -s ../conf.avail/10-autohint.conf -) - -cd $PKG -# Cleaning -chown -R root:root . - -# Packaging -mkdir install -cat < install/slack-desc -$PKGNAM: $PKGNAM (Cycojesus' post-install configuration) -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -$PKGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/aaa_cycojesus/config/etc/fonts/conf.avail/35-cycojesus.conf b/UNUSED/a/aaa_cycojesus/config/etc/fonts/conf.avail/35-cycojesus.conf deleted file mode 100644 index 58b5f813..00000000 --- a/UNUSED/a/aaa_cycojesus/config/etc/fonts/conf.avail/35-cycojesus.conf +++ /dev/null @@ -1,22 +0,0 @@ - - - - - serif - - Droid Serif - - - - sans-serif - - Ubuntu - - - - monospace - - Droid Sans Mono - - - diff --git a/UNUSED/a/aaa_cycojesus/config/etc/profile.d/00_cycojesus.sh b/UNUSED/a/aaa_cycojesus/config/etc/profile.d/00_cycojesus.sh deleted file mode 100755 index 669dd13d..00000000 --- a/UNUSED/a/aaa_cycojesus/config/etc/profile.d/00_cycojesus.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -# "Fix" compilation on a multilib system -export LDFLAGS="-L/usr/lib64 " diff --git a/UNUSED/a/aaa_cycojesus/config/etc/rc.d/rc.local b/UNUSED/a/aaa_cycojesus/config/etc/rc.d/rc.local deleted file mode 100755 index 529fad3b..00000000 --- a/UNUSED/a/aaa_cycojesus/config/etc/rc.d/rc.local +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/rc.local: Local system initialization script. -# -# Put any local startup commands in here. Also, if you have -# anything that needs to be run at shutdown time you can -# make an /etc/rc.d/rc.local_shutdown script and put those -# commands in there. - -# dirty hack to let mortals adjust brightness on this laptop -chmod 666 /sys/class/backlight/intel_backlight/brightness - -# no need to keep eth0 busy if it's for nothing -ifconfig eth0 | grep -q "inet addr:[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" || modprobe -r atl1c - -# Start vboxdrv -# If you do not wish this to be executed here then comment it out, -# and the installer will skip it next time. -if [ -x /etc/rc.d/rc.vboxdrv ]; then - /etc/rc.d/rc.vboxdrv start -fi - -# Start vboxballoonctrl-service -# If you do not wish this to be executed here then comment it out, -# and the installer will skip it next time. -if [ -x /etc/rc.d/rc.vboxballoonctrl-service ]; then - /etc/rc.d/rc.vboxballoonctrl-service start -fi - -# Start vboxweb-service -# If you do not wish this to be executed here then comment it out, -# and the installer will skip it next time. -if [ -x /etc/rc.d/rc.vboxweb-service ]; then - /etc/rc.d/rc.vboxweb-service start -fi - - -[ -x /etc/rc.d/rc.Tether ] && /etc/rc.d/rc.Tether start - -# To disable avahi, chmod rc.avahidaemon and rc.avahidnsconfd to 644 -if [ -x /etc/rc.d/rc.avahidaemon -a -x /etc/rc.d/rc.avahidnsconfd ]; then - /etc/rc.d/rc.avahidaemon start - /etc/rc.d/rc.avahidnsconfd start -fi diff --git a/UNUSED/a/aaa_cycojesus/config/etc/rc.d/rc.local_shutdown b/UNUSED/a/aaa_cycojesus/config/etc/rc.d/rc.local_shutdown deleted file mode 100755 index 1988ba62..00000000 --- a/UNUSED/a/aaa_cycojesus/config/etc/rc.d/rc.local_shutdown +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -PKGS_REPO=/home/installs/PKGs - -# Move all recently built packages into our packages repository -mkdir -p $PKGS_REPO -find /tmp -name \*.t\?z -maxdepth 1 -exec mv {} $PKGS_REPO \; - -# Clean up said repository of obsolete (not installed) packages -cd $PKGS_REPO -for i in *.t?z; do [ ! -e /var/adm/packages/${i%.t?z} ] && rm $i; done - -if [ -x /etc/rc.d/rc.avahidaemon -a -x /etc/rc.d/rc.avahidnsconfd ]; then - /etc/rc.d/rc.avahidaemon stop - /etc/rc.d/rc.avahidnsconfd stop -fi diff --git a/UNUSED/a/aaa_cycojesus/config/etc/udev/rules.d/99-android.rules b/UNUSED/a/aaa_cycojesus/config/etc/udev/rules.d/99-android.rules deleted file mode 100644 index 8e99ce52..00000000 --- a/UNUSED/a/aaa_cycojesus/config/etc/udev/rules.d/99-android.rules +++ /dev/null @@ -1,2 +0,0 @@ -SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666" -SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666" diff --git a/UNUSED/a/aaa_cycojesus/config/etc/udev/rules.d/99-kindle.rules b/UNUSED/a/aaa_cycojesus/config/etc/udev/rules.d/99-kindle.rules deleted file mode 100644 index 5ccc80ca..00000000 --- a/UNUSED/a/aaa_cycojesus/config/etc/udev/rules.d/99-kindle.rules +++ /dev/null @@ -1 +0,0 @@ -SUBSYSTEM=="usb", SYSFS{idVendor}=="1949", MODE="0666", SYMLINK+="kindle" diff --git a/UNUSED/a/aaa_cycojesus/update-files.sh b/UNUSED/a/aaa_cycojesus/update-files.sh deleted file mode 100755 index cbded120..00000000 --- a/UNUSED/a/aaa_cycojesus/update-files.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -for i in $(find config -type f); do - cp -a "${i#config}" $(dirname $i) ; -done diff --git a/UNUSED/a/fspc/SlackBuild b/UNUSED/a/fspc/SlackBuild deleted file mode 100755 index 7668cb5f..00000000 --- a/UNUSED/a/fspc/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# variables -VERSION=1.0.1 -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP - -[ ! -e $CWD/fsp-lnxdrv-$VERSION-src.tar.gz ] && wget -c http://sourceforge.net/projects/fsp-lnxdrv/files/fsp-lnxdrv-src/$VERSION/fsp-lnxdrv-$VERSION-src.tar.gz/download -O $CWD/fsp-lnxdrv-$VERSION-src.tar.gz -tar xf $CWD/fsp-lnxdrv-$VERSION-src.tar.gz -mv release_$(echo $VERSION | tr . _) $PRGNAM-$VERSION - -( cd $TMP/$PRGNAM-$VERSION/src - cd libfsp - make - cd ../fspc - sed -i 's|usr/local|usr|g' $(grep -l usr/local *) - ./configure - make - - mkdir -p $PKG$PREFIX/{bin,share/$PRGNAM} - cp fspc $PKG$PREFIX/bin/ - cp -R pic fspcui.xrc $PKG$PREFIX/share/$PRGNAM - - chmod +x $PKG$PREFIX/bin/* - - cd ../tools/ - mkdir -p $PKG/etc/pm/sleep.d/ - fromdos < fsp_pm.sh > $PKG/etc/pm/sleep.d/fsp_pm.sh - chmod +x $PKG/etc/pm/sleep.d/* -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Touchpad driver client GUI) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://fsp-lnxdrv.sourceforge.net/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/fspd/SlackBuild b/UNUSED/a/fspd/SlackBuild deleted file mode 100755 index 92353104..00000000 --- a/UNUSED/a/fspd/SlackBuild +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh - -# variables -VERSION=trunk_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -CWD=$(pwd) - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - svn checkout http://int.ed.ntnu.no/svn/public/fspd/trunk/ $REPOSITORY -else - ( cd $REPOSITORY - svn update - ) -fi - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - mkdir -p $PKG{$PREFIX/{sbin,doc/$PRGNAM},/etc/{rc.d,conf.d}} - cp fspd $PKG$PREFIX/sbin/ - cp $CWD/rc.fspd $PKG/etc/rc.d/rc.fspd.new - cp README autoconf $PKG$PREFIX/doc/$PRGNAM - cp fsp.conf $PKG/etc/conf.d/fsp.conf.new - sed -i "s|FSPD_DIR=/usr/local/bin|FSPD_DIR=$PREFIX/sbin|" $PKG/etc/conf.d/fsp.conf - sed -i "s|FSP_EVENT=.*|FSP_EVENT=$(ls /dev/input/by-path/platform-i8042-serio-*-event-mouse)|" $PKG/etc/conf.d/fsp.conf - sed -i "s|FSP_FLAGS_DIR=.*|FSP_FLAGS_DIR=/sys/devices/platform/i8042/serio$(ls /dev/input/by-path/platform-i8042-serio-*-event-mouse | sed 's|/dev/input/by-path/platform-i8042-serio-||' | sed 's|-event-mouse||')|" $PKG/etc/conf.d/fsp.conf - sed -i "s|SCROLL=0|SCROLL=1|" $PKG/etc/conf.d/fsp.conf - - chmod +x $PKG$PREFIX/sbin/* $PKG/etc/rc.d/* -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -config() { - NEW="\$1" - OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r \$OLD ]; then - mv \$NEW \$OLD - elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then # toss\ - the redundant copy - rm \$NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -config etc/rc.d/rc.fspd.new -config etc/conf.d/fspd.conf.new -EOF - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Touchpad manager daemon) -$PRGNAM: -$PRGNAM: FSP Daemon is made to dissable the Sentelic touchpad when the keyboard -$PRGNAM: is used. Inspired by the syndaemon for synaptic. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://int.ed.ntnu.no/svn/public/fspd/trunk/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/fspd/rc.fspd b/UNUSED/a/fspd/rc.fspd deleted file mode 100644 index 11568ccd..00000000 --- a/UNUSED/a/fspd/rc.fspd +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -source /etc/conf.d/fsp.conf - -case $1 in - "start") - if [ -e $PID_FILE ]; then - echo "fspd already running ($(cat $PID_FILE))" - else - exec $FSPD_DIR/fspd & - fi - ;; - "stop") - if [ -e $PID_FILE ]; then - kill $(cat $PID_FILE) - rm $PID_FILE - else - echo "fspd not running" - fi - ;; - "restart") - $0 stop - $0 start - ;; - *) - ;; -esac diff --git a/UNUSED/a/grub2/50_cycojesus b/UNUSED/a/grub2/50_cycojesus deleted file mode 100755 index 369df95a..00000000 --- a/UNUSED/a/grub2/50_cycojesus +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -#exec tail -n +3 $0 -# This file provides an easy way to add custom menu entries. Simply type the -# menu entries you want to add after this comment. Be careful not to change -# the 'exec tail' line above. -for kernel in /boot/2.* ; do - if [ -e $kernel/bzImage ] ; then - echo "menuentry \"Slackware $(basename $kernel)\" {" - echo " set root=(hd0,2)" - echo " linux /boot/$kernel/bzImage root=/dev/sda6 ro resume=/dev/sda5" - echo "}" - fi -done diff --git a/UNUSED/a/grub2/SlackBuild b/UNUSED/a/grub2/SlackBuild deleted file mode 100755 index 557e347d..00000000 --- a/UNUSED/a/grub2/SlackBuild +++ /dev/null @@ -1,133 +0,0 @@ -#!/bin/sh - -# Copyright 2009 Andrew Brouwers, abrouwers.gmail.com -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Based on Pat's slackbuild from 13.0 - -PKGNAM=grub -VERSION=1.97.2 -ARCH=${ARCH:-x86_64} -BUILD=1 - - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-${PKGNAM} -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2" -fi - -cd $TMP -rm -rf ${PKGNAM}-${VERSION} -tar xzvf $CWD/${PKGNAM}-${VERSION}.tar.gz -cd ${PKGNAM}-${VERSION} - -# Make sure ownerships and permissions are sane: -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# /usr/share seems appropriate grub's files, so we'll append it to --libdir - -CFLAGS="${SLKCFLAGS}" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/share \ - --infodir=/usr/info \ - --mandir=/usr/man \ - --sbindir=/sbin \ - --sysconfdir=/etc - -make || exit 1 -make install DESTDIR=$PKG || exit 1 - -[ -e $CWD/50_gwh ] && cp $CWD/50_gwh $PKG/etc/grub.d/ && chmod +x $PKG/etc/grub.d/$CWD/50_gwh - -( cd $PKG - 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 and if needed symlink the man pages: -if [ -d $PKG/usr/man ]; then - ( cd $PKG/usr/man - for manpagedir in $(find . -type d -name "man*") ; do - ( cd $manpagedir - for eachpage in $( find . -type l -maxdepth 1) ; do - ln -s $( readlink $eachpage ).gz $eachpage.gz - rm $eachpage - done - gzip -9 *.? - ) - done - ) -fi - -# Compress info pages and purge "dir" file from the package: -if [ -d $PKG/usr/info ]; then - ( cd $PKG/usr/info - rm -f dir - gzip -9 * - ) -fi - -mkdir -p $PKG/usr/doc/grub-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \ - $PKG/usr/doc/grub-$VERSION - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -grub: grub (GNU GRUB bootloader) -grub: -grub: This is the next-generation GRUB bootloader. Grub2 has been -grub: re-written from scratch to clean up everything from modularity -grub: and portability. It features support for scripting, themes, -grub: real memory-management, rescue mode, and various other improvements -grub: over grub-legacy. -grub: -grub: Visit the homepage: http://www.gnu.org/software/grub/grub-2.en.html -grub: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/grub-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/i8kutils/SlackBuild b/UNUSED/a/i8kutils/SlackBuild deleted file mode 100755 index 8eb4b3ef..00000000 --- a/UNUSED/a/i8kutils/SlackBuild +++ /dev/null @@ -1,140 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=i8kutils -PKG=$TMP/pkg-$PRGNAM - -VERSION=1.33 - -EXT=tar.gz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README* TODO examples patches" - -ARCH=$(uname -m) -BUILD=2 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -tar xf $CWD/$PRGNAM-$VERSION.$EXT -cd $PRGNAM-$VERSION - -# configuration - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -mkdir -p $PKG$PREFIX/{sbin,bin,man} -make install DESTDIR=$PKG PREFIX=$PREFIX -cp *.1 $PKG$PREFIX/man - -mkdir -p $PKG/etc/rc.d -cat < $PKG/etc/rc.d/rc.i8kmon.new -#!/bin/sh -# Start/stop/restart i8kmon. - -# Start i8kmon: -i8kmon_start() { - if [ -x /usr/bin/i8kmon -a -d /proc/i8k ]; then - echo "Starting i8k daemon: /usr/sbin/i8kmon" - /usr/bin/i8kmon - fi -} - -# Stop i8kmon: -i8kmon_stop() { - killall i8kmon -} - -# Restart i8kmon: -i8kmon_restart() { - i8kmon_stop - sleep 1 - i8kmon_start -} - -case "\$1" in -'start') - i8kmon_start - ;; -'stop') - i8kmon_stop - ;; -'restart') - i8kmon_restart - ;; -*) - echo "usage \$0 start|stop|restart" -esac -EOF -chmod +x $PKG/etc/rc.d/rc.i8kmon.new - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -mkdir $PKG/etc -cp i8kmon.conf $PKG/etc/i8kmon.conf.new - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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/doinst.sh -config() { - NEW="\$1" - OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r \$OLD ]; then - mv \$NEW \$OLD - elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then - # toss the redundant copy - rm \$NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -config etc/rc.d/rc.i8kmon.new -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (user-space programs for accessing the SMM BIOS of Dell laptops.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://packages.debian.org/i8kutils -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/nvidiabl/SlackBuild b/UNUSED/a/nvidiabl/SlackBuild deleted file mode 100755 index 990708c3..00000000 --- a/UNUSED/a/nvidiabl/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")_$(uname -r)} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -REPOSITORY=${REPOSITORY:=/home/installs/SlackBuilds/repositories/$PRGNAM} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $TMP -cd $TMP - -# mise en place -[ ! -e $REPOSITORY ] \ - && git clone https://github.com/guillaumezin/nvidiabl.git $REPOSITORY \ - || (cd $REPOSITORY; git pull) - -cp -R $REPOSITORY $PRGNAM -cd $PRGNAM -make - -make install DESTDIR=$PKG - -mkdir -p $PKG$PREFIX/{sbin,doc/$PRGNAM} -cp -R scripts/ README $PKG$PREFIX/doc/$PRGNAM -cp scripts/usr/local/sbin/* $PKG$PREFIX/sbin - -mkdir -p $PKG/etc/udev/rules.d/ -cat < $PKG/etc/udev/rules.d/97-nvidia-brightness.rules -KERNEL=="nvidia_backlight", SUBSYSTEM=="backlight", RUN+="/usr/bin/chmod 0666 /sys/class/backlight/%k/brightness" -EOF - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Linux driver) -$PRGNAM: -$PRGNAM: for setting the backlight brightness on laptops using NVIDIA GPU -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/guillaumezin/nvidiabl -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/refind/SlackBuild b/UNUSED/a/refind/SlackBuild deleted file mode 100755 index 8312b34b..00000000 --- a/UNUSED/a/refind/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-0.10.0} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG/opt/ $PKG$PREFIX/doc/$PRGNAM - -# mise en place -[ ! -e $CWD/$PRGNAM-bin-$VERSION.zip ] && wget -c http://sourceforge.net/projects/$PRGNAM/files/$VERSION/$PRGNAM-bin-$VERSION.zip/download -O $CWD/$PRGNAM-bin-$VERSION.zip - -cd $PKG/opt/ -unzip $CWD/$PRGNAM-bin-$VERSION.zip -mv $PRGNAM-bin-$VERSION $PRGNAM - -cd $PKG$PREFIX/doc/$PRGNAM -for i in COPYING.txt CREDITS.txt LICENSE.txt NEWS.txt README.txt docs; do - ln -s /opt/$PRGNAM/$i -done - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (An EFI boot manager utility) -$PRGNAM: -$PRGNAM: rEFInd is a fork of the rEFIt boot manager. Like rEFIt, rEFInd can -$PRGNAM: auto-detect your installed EFI boot loaders and it presents a pretty -$PRGNAM: GUI menu of boot options. rEFInd goes beyond rEFIt in that rEFInd -$PRGNAM: better handles systems with many boot loaders, gives better control -$PRGNAM: over the boot loader search process, and provides the ability for users -$PRGNAM: to define their own boot loader entries. -$PRGNAM: -$PRGNAM: http://www.rodsbooks.com/refind/index.html -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/rtl8192se-firmware/SlackBuild b/UNUSED/a/rtl8192se-firmware/SlackBuild deleted file mode 100755 index 464ad44b..00000000 --- a/UNUSED/a/rtl8192se-firmware/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PKGNAM=$(basename $CWD) -PRGNAM=$(echo $PKGNAM | sed 's|-firmware||') -VERSION=${VERSION:-$(ls -ut $PRGNAM*.tar.?z*| head -n1 | cut -d_ -f3 | sed 's|.tar.*||')} - -BUILD=${BUILD:-1} - -ARCH=$(uname -m) - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PKGNAM -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# Cleaning -rm -fr $TMP/$PKGNAM-$VERSION -rm -fr $PKG - -mkdir -p $TMP/ - -tar -C $TMP -xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz -mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PKGNAM-$VERSION - -cd $TMP/$PKGNAM-$VERSION -# Preparation -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -mkdir -p $PKG/lib/firmware -cp -R firmware/RTL8192SE/*.bin $PKG/lib/firmware -( cd $PKG/lib/firmware - ln -s rtl8192sfw.bin rtl8192sefw.bin -) - -mkdir -p $PKG/usr/doc/$PKGNAM -cp readme.txt release_note $PKG/usr/doc/$PKGNAM -mv $PKG/lib/firmware/RTL8192SE/Realtek-Firmware-License.txt $PKG/usr/doc/$PKGNAM - -cd $PKG -# Cleaning -chown -R root:root . -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/doinst.sh -#!/bin/sh - -grep r8192_pci.ko /lib/modules/\$(uname -r)/modules.dep && rm -fr /lib/modules/\$(uname -r)/kernel/drivers/staging/rtl8192e/ || echo > /dev/null -grep r8192se_pci.ko /lib/modules/\$(uname -r)/modules.dep && rm -fr /lib/modules/\$(uname -r)/kernel/ubuntu/rtl8192se/* || echo > /dev/null -rm -f /etc/acpi/wireless-rtl-ac-dc-power.sh -rm -f /etc/acpi/events/RadioPower.sh - -depmod -a -EOF -cat < install/slack-desc -$PKGNAM: $PKGNAM (RTL8192SE firmware) -$PKGNAM: -$PKGNAM: This firmware supports RealTek rtl8192SE PCI Wireless LAN NIC -$PKGNAM: -$PKGNAM: http://realtek.com -$PKGNAM: http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true -$PKGNAM: -$PKGNAM: the 3 "official" mirrors: -$PKGNAM: ftp://WebUser:pGL7E6v@202.134.71.21/cn/wlan/ -$PKGNAM: ftp://WebUser:pGL7E6v@208.70.202.219/cn/wlan/ -$PKGNAM: ftp://WebUser:pGL7E6v@218.210.127.132/cn/wlan/ -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/rtl8192se/SlackBuild b/UNUSED/a/rtl8192se/SlackBuild deleted file mode 100755 index 9bcda1dc..00000000 --- a/UNUSED/a/rtl8192se/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(ls -ut $PRGNAM*.tar.?z*| head -n1 | cut -d_ -f3 | sed 's|.tar.*||')} - -BUILD=${BUILD:-1} - -ARCH=$(uname -m) - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG - -mkdir -p $TMP/ - -tar -C $TMP -xf $CWD/${PRGNAM}_linux_$VERSION.tar.gz -mv $TMP/${PRGNAM}_linux_$VERSION $TMP/$PRGNAM-$VERSION - -cd $TMP/$PRGNAM-$VERSION -# Preparation -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -make - -# Installation -mkdir -p $PKG/lib/modules/$(uname -r)/kernel/drivers/net/wireless/ -find ./HAL/ -name \*.ko -exec cp {} $PKG/lib/modules/$(uname -r)/kernel/drivers/net/wireless/ \; - -mkdir -p $PKG/lib/ -cp -R firmware $PKG/lib/ - -mkdir -p $PKG/usr/doc/$PRGNAM -cp readme.txt release_note $PKG/usr/doc/$PRGNAM -mv $PKG/lib/firmware/*/Realtek-Firmware-License.txt $PKG/usr/doc/$PRGNAM - -PRGNAM=$PRGNAM-$(uname -r | tr - _) - -cd $PKG -# Cleaning -chown -R root:root . -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/doinst.sh -#!/bin/sh - -grep r8192_pci.ko /lib/modules/\$(uname -r)/modules.dep && rm -fr /lib/modules/\$(uname -r)/kernel/drivers/staging/rtl8192e/ || echo > /dev/null -grep r8192se_pci.ko /lib/modules/\$(uname -r)/modules.dep && rm -fr /lib/modules/\$(uname -r)/kernel/ubuntu/rtl8192se/* || echo > /dev/null -rm -f /etc/acpi/wireless-rtl-ac-dc-power.sh -rm -f /etc/acpi/events/RadioPower.sh - -depmod -a -EOF -cat < install/slack-desc -$PRGNAM: $PRGNAM (RTL8192SE Linux driver) -$PRGNAM: -$PRGNAM: This driver supports RealTek rtl8192SE PCI Wireless LAN NIC -$PRGNAM: -$PRGNAM: http://realtek.com -$PRGNAM: http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true -$PRGNAM: -$PRGNAM: the 3 "official" mirrors: -$PRGNAM: ftp://WebUser:pGL7E6v@202.134.71.21/cn/wlan/ -$PRGNAM: ftp://WebUser:pGL7E6v@208.70.202.219/cn/wlan/ -$PRGNAM: ftp://WebUser:pGL7E6v@218.210.127.132/cn/wlan/ -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/a/sbopkg-slackware-queues/SlackBuild b/UNUSED/a/sbopkg-slackware-queues/SlackBuild deleted file mode 100755 index f62e6558..00000000 --- a/UNUSED/a/sbopkg-slackware-queues/SlackBuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -REPOSITORY=${REPOSITORY:=/home/installs/SlackBuilds/repositories/$PRGNAM} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG/var/lib/sbopkg/ - -# mise en place -[ ! -e $REPOSITORY ] \ - && git clone http://git.gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git $REPOSITORY \ - || (cd $REPOSITORY; git pull) - -cd $PKG/var/lib/sbopkg/ -cp -R $REPOSITORY queues -rm -fr queues/.git* - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Unofficial repository of Sbopkg queues.) -$PRGNAM: -$PRGNAM: This repository contains build queues for all the Slackware packages -$PRGNAM: from the SlackBuilds.org project. -$PRGNAM: This archive is not endorsed by any of the Slackware, SlackBuilds.org or -$PRGNAM: Sbopkg teams. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://gitorious.org/sbopkg-slackware-queues#more -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/Golbarg/SlackBuild b/UNUSED/ap/Golbarg/SlackBuild deleted file mode 100755 index de194a3f..00000000 --- a/UNUSED/ap/Golbarg/SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-trunk_$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/Schnouki/Golbarg.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -python ./setup.py install --root $PKG - -# correction -cd $PKG -chown -R root:root * - -# move doc/ to the appropriate location -mkdir -p $PKG$PREFIX/doc -mv $PKG$PREFIX/share/golbarg/ $PKG$PREFIX/doc - -# move golbarg.el where it belongs -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/golbarg/ -mv $PKG$PREFIX/doc/golbarg/golbarg.el $PKG$PREFIX/share/emacs/site-lisp/golbarg/ -( cd $PKG$PREFIX/share/emacs/site-lisp/golbarg/ - EMACS=$(basename $(ls /usr/bin/emacs-2*)) - $EMACS -batch -f batch-byte-compile *.el -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A static blog generator written in Python) -$PRGNAM: -$PRGNAM: Golbarg is a static blog generator written in Python. It is heavily -$PRGNAM: inspired by Jekyll, but is is (obviously!) better (at least in my -$PRGNAM: opinion). -$PRGNAM: You can see it in action on my own blog, (source code on Github too). -$PRGNAM: Golbarg is free software, available under the terms of the GNU GPLv3 -$PRGNAM: license. -$PRGNAM: -$PRGNAM: http://github.com/Schnouki/Golbarg -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/ack/SlackBuild b/UNUSED/ap/ack/SlackBuild deleted file mode 100755 index eed6bb72..00000000 --- a/UNUSED/ap/ack/SlackBuild +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh - -#NOTE: Needs File::Next (cpan -i File::Next) - -# variables - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=git$(date +%Y.%m.%d_%H.%M) - -EXT=tar.xz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -REPOSITORIES=/home/installs/SlackBuilds/repositories -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -[ ! -e $CWD/ack-standalone ] && wget -c http://betterthangrep.com/ack-standalone $CWD/ack-standalone - -# installation -mkdir -p $PKG$PREFIX/bin -cp $CWD/ack-standalone $PKG$PREFIX/bin/ack - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (a power search tool for programmers) -$PRGNAM: -$PRGNAM: ack is a tool like grep, designed for programmers with large trees of -$PRGNAM: heterogeneous source code. -$PRGNAM: -$PRGNAM: ack is written purely in Perl, and takes advantage of the power of -$PRGNAM: Perl's regular expressions. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://betterthangrep.com/ -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/antigen/SlackBuild b/UNUSED/ap/antigen/SlackBuild deleted file mode 100755 index fe76937f..00000000 --- a/UNUSED/ap/antigen/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $REPOSITORY ] && git clone git://github.com/zsh-users/antigen.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/share/antigen/ -cp $REPOSITORY/antigen.zsh $PKG$PREFIX/share/antigen/ - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY/*.{txt,mkd} $PKG$PREFIX/doc/$PRGNAM/ -cp $CWD/SlackBuild $PKG$PREFIX/doc/$PRGNAM/ - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A plugin manager for zsh, inspired by oh-my-zsh and vundle.) -$PRGNAM: -$PRGNAM: Antigen is a small set of functions that help you easily manage your -$PRGNAM: shell (zsh) plugins, called bundles. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://antigen.sharats.me -$PRGNAM: http://github.com/zsh-users/antigen -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/arm/SlackBuild b/UNUSED/ap/arm/SlackBuild deleted file mode 100755 index ef8938c7..00000000 --- a/UNUSED/ap/arm/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-trunk_$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - svn checkout https://svn.torproject.org/svn/arm/trunk/ $REPOSITORY -fi - -( cd $REPOSITORY - svn update -) - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - python ./setup.py install --root $PKG -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Terminal status monitor for Tor relays.) -$PRGNAM: -$PRGNAM: Command line application for monitoring Tor relays, providing real time -$PRGNAM: status information such as the current configuration, bandwidth usage, -$PRGNAM: message log, connections, etc. This uses a curses interface much like -$PRGNAM: 'top' does for system usage. The application is intended for -$PRGNAM: command-line aficionados, ssh connections, and anyone stuck with a tty -$PRGNAM: terminal for checking their relay's status. -$PRGNAM: -$PRGNAM: http://www.atagar.com/arm/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/beets/SlackBuild b/UNUSED/ap/beets/SlackBuild deleted file mode 100755 index 79fa8edf..00000000 --- a/UNUSED/ap/beets/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -GIT_URL="https://github.com/beetbox/beets.git" -[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM -cd $TMP/$PRGNAM - -python ./setup.py build - -# installation -python ./setup.py install --root=$PKG - -mkdir -p $PKG$PREFIX/share/zsh/site-functions/ -cp extra/_beet $PKG$PREFIX/share/zsh/site-functions/ - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -R LICENSE README.rst docs/ extra/ $PKG/usr/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (music library manager and MusicBrainz tagger) -$PRGNAM: -$PRGNAM: Beets is the media library management system for obsessive-compulsive music geeks. -$PRGNAM: -$PRGNAM: The purpose of beets is to get your music collection right once and for all. It -$PRGNAM: catalogs your collection, automatically improving its metadata as it goes. It -$PRGNAM: then provides a bouquet of tools for manipulating and accessing your music. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://beets.io/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/cclive/SlackBuild b/UNUSED/ap/cclive/SlackBuild deleted file mode 100755 index 43692782..00000000 --- a/UNUSED/ap/cclive/SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -x - -PRGNAM=cclive -VERSION=0.6.1 - - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] \ - && tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - [ ! -e $PRGNAM-$VERSION ] \ - && wget -c http://$PRGNAM.googlecode.com/files/$PRGNAM-$VERSION.tar.bz2 \ - && tar xvf $PRGNAM-$VERSION.tar.?z* -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib64 -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1} -( cd $TMP/$PRGNAM-$VERSION - make install DESTDIR=$PKG -) - -# Cleaning -( cd $PKG - 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 - - find ./man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < install/slack-desc -$PRGNAM: $PRGNAM () -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/ap/chrpath/SlackBuild b/UNUSED/ap/chrpath/SlackBuild deleted file mode 100755 index 84664826..00000000 --- a/UNUSED/ap/chrpath/SlackBuild +++ /dev/null @@ -1,215 +0,0 @@ -#!/bin/sh -#-- chrpath for Slackware -- -# Build script by Phantom X -# Suggested usage: $ chrpath.SlackBuild 2>&1 | tee build.log -#-- -# Copyright 2008, 2009, 2010 Phantom X, Goiania, Brazil. -# Copyright 2006 Martijn Dekker, Groningen, Netherlands. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# ftp://ftp.hungry.com/pub/hungry/chrpath/ - -PACKAGER_ID=gwh - - -# Set YES for native build with gcc >= 4.2 -SB_NATIVE=${SB_NATIVE:-YES} - -# Set to YES to replicate slackbuild and patches -SB_REP=${SB_REP:-YES} - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp} -if [ ! -d ${TMP} ]; then - mkdir -p ${TMP} -fi - -NAME=chrpath -PKG=${PKG:-${TMP}/pkg-${NAME}} - -VERSION=${VERSION:-0.13} -if [ "${SB_NATIVE}" = "YES" ] ;then - ARCH=${ARCH:-$(uname -m)} -else - ARCH=${ARCH:-i686} -fi -if [ "${ARCH}" = "x86_64" ] ;then - SLKTARGET=${SLKTARGET:-x86_64} -else - SLKTARGET=${SLKTARGET:-i486} -fi -SLKDTARGET=${SLKDTARGET:-slackware} -BUILD=${BUILD:-5} -NJOBS=${NJOBS:-$(( $(getconf _NPROCESSORS_ONLN) + 1 ))} -DOCDIR=${PKG}/usr/doc/${NAME}-${VERSION} -SBDIR=${PKG}/usr/src/slackbuilds/${NAME} -PKGDEST=${PKGDEST:-${CWD}} -PKGFORMAT=${PKGFORMAT:-txz} -PKGNAME=${NAME}-$(echo ${VERSION} | tr - . )-${ARCH}-${BUILD}${PACKAGER_ID} - -DATE=$(LC_ALL=C date +%Y.%m.%d_%H.%M) - -SRCDIR=${NAME}-${VERSION} -SRCARCHIVE=${SRCDIR}.tar.gz - -DL_PROG=${DL_PROG:-wget} -DL_TO=${DL_TO:-5} -DL_OPTS=${DL_OPTS:-"--timeout=${DL_TO}"} -DL_URL="ftp://ftp.hungry.com/pub/hungry/${NAME}/${SRCARCHIVE}" -FEDORACVS=fedora-cvs.sh -FEDORABRANCH=${FEDORABRANCH:-devel} - -# if source is not present, download in source rootdir if possible -test -r ${CWD}/${SRCARCHIVE} || ${DL_PROG} ${DL_OPTS} ${DL_URL} \ - || sh ${CWD}/${FEDORACVS} ${NAME} ${FEDORABRANCH} ${SRCARCHIVE} || exit 1 - -if [ "${SB_NATIVE}" = "YES" ] ;then - SLKCFLAGS="-O2 -march=native -mtune=native ${SB_ECFLAGS} -pipe" -else - case "${ARCH}" in - i[3-6]86) SLKCFLAGS="-O2 -march=${ARCH} -mtune=i686" - ;; - s390) SLKCFLAGS="-O2" - ;; - x86_64) SLKCFLAGS="-O2 -fPIC" - ;; - esac -fi -if [ "${ARCH}" = "x86_64" ] ;then - LIBDIRSUFFIX="64" - SLKCFLAGS="${SLKCFLAGS} -fPIC" -else - LIBDIRSUFFIX="" -fi - -if [ -d ${PKG} ]; then - # Clean up a previous build - rm -rf ${PKG} -fi -mkdir -p ${PKG} - -cd ${TMP} -rm -rf ${SRCDIR} -tar -xvf ${CWD}/${SRCARCHIVE} || exit 1 -cd ${SRCDIR} || exit 1 - -chmod -R u+w,go+r-w,a-s . - -# zcat ${CWD}/${NAME}.patch.gz | patch -p0 -E --backup --verbose || exit 1 -zcat ${CWD}/${NAME}-multilib.patch.gz | patch -p1 -E --backup --verbose || exit 1 -zcat ${CWD}/${NAME}-keepgoing.patch.gz | patch -p1 -E --backup --verbose || exit 1 - -autoreconf -ivf || exit 1 - -CFLAGS="${SLKCFLAGS}" \ -CXXFLAGS="${SLKCFLAGS}" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --infodir=/usr/info \ - --mandir=/usr/man \ - --disable-static \ - --build=${SLKTARGET}-${SLKDTARGET}-linux || exit 1 - -make -j${NJOBS} || make || exit 1 -make install DESTDIR=${PKG} || exit 1 - -rm -f ${PKG}/usr/lib*/*.la - -find ${PKG} | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -# Add a documentation directory: -rm -rf ${DOCDIR} -mkdir -p ${DOCDIR} -cp -a \ - AUTHORS COPYING README NEWS ChangeLog* ${CWD}/ChangeLog.SB \ - ${DOCDIR}/ -find ${DOCDIR}/ -type d -print0 | xargs -0 chmod 0755 -find ${DOCDIR}/ -type f -print0 | xargs -0 chmod 0644 - -# Compress and link manpages, if any: -if [ -d ${PKG}/usr/share/man ]; then - mv ${PKG}/usr/share/man ${PKG}/usr/man -fi -if [ -d ${PKG}/usr/man ]; then - ( cd ${PKG}/usr/man - for manpagedir in $(find . -type d -name "man*") ; do - ( cd ${manpagedir} - for eachpage in $( find . -type l -maxdepth 1) ; do - ln -s $( readlink ${eachpage} ).gz ${eachpage}.gz - rm ${eachpage} - done - gzip -9 *.? - ) - done - ) -fi - -mkdir -p ${PKG}/install -cat ${CWD}/slack-desc > ${PKG}/install/slack-desc -cat ${CWD}/slack-required > ${PKG}/install/slack-required - -sed -i "s|_PACKAGER|${PACKAGER}|g; s|_BUILD_DATE|${DATE}|g" \ - ${PKG}/install/slack-desc - -if [ "${SB_REP}" = "YES" ] ;then - # Replicate slackbuild and patches - mkdir -p ${SBDIR} - install -m0644 ${CWD}/slack-desc ${CWD}/slack-required ${CWD}/ChangeLog.SB \ - ${CWD}/${FEDORACVS} ${CWD}/${NAME}-*.patch.gz ${SBDIR}/ - install -m0755 ${CWD}/${NAME}.SlackBuild \ - ${SBDIR}/${NAME}.SlackBuild -fi - -# Build package: -set +o xtrace # no longer print commands upon execution - -ROOTCOMMANDS="set -o errexit -o xtrace ; cd ${PKG} ; - /bin/chown --recursive root:root . ;" - -ROOTCOMMANDS="${ROOTCOMMANDS} - /sbin/makepkg --linkadd y --chown n ${PKGDEST}/${PKGNAME}.${PKGFORMAT} " - -if test ${UID} = 0; then - eval ${ROOTCOMMANDS} - set +o xtrace -elif test "$(type -t fakeroot)" = 'file'; then - echo -e "\e[1mEntering fakeroot environment.\e[0m" - echo ${ROOTCOMMANDS} | fakeroot -else - echo -e "\e[1mPlease enter your root password.\e[0m (Consider installing fakeroot.)" - /bin/su -c "${ROOTCOMMANDS}" -fi - -# Clean up the extra stuff: -if [ "$1" = "--cleanup" ]; then - echo "Cleaning..." - if [ -d ${TMP}/${SRCDIR} ]; then - rm -rf ${TMP}/${SRCDIR} && echo "${TMP}/${SRCDIR} cleanup completed" - fi - if [ -d ${PKG} ]; then - rm -rf ${PKG} && echo "${PKG} cleanup completed" - fi - rmdir ${TMP} && echo "${TMP} cleanup completed" -fi -exit 0 diff --git a/UNUSED/ap/chrpath/chrpath-0.13.tar.gz b/UNUSED/ap/chrpath/chrpath-0.13.tar.gz deleted file mode 100644 index 1f191207..00000000 Binary files a/UNUSED/ap/chrpath/chrpath-0.13.tar.gz and /dev/null differ diff --git a/UNUSED/ap/chrpath/chrpath-keepgoing.patch.gz b/UNUSED/ap/chrpath/chrpath-keepgoing.patch.gz deleted file mode 100644 index 311bf6d8..00000000 Binary files a/UNUSED/ap/chrpath/chrpath-keepgoing.patch.gz and /dev/null differ diff --git a/UNUSED/ap/chrpath/chrpath-multilib.patch.gz b/UNUSED/ap/chrpath/chrpath-multilib.patch.gz deleted file mode 100644 index 19dcbda8..00000000 Binary files a/UNUSED/ap/chrpath/chrpath-multilib.patch.gz and /dev/null differ diff --git a/UNUSED/ap/chrpath/fedora-cvs.sh b/UNUSED/ap/chrpath/fedora-cvs.sh deleted file mode 100755 index 333864f0..00000000 --- a/UNUSED/ap/chrpath/fedora-cvs.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/bash -# -- fedora-cvs.sh -- -# Retrieve sources from Fedora cvs. -# -# Script by Phantom X -# Suggested usage: $ fedora-cvs package dist -# -# Copyright 2008 Phantom X, Goiania, Brazil. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -set -e - -module="${1}" -dist="${2}" - -[ -n "${3}" ] && sarchive="${3}" - -fedoraroot=":pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs" - -txt() { - echo "Usage: $0 module dist" - echo "module is package name" - echo "dist is Fedora version (F-??/devel)" - echo - echo "In case of other errors, try to download in a Fedora mirror or change file format extension." -} - -txt2() { - echo "Select correct dist: F-8, F-9, F-10, F11, F-12, F-13 or devel" -} - -if [ -z "${module}" ] ;then - txt - exit 1 -fi - -case "${2}" in - F-8|F-9|F-10|F-11|F-12|F-13|devel) - dist="${2}" - ;; - *) - txt2 - exit 1 - ;; -esac - -echo "Downloading from ${module}/${dist}" - -tmp=$(mktemp -d) - -trap cleanup EXIT -cleanup() { - set +e - [ -z "${tmp}" -o ! -d "${tmp}" ] || rm -rf "${tmp}" -} - -unset CDPATH -pwd=$(pwd) - -pushd "${tmp}" - export CVSROOT="${fedoraroot}" - cvs co ${module}/${dist}/ - cd ${module}/${dist} - if [ -f "${sarchive}" ] ;then - mv "${sarchive}" "${pwd}"/ - else - if [ -n "${sarchive}" ] ;then - mv sources sources.tmp - grep "${sarchive}" sources.tmp > sources - fi - make sources - for source in $(awk '{print $2}' sources) ;do - mv "${source}" "${pwd}"/ - done - fi -popd >/dev/null diff --git a/UNUSED/ap/chrpath/slack-desc b/UNUSED/ap/chrpath/slack-desc deleted file mode 100644 index b940b4f2..00000000 --- a/UNUSED/ap/chrpath/slack-desc +++ /dev/null @@ -1,12 +0,0 @@ -chrpath|-----handy-ruler------------------------------------------------------| -chrpath: chrpath (Modify rpath of compiled programs) -chrpath: -chrpath: chrpath allows you to modify the dynamic library load path (rpath) of -chrpath: compiled programs. Currently, only removing and modifying the rpath -chrpath: is supported. -chrpath: -chrpath: ftp://ftp.hungry.com/pub/hungry/chrpath/ -chrpath: -chrpath: -chrpath: Packager: _PACKAGER on _BUILD_DATE -chrpath: diff --git a/UNUSED/ap/chrpath/slack-required b/UNUSED/ap/chrpath/slack-required deleted file mode 100644 index e69de29b..00000000 diff --git a/UNUSED/ap/coccigrep/SlackBuild b/UNUSED/ap/coccigrep/SlackBuild deleted file mode 100755 index 4d486b47..00000000 --- a/UNUSED/ap/coccigrep/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -DOCS="ChangeLog INSTALL LICENSE README.rst doc/ editors/" - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -REPOSITORIES=/home/installs/SlackBuilds/repositories -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone http://github.com/regit/coccigrep.git $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -# installation -python ./setup.py install --root=$PKG - -mkdir -p mkdir -p $PKG/usr/share/emacs/site-lisp/ -cp editors/*.el $PKG/usr/share/emacs/site-lisp/ - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Semantic grep for the C language) -$PRGNAM: -$PRGNAM: coccigrep is a semantic grep for the C language based on coccinelle -$PRGNAM: (http://coccinelle.lip6.fr). It can be used to find where a given structure -$PRGNAM: is used in code files. coccigrep depends on the spatch program which comes -$PRGNAM: with coccinelle. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://home.regit.org/software/coccigrep/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/discount/SlackBuild b/UNUSED/ap/discount/SlackBuild deleted file mode 100755 index efe7c591..00000000 --- a/UNUSED/ap/discount/SlackBuild +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git_$(date +%Y.%m.%d_%H.%M) - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - ( cd $(dirname $REPOSITORY) - git clone "http://github.com/Orc/discount.git" $PRGNAM - ) -fi - -( cd $REPOSITORY - git pull -) - -# Preparation -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure.sh \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o "64") -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -( cd $TMP/$PRGNAM-$VERSION - mkdir -p $PKG$PREFIX/{bin,lib$(echo "$ARCH" | grep -o "64")} - make install DESTDIR=$PKG - rm -fr $PKG$PREFIX/include -) - -# Cleaning -( cd $PKG - 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 - - find ./man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < install/slack-desc -$PRGNAM: $PRGNAM (C markdown implementation) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.pell.portland.or.us/~orc/Code/markdown/ -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/ap/fet/SlackBuild b/UNUSED/ap/fet/SlackBuild deleted file mode 100755 index d5343647..00000000 --- a/UNUSED/ap/fet/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -PRGNAM=fet -VERSION=${VERSION:-5.37.2} - -BUILD=${BUILD:-1} - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=${PKG:-$TMP/pkg-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG - -[ ! -e $TMP/ ] && mkdir -p $TMP - -# Fetching sources -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c https://lalescu.ro/liviu/fet/download/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - -# Preparation -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -qmake-qt5 -make - -# Installation -make install INSTALL_ROOT=$PKG - -mv $PKG$PREFIX/share/man $PKG$PREFIX/ - -# Cleaning -cd $PKG -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 - -find ./man -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Free Timetabling Software) -$PRGNAM: -$PRGNAM: FET is open source free software for automatically scheduling the -$PRGNAM: timetable of a school, high-school or university. It uses a fast -$PRGNAM: and efficient timetabling algorithm. It is licensed under the GNU -$PRGNAM: Affero General Public License version 3 or later. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://lalescu.ro/liviu/fet/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/fondu/SlackBuild b/UNUSED/ap/fondu/SlackBuild deleted file mode 100755 index 05e9d33f..00000000 --- a/UNUSED/ap/fondu/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-051010} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -SLCKFLAGS=" -O " - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -[ ! -e $CWD/${PRGNAM}_src-${VERSION}.tgz ] && wget -c http://heanet.dl.sourceforge.net/project/${PRGNAM}/${PRGNAM}-src/${VERSION}/${PRGNAM}_src-${VERSION}.tgz -O $CWD/${PRGNAM}_src-${VERSION}.tgz -cd $TMP/ -tar xf $CWD/${PRGNAM}_src-${VERSION}.tgz -cd ${PRGNAM} - -# installation -./configure \ - --prefix=$PREFIX - -make - -sed -i "s|$PREFIX|$PKG$PREFIX|g" Makefile - -mkdir -p $PKG$PREFIX/{bin,man} - -make install -cp *.1 $PKG$PREFIX/man - -mkdir -p $PKG$PREFIX/doc/$PRGNAM/ -cp -r LICENSE README $PKG$PREFIX/doc/$PRGNAM/ - -# 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 -( cd $PKG - 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 (A melange of mac and unix font) -$PRGNAM: -$PRGNAM: A series of programs to interconvert between mac fonts (and FONDs) and unix font formats. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://fondu.sourceforge.net/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/grive/SlackBuild b/UNUSED/ap/grive/SlackBuild deleted file mode 100755 index 0c0ee9ab..00000000 --- a/UNUSED/ap/grive/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -SLCKFLAGS=" -O " - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ]; then - git clone https://github.com/Grive/grive.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM - -cd $TMP/$PRGNAM - -# configuration -cmake \ - -DCMAKE_INSTALL_PREFIX=$PREFIX \ - -DSYSCONFDIR=/etc \ - . - -# compilation -make -j3 - -# installation -make install DESTDIR=$PKG -mv $PKG$PREFIX/share/man $PKG$PREFIX -rm -fr $PKG$PREFIX/share/ - -# 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 -( cd $PKG - 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 (an open source Linux client for Google Drive) -$PRGNAM: -$PRGNAM: Grive can be considered still beta quality. It simply downloads all the files in your -$PRGNAM: Google Drive into the current directory. After you make some changes to the local files, run -$PRGNAM: grive again and it will upload your changes back to your Google Drive. New files created locally -$PRGNAM: Currently Grive will NOT destroy any of your files: it will only move the files to a -$PRGNAM: directory named .trash or put them in the Google Drive trash. You can always recover them. -$PRGNAM: -$PRGNAM: http://www.lbreda.com/grive/start -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/httrack/SlackBuild b/UNUSED/ap/httrack/SlackBuild deleted file mode 100755 index 2c0a1adf..00000000 --- a/UNUSED/ap/httrack/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -PRGNAM=httrack -VERSION=3.45.1 - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "64") - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -# Cleaning -rm -fr $TMP/$PRGNAM-* $PKG - -# Fetching sources -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c "http://download.httrack.com/cserv.php3?File=httrack.tar.gz" -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz - -# Preparation -cd $TMP/$PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$LIBSUFFIX - -LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ -make - -LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ -make install DESTDIR=$PKG - -# Cleaning -cd $PKG -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 - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (offline browser utility) -$PRGNAM: -$PRGNAM: It allows you to download a World Wide Web site from the Internet to a local -$PRGNAM: directory, building recursively all directories, getting HTML, images, and -$PRGNAM: other files from the server to your computer. HTTrack arranges the original -$PRGNAM: site's relative link-structure. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.httrack.com/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/nut/SlackBuild b/UNUSED/ap/nut/SlackBuild deleted file mode 100755 index 5ef36258..00000000 --- a/UNUSED/ap/nut/SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -FLTK=${FLTK:=YES} - -PRGNAM=nut -VERSION=${VERSION:-19.2} - -BUILD=${BUILD:-3} - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=${PKG:-$TMP/pkg-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG - -[ ! -e $TMP/ ] && mkdir -p $TMP - -# Fetching sources -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://nchc.dl.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - -# Preparation -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Configuration -sed -i "s|/usr/local/lib|$PREFIX/lib$LIBSUFFIX|g" Makefile fltk/Makefile - -# Building -make prefix=$PREFIX libdir=$PREFIX/lib$LIBSUFFIX/nut -[ "x$FLTK" != "xNO" ] && make -C fltk prefix=$PREFIX libdir=$PREFIX/lib$LIBSUFFIX/nut - -# Installation -mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1,doc/$PRGNAM} -cd $TMP/$PRGNAM-$VERSION -cp $PRGNAM $PKG$PREFIX/bin -if [ "x$FLTK" != "xNO" ]; then - cp fltk/Nut $PKG$PREFIX/bin - ( cd $PKG$PREFIX/bin - ln -s Nut $PRGNAM-fltk - ) -fi -cp $PRGNAM.1 $PKG$PREFIX/man/man1 -cp raw.data/* $PKG$PREFIX/lib$LIBSUFFIX/$PRGNAM -cp $(ls | grep "[A-Z][^a-z]") nut.html nut.xpm $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -cd $PKG -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 - -find ./man -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (open-source free nutrition software) -$PRGNAM: -$PRGNAM: $PRGNAM, records what you eat and analyzes your meals for nutrient -$PRGNAM: levels in terms of the "Daily Value" or DV which is the standard for -$PRGNAM: food labeling in the US. The program uses the free food composition -$PRGNAM: database from the USDA. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://nut.sourceforge.net/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/offlineimap/SlackBuild b/UNUSED/ap/offlineimap/SlackBuild deleted file mode 100755 index a9ab6672..00000000 --- a/UNUSED/ap/offlineimap/SlackBuild +++ /dev/null @@ -1,178 +0,0 @@ -#!/bin/bash -# -# offlineimap.SlackBuild is free software; you can redistribute -# it and/or modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the License, -# or any later version. -# -# offlineimap.SlackBuild is distributed in the hope that it will -# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -# -# slackbuild for offlineimap, by Silvio Rhatto -# requires: -# tested: offlineimap-6.2.0 -# - -# Look for slackbuildrc -if [ -f ~/.slackbuildrc ]; then - source ~/.slackbuildrc -elif [ -f /etc/slackbuildrc ]; then - source /etc/slackbuildrc -fi - -# Set variables -CWD="$(pwd)" -SRC_NAME="offlineimap" -PKG_NAME="offlineimap" -ARCH=${ARCH:=x86_64} -SRC_VERSION=${VERSION:=6.2.0} -PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" -BUILD=${BUILD:=1gwh} -SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME -TAG=gwh -TMP=${TMP:=/tmp} -PKG=${PKG:=$TMP/pkg-$PKG_NAME} -REPOS=${REPOS:=$TMP} -PREFIX=${PREFIX:=/usr} -PKG_WORK="$TMP/$SRC_NAME" -CONF_OPTIONS=${CONF_OPTIONS:=""} -NUMJOBS=${NUMJOBS:=""} - -# Set system libraries' path and optmization flags based on $ARCH -LIBDIR="$PREFIX/lib" - -if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mcpu=i686" -elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mcpu=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIR="$PREFIX/lib64" - LDFLAGS="-L/lib64 -L/usr/lib64" -fi - -# Set error codes (used by createpkg) -ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 -ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36 -ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39 -ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42 - -# Clean up any leftovers of previous builds -rm -rf "$PKG_WORK" 2> /dev/null -rm -rf "$PKG" 2> /dev/null - -# Create directories if necessary -mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR -mkdir -p "$PKG" || exit $ERROR_MKDIR -mkdir -p "$REPOS" || exit $ERROR_MKDIR -mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR - -# Dowload source if necessary -SRC="$SRC_NAME"_"$SRC_VERSION.tar.gz" -URL="http://ftp.de.debian.org/debian/pool/main/o/offlineimap/$SRC" - -if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then - wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET -fi - -# Untar -cd "$PKG_WORK" -tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR -PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`" -cd "$PKG_SRC" - -# Patch source -patches=" - $PKG_NAME.diff $PKG_NAME-$PKG_VERSION.diff - $PKG_NAME-$PKG_VERSION-$ARCH.diff $PKG_NAME-$ARCH.diff" -for patch in $patches; do - if [ -f "$CWD/$patch" ]; then - patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH - elif [ -f "$CWD/patches/$patch" ]; then - patch -Np1 < "$CWD/patches/$patch" || exit $ERROR_PATCH - elif [ -f "$CWD/$patch.gz" ]; then - gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH - elif [ -f "$CWD/patches/$patch.gz" ]; then - gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH - fi -done - -if echo [[PATCH URLS]] | grep -q -v "PATCH URLS"; then - for patch_url in [[PATCH URLS]]; do - patch="`basename $patch_url`" - if [ ! -s "$SRC_DIR/$patch" ]; then - wget "$patch_url" -O "$SRC_DIR/$patch" || exit $ERROR_WGET - fi - if [ "`basename $patch .gz`" != "$patch" ]; then - gzip -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH - elif [ "`basename $patch .bz2`" != "$patch" ]; then - bzip2 -dc $SRC_DIR/$patch | patch -Np1 || exit $ERROR_PATCH - else - patch -Np1 < "$SRC_DIR/$patch" || exit $ERROR_PATCH - fi - done -fi - -# Build and install package -python setup.py build install --root=$PKG - -# Strip binaries -( cd "$PKG" - 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 -) - -# Install documentation -DOCS="COPYING COPYRIGHT FAQ.html README UPGRADING" -mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -for doc in $DOCS; do - if [ -f "$doc" ]; then - cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" - fi -done - -# Add package description (slack-desc) -mkdir -p "$PKG/install" || exit $ERROR_MKDIR -cat << EODESC > "$PKG/install/slack-desc" -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------| -offlineimap: offlineimap -offlineimap: -offlineimap: OfflineIMAP is a tool to simplify your e-mail reading. -offlineimap: With OfflineIMAP, you can read the same mailbox from multiple -offlineimap: computers. You get a current copy of your messages on each computer, -offlineimap: and changes you make one place will be visible on all other systems. -offlineimap: For instance, you can delete a message on your home computer, and it -offlineimap: will appear deleted on your work computer as well. OfflineIMAP is -offlineimap: also useful if you want to use a mail reader that does not have IMAP -offlineimap: support, has poor IMAP support, or does not provide disconnected -offlineimap: operation. -EODESC - -# Build the package -cd "$PKG" -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG - -# Delete source and build directories if requested -if [ "$CLEANUP" == "yes" ]; then - rm -rf "$PKG_WORK" "$PKG" -fi diff --git a/UNUSED/ap/parallel/SlackBuild b/UNUSED/ap/parallel/SlackBuild deleted file mode 100755 index 8548fbed..00000000 --- a/UNUSED/ap/parallel/SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git_$(date +%Y.%m.%d_%H.%M) - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - ( cd $(dirname $REPOSITORY) - git clone "git://git.savannah.gnu.org/parallel.git" $PRGNAM - ) -fi - -( cd $REPOSITORY - git pull -) - -# Preparation -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o "64") \ - --docdir=$PREFIX/doc/$PRGNAM -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -( cd $TMP/$PRGNAM-$VERSION - mkdir -p $PKG$PREFIX/{bin,lib$(echo "$ARCH" | grep -o "64")} - make install DESTDIR=$PKG - rm -fr $PKG$PREFIX/include -) - -# Cleaning -( cd $PKG - 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 - - find ./man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < install/slack-desc -$PRGNAM: $PRGNAM (build and execute shell command lines from standard input in parallel) -$PRGNAM: -$PRGNAM: GNU parallel is a shell tool for executing jobs in parallel locally or using -$PRGNAM: remote computers. A job is typically a single command or a small script that -$PRGNAM: has to be run for each of the lines in the input. The typical input is a list -$PRGNAM: of files, a list of hosts, a list of users, a list of URLs, or a list of table -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://savannah.gnu.org/projects/parallel/ -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/ap/password-store/SlackBuild b/UNUSED/ap/password-store/SlackBuild deleted file mode 100755 index 048b1412..00000000 --- a/UNUSED/ap/password-store/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -SLCKFLAGS=" -O " - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ]; then - git clone http://git.zx2c4.com/password-store $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM - -cd $TMP/$PRGNAM - -# installation -make install DESTDIR=$PKG -mv $PKG$PREFIX/share/man $PKG$PREFIX/ -rm -fr $PKG$PREFIX/share -mkdir -p $PKG$PREFIX/doc/$PRGNAM/ -cp -r COPYING INSTALL README contrib/ $PKG$PREFIX/doc/$PRGNAM/ - -# 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 -( cd $PKG - 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 (the standard unix password manager) -$PRGNAM: -$PRGNAM: Password management should be simple and follow Unix philosophy. With pass, -$PRGNAM: each password lives inside of a gpg encrypted file whose filename is the -$PRGNAM: title of the website or resource that requires the password. These encrypted -$PRGNAM: files may be organized into meaningful folder hierarchies, copied from -$PRGNAM: computer to computer, and, in general, manipulated using standard command -$PRGNAM: line file management utilities. -$PRGNAM: -$PRGNAM: http://zx2c4.com/projects/password-store/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/plan9port/SlackBuild b/UNUSED/ap/plan9port/SlackBuild deleted file mode 100755 index 37e93d81..00000000 --- a/UNUSED/ap/plan9port/SlackBuild +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG -mkdir -p $TMP - -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - hg clone "https://bitbucket.org/rsc/plan9port" $REPOSITORY -else - ( cd $REPOSITORY - hg pull -u - ) -fi - -# Preparation -mkdir -p $PKG/opt -cp -R $REPOSITORY $PKG/opt/$PRGNAM -cd $PKG/opt/$PRGNAM - -rm -fr .hg* - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -./INSTALL -b - -# Installation -cd dist -../bin/mk man -cd .. -cp lib/moveplan9.sh lib/moveplan9.sh.slackinstall_$VERSION -sed -i 's|new=`cleanname $PLAN9`|new=/opt/plan9port|g' lib/moveplan9.sh.slackinstall_$VERSION -sh ./lib/moveplan9.sh.slackinstall_$VERSION -rm lib/moveplan9.sh.slackinstall_$VERSION - -mkdir -p $PKG/etc/profile.d -cat < $PKG/etc/profile.d/$PRGNAM.sh -#!/bin/sh -PLAN9=/opt/plan9port -PATH=\$PATH:\${PLAN9} -MANPATH=\$MANPATH:\${PLAN9}/man -export PLAN9 PATH MANPATH -EOF -chmod +x $PKG/etc/profile.d/$PRGNAM.sh -cat < $PKG/etc/profile.d/$PRGNAM.csh -#!/bin/csh -setenv PLAN9 /opt/plan9port -setenv PATH \${PATH}:\${PLAN9}/bin -setenv MANPATH \${MANPATH}:\${PLAN9}/man -EOF -chmod +x $PKG/etc/profile.d/$PRGNAM.csh - -# Cleaning -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -find $PKG$PREFIX/man/man? -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root $PKG - -# Packaging -cd $PKG -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Plan 9 from User Space) -$PRGNAM: -$PRGNAM: Plan 9 from User Space (aka plan9port) is a port of many Plan 9 programs -$PRGNAM: from their native Plan 9 environment to Unix-like operating systems. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://swtch.com/plan9port/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/ap/pwauth/SlackBuild b/UNUSED/ap/pwauth/SlackBuild deleted file mode 100755 index e95cc120..00000000 --- a/UNUSED/ap/pwauth/SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -SLCKFLAGS=" -O " - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ]; then - svn checkout http://pwauth.googlecode.com/svn/trunk/pwauth $REPOSITORY -else - ( cd $REPOSITORY - svn update - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM - -cd $TMP/$PRGNAM - -# installation -make -mkdir -p $PKG$PREFIX/sbin/ -mv pwauth unixgroup $PKG$PREFIX/sbin/ - -# 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 -( cd $PKG - 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 (A Unix Authentication Tool) -$PRGNAM: -$PRGNAM: Pwauth is an authenticator designed to be used with mod_auth_external -$PRGNAM: or mod_authnz_external and the Apache HTTP daemon to support reasonably -$PRGNAM: secure web authentication out of the system password database on most -$PRGNAM: versions of Unix. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://code.google.com/p/pwauth/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/pwmd/SlackBuild b/UNUSED/ap/pwmd/SlackBuild deleted file mode 100755 index 10696411..00000000 --- a/UNUSED/ap/pwmd/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=trunk_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://repo.or.cz/r/pwmd.git $REPOSITORY -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - #./autogen.sh - autoreconf - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man - make - make install DESTDIR=$PKG -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Password Manager Daemon) -$PRGNAM: -$PRGNAM: Password Manager Daemon is a daemon that serves data to application via a -$PRGNAM: socket. The data is stored in an encrypted XML file and the client must -$PRGNAM: provide a key when opening and saving a file. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://benkibbey.wordpress.com/pwmd/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/rb/SlackBuild b/UNUSED/ap/rb/SlackBuild deleted file mode 100755 index 2b256c9e..00000000 --- a/UNUSED/ap/rb/SlackBuild +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=noarch -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG$PREFIX/bin/ - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/thisredone/rb.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/bin/ -cp $REPOSITORY/rb $PKG$PREFIX/bin/rb -chmod 0755 $PKG$PREFIX/bin/rb - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp $REPOSITORY/LICENSE $REPOSITORY/README.md $PKG$PREFIX/doc/$PRGNAM/ - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Turns Ruby into a versatile command line utility) -$PRGNAM: -$PRGNAM: Replace most of the command line tools that you use to process -$PRGNAM: text inside of the terminal. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/thisredone/rb -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/regdel/SlackBuild b/UNUSED/ap/regdel/SlackBuild deleted file mode 100755 index 52176aab..00000000 --- a/UNUSED/ap/regdel/SlackBuild +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -DOCS="LICENSE README.rst AUTHORS.rst" - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -REPOSITORIES=/home/installs/SlackBuilds/repositories -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM} - -# mise en place -cd $TMP -[ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/guillaumechereau/regdel.git $REPOSITORIES/$PRGNAM -( cd $REPOSITORIES/$PRGNAM && git pull ) -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORIES/$PRGNAM/* $PKG$PREFIX/doc/$PRGNAM -mv $PKG$PREFIX/doc/$PRGNAM/$PRGNAM $PKG$PREFIX/bin/ - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Ncurses based interface to ledger) -$PRGNAM: -$PRGNAM: regdel is to ledger what tig is to git. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/guillaumechereau/regdel -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/sdcv/SlackBuild b/UNUSED/ap/sdcv/SlackBuild deleted file mode 100755 index a515a747..00000000 --- a/UNUSED/ap/sdcv/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=sdcv -ARCH=$(uname -m) -VERSION=svn$(date +%Y.%m.%d_%H.%M) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $PKG - -cd $TMP - -if [ ! -e $REPOSITORY ] ; then - svn co https://sdcv.svn.sourceforge.net/svnroot/sdcv/trunk $REPOSITORY -else - ( cd $REPOSITORY - svn update - ) -fi -cp -R $REPOSITORY sdcv-$VERSION -cd sdcv-$VERSION - -zcat $CWD/sdcv_x86_64.patch.gz | patch -p1 - -autoreconf -./configure \ - --libdir=/usr/lib$( [ $ARCH = "x86_64" ] && echo 64 ) \ - --mandir=/usr/man \ - --prefix=/usr - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/sdcv-$VERSION/ -cp $DOCS $PKG/usr/doc/sdcv-$VERSION/ - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -cd $PKG -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (Dictionaries search tool) -$PRGNAM: -$PRGNAM: You can find free (as in Freedom) dictionnaries at www.freedict.org -$PRGNAM: Vietnamese dictionaries available at http://cctv.sf.net -$PRGNAM: Others all over the Internet... -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION -$PRGNAM: -$PRGNAM: -$PRGNAM: for more informations. -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/simple-mtpfs/SlackBuild b/UNUSED/ap/simple-mtpfs/SlackBuild deleted file mode 100755 index bd34a078..00000000 --- a/UNUSED/ap/simple-mtpfs/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/phatina/simple-mtpfs.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -./autogen.sh -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man - -make -make install DESTDIR=$PKG - -# move doc/ to the appropriate location -mkdir -p $PKG$PREFIX/doc -cp AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG$PREFIX/doc - -# correction -cd $PKG -chown -R root:root * - -find $PKG$PREFIX/man -type f -exec gzip -9 {} \; - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Simple MTP fuse filesystem driver.) -$PRGNAM: -$PRGNAM: SIMPLE-MTPFS (Simple Media Transfer Protocol FileSystem) is a file -$PRGNAM: system for Linux (and other operating systems with a FUSE -$PRGNAM: implementation, such as Mac OS X or FreeBSD) capable of operating on -$PRGNAM: files on MTP devices attached via USB to local machine. On the local -$PRGNAM: computer where the SIMPLE-MTPFS is mounted, the implementation makes -$PRGNAM: use of the FUSE (Filesystem in Userspace) kernel module. The practical -$PRGNAM: effect of this is that the end user can seamlessly interact with MTP -$PRGNAM: device files. -$PRGNAM: https://github.com/phatina/simple-mtpfs/ -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/texi2html/SlackBuild b/UNUSED/ap/texi2html/SlackBuild deleted file mode 100755 index 58dda749..00000000 --- a/UNUSED/ap/texi2html/SlackBuild +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh -set -x - -PRGNAM=$(basename $(pwd)) -VERSION=1.64 - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - [ ! -e $PRGNAM-$VERSION ] \ - && wget -c http://www.mathematik.uni-kl.de/~obachman/Texi2html/Distrib/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure --prefix=$PREFIX --mandir=$PREFIX/man --infodir=$PREFIX/info -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1} -( cd $TMP/$PRGNAM-$VERSION - make install DESTDIR=$PKG -) - -# Cleaning -( cd $PKG - 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 - - find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; -find $PKG$PREFIX/info -name dir -exec rm {} \; - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - cat < install/slack-desc -$PRGNAM: $PRGNAM (a Perl script that converts Texinfo to HTML) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.mathematik.uni-kl.de/~obachman/Texi2html/ -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/ap/the_silver_searcher/SlackBuild b/UNUSED/ap/the_silver_searcher/SlackBuild deleted file mode 100755 index 1ba806f1..00000000 --- a/UNUSED/ap/the_silver_searcher/SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/ggreer/the_silver_searcher.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -aclocal -autoconf -autoheader -automake --add-missing -./configure \ - --prefix=/usr \ - --mandir=/usr/man - -make -make install DESTDIR=$PKG -# correction -cd $PKG -chown -R root:root * - -# move doc/ to the appropriate location -mkdir -p $PKG$PREFIX/doc -cp LICENSE NOTICE README.md $PKG$PREFIX/doc - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (An attempt to make something better than ack.) -$PRGNAM: -$PRGNAM: It searches code about 3–5Ă— faster than ack. -$PRGNAM: It ignores file patterns from your .gitignore and .hgignore. -$PRGNAM: If there are files in your source repo you don't want to search, -$PRGNAM: just add their patterns to a .agignore file. *cough* extern *cough* -$PRGNAM: The command name is 33% shorter than ack! -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/ggreer/the_silver_searcher -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/todo.txt-cli/SlackBuild b/UNUSED/ap/todo.txt-cli/SlackBuild deleted file mode 100755 index 22a3e26f..00000000 --- a/UNUSED/ap/todo.txt-cli/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-trunk_$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/ginatrapani/todo.txt-cli.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -make -mkdir -p $PKG$PREFIX/{bin/,doc/$PRGNAM/} -mv todo.sh $PKG$PREFIX/bin/ -mv * $PKG$PREFIX/doc/$PRGNAM/ - -# correction -cd $PKG -chown -R root:root * -chmod +x $PKG$PREFIX/bin/* - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (TODO.TXT Command Line Interface) -$PRGNAM: -$PRGNAM: A simple and extensible shell script for managing your todo.txt file. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://todotxt.com/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/uniconvertor/SlackBuild b/UNUSED/ap/uniconvertor/SlackBuild deleted file mode 100755 index c9948ce9..00000000 --- a/UNUSED/ap/uniconvertor/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=1.1.5 -BUILD=1 - - -ARCH=$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORIES=$HOME/projets/packages/repositories - -rm -fr $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $TMP - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c "http://sk1project.org/dc.php?target=$PRGNAM-$VERSION.tar.gz" -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - -cd $TMP/$PRGNAM-$VERSION -python setup.py install --root $PKG - -#mv $PKG/usr/share/man $PKG/usr - -mkdir -p $PKG/install -cat < $PKG/install -$PRGNAM: $PRGNAM (universal vector graphics translator) -$PRGNAM: -$PRGNAM: UniConvertor is a universal vector graphics translator. It is a command -$PRGNAM: line tool which uses sK1 object model to convert one format to another. -$PRGNAM: Development of the import/export modules for this program goes through -$PRGNAM: different stages, quality and feature coverage are different among formats. -$PRGNAM: UniConvetor is used in Inkscape and Scribus projects as external tool for -$PRGNAM: CorelDraw files importing. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/ap/weboob/SlackBuild b/UNUSED/ap/weboob/SlackBuild deleted file mode 100755 index e4ec1159..00000000 --- a/UNUSED/ap/weboob/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -BRANCH=${BRANCH:-stable} -VERSION=${BRANCH}_$(date +%Y.%m.%d_%H.%M) - -DOCS="AUTHORS COPYING ChangeLog INSTALL README" - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -REPOSITORIES=/home/installs/SlackBuilds/repositories -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone git://git.symlink.me/pub/weboob/$BRANCH.git $REPOSITORIES/${PRGNAM}-$BRANCH -else - ( cd $REPOSITORIES/${PRGNAM}-$BRANCH - git pull - ) -fi -cp -R $REPOSITORIES/${PRGNAM}-$BRANCH $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -# installation -python ./setup.py install --root=$PKG - -mv $PKG/usr/share/man $PKG/usr/ - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -# correction -cd $PKG -chown -R root:root * - -# Compress man pages -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do - ln -s $( readlink $i ).gz $i.gz ; rm $i - done -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (WEB Outside Of Browsers) -$PRGNAM: -$PRGNAM: Weboob is a collection of applications able to interact with websites, -$PRGNAM: without requiring the user to open them in a browser. It also provides -$PRGNAM: well-defined APIs to talk to websites lacking one. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://weboob.org/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/webrowse/SlackBuild b/UNUSED/ap/webrowse/SlackBuild deleted file mode 100755 index ac521ae8..00000000 --- a/UNUSED/ap/webrowse/SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh -set -x - -PRGNAM=webrowse -VERSION=1.7.0 - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "64") - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -[ ! -e $CWD/$PRGNAM-$VERSION.tgz ] \ - && wget -c http://www.cs.indiana.edu/~kinzler/$PRGNAM/$PRGNAM-$VERSION.tgz -( cd $TMP - tar xvf $CWD/$PRGNAM-$VERSION.tgz -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make PERL=$(which perl) -) - -# Installation -mkdir -p $PKG$PREFIX/{bin,man/man1} -( cd $TMP/$PRGNAM-$VERSION - make install install.man BINDIR=$PKG$PREFIX/bin MANDIR=$PKG$PREFIX/man/man1 -) - -# Cleaning -( cd $PKG - 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 - - find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < install/slack-desc -$PRGNAM: $PRGNAM (web browsing tools ) -$PRGNAM: -$PRGNAM: $PRGNAM is a tool for interfacing between a Netscape or Mozilla (or Mosaic) -$PRGNAM: web browser and the rest of a Unix/X11 environment, via the `-remote` option. -$PRGNAM: It can be used for convenient file or URL loading remote control, and for -$PRGNAM: textual reference HTML markup. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.cs.indiana.edu/~kinzler/webrowse/ -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/d/Dancer/SlackBuild b/UNUSED/d/Dancer/SlackBuild deleted file mode 100755 index 3801e3f1..00000000 --- a/UNUSED/d/Dancer/SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# variables - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp/ - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=git$(date +%Y.%m.%d_%H.%M) - -DOCS="AUTHORS MANIFEST examples/ CHANGES MANIFEST.SKIP README LICENSE TODO" -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -REPOSITORIES=/home/installs/SlackBuilds/repositories -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - mkdir -p $REPOSITORIES - ( cd $REPOSITORIES - git clone http://github.com/sukria/Dancer.git $PRGNAM - ) -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -# configuration -perl Makefile.PL - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG -mv $PKG$PREFIX/share/man $PKG$PREFIX/ -rm -fr $PKG$PREFIX/share/ - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (Perl Web 'sinatra-like' Web framework) -$PRGNAM: -$PRGNAM: The easiest way to write web applications in Perl. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -$PRGNAM: http://perldancer.org/ -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/Kivy/SlackBuild b/UNUSED/d/Kivy/SlackBuild deleted file mode 100755 index 3fcaeb6c..00000000 --- a/UNUSED/d/Kivy/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -# cleaning -rm -fr $PKG -rm -fr $PRGNAM-$VERSION -mkdir -p $TMP - -[ ! -e $REPOSITORY ] \ - && git clone http://github.com/kivy/kivy.git $REPOSITORY \ - || (cd $REPOSITORY; git pull) - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -python setup.py build -python setup.py install --root=$PKG -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R AUTHORS README COPYING doc/ $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (RAD library) -$PRGNAM: -$PRGNAM: Open source library for rapid development of applications -$PRGNAM: that make use of innovative user interfaces, such as multi-touch apps. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://kivy.org/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/clojure/SlackBuild b/UNUSED/d/clojure/SlackBuild deleted file mode 100755 index a2eefdf3..00000000 --- a/UNUSED/d/clojure/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh -set -x -e - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-1.4.0} -ARCH=${ARCH:-java} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} -PKG=$TMP/pkg-$PRGNAM -PREFIX=${PREFIX:-/usr} - -# cleaning -rm -fr $PKG - -# do we have the sources? -if [ ! -e $CWD/$PRGNAM-$VERSION.zip ] ; then - ( cd $CWD - wget -c http://repo1.maven.org/maven2/org/clojure/clojure/$VERSION/clojure-$VERSION.zip - ) -fi - -# unpacking -mkdir -p $PKG$PREFIX/libexec -( cd $PKG$PREFIX/libexec - unzip $CWD/${PRGNAM}-$VERSION.zip -) - -# compilation -( cd $PKG$PREFIX/libexec/$PRGNAM-$VERSION - ant -) - -# installation -mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM-$VERSION} -cat < $PKG$PREFIX/bin/$PRGNAM -#!/bin/sh -java -jar $PREFIX/libexec/$PRGNAM-$VERSION/clojure.jar \$@ -EOF -chmod +x $PKG$PREFIX/bin/$PRGNAM - -cd $PKG$PREFIX/libexec/$PRGNAM-$VERSION -mv doc/ *.html *.txt test/ $PKG$PREFIX/doc/$PRGNAM-$VERSION - -rm *.xml #.gitignore -rm -r src #classes - -rm $PRGNAM.jar -ln -s $PRGNAM-$VERSION.jar $PRGNAM.jar - # rm $PRGNAM-sources.jar - # ln -s $PRGNAM-sources-$VERSION.jar $PRGNAM-sources.jar - # rm $PRGNAM-slim.jar - # ln -s $PRGNAM-slim-$VERSION.jar $PRGNAM-slim.jar - -# packaging -cd $PKG -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (JVM targetting Lisp dialect) -$PRGNAM: -$PRGNAM: Clojure is a dynamic programming language that targets the Java Virtual -$PRGNAM: Machine (and the CLR ). It is designed to be a general-purpose language, -$PRGNAM: combining the approachability and interactive development of a scripting -$PRGNAM: language with an efficient and robust infrastructure for multithreaded -$PRGNAM: programming. -$PRGNAM: -$PRGNAM: see $PREFIX/doc/$PRGNAM-$VERSION -$PRGNAM: -$PRGNAM: http://clojure.org -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d - )-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/coffee-script/SlackBuild b/UNUSED/d/coffee-script/SlackBuild deleted file mode 100755 index 52857842..00000000 --- a/UNUSED/d/coffee-script/SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - -NUMJOBS=${NUMJOBS:-" -j2 "} - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -PKG=$TMP/pkg-$PRGNAM -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -cd $TMP -rm -rf $PRGNAM-$VERSION -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.$EXT ] ; then - tar xf $CWD/$PRGNAM-$VERSION.$EXT -else - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone http://github.com/jashkenas/coffee-script.git $REPOSITORIES/$PRGNAM - fi - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi - -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -sed -i "s|#{base}/lib/coffee-script|#{base}/lib$LIBDIRSUFFIX/coffee-script|g" Cakefile - -./bin/cake --prefix $PKG$PREFIX install - -( cd $PKG$PREFIX/bin - rm cake coffee - ln -s ../lib$(echo $ARCH | grep -o 64)/coffee-script/bin/coffee - ln -s ../lib$(echo $ARCH | grep -o 64)/coffee-script/bin/cake - -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Programming language) -$PRGNAM: -$PRGNAM: CoffeeScript is a little language that compiles into JavaScript. -$PRGNAM: Think of it as JavaScript's less ostentatious kid brother — the same genes, -$PRGNAM: roughly the same height, but a different sense of style. Apart from a -$PRGNAM: handful of bonus goodies, statements in CoffeeScript correspond one-to-one -$PRGNAM: with their equivalent in JavaScript, it's just another way of saying it. -$PRGNAM: -$PRGNAM: http://jashkenas.github.com/coffee-script/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/d/ctags/SlackBuild b/UNUSED/d/ctags/SlackBuild deleted file mode 100755 index 58e6bf41..00000000 --- a/UNUSED/d/ctags/SlackBuild +++ /dev/null @@ -1,156 +0,0 @@ -#! /bin/sh -# -# by: H4kTeUr - http://www.slackbuilds.net < h4kteur at slackbuilds dot net > -# Copyright 2007, 2008 H4kTeUr. All rights reserved. -# -# Redistribution and use of this software, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this software must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Latest ctags sourcecode is available at http://ctags.sourceforge.net - -set -e -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp} -PKG=${PKG:-$TMP/pkg-ctags} -OUT=${OUT:-$TMP/build} - -VERSION=${VERSION:-5.8} - -# target -ARCH=${ARCH:-$(uname -m)} -TARGET=${TARGET:-$(uname -m)} -BUILD=${BUILD:-1gwh} - -# set tarball download link -SOURCE=${SOURCE:-http://switch.dl.sourceforge.net/sourceforge/ctags/ctags-$VERSION.tar.gz} -ARCHIVE=$(basename $SOURCE) - -# sanity checks -if [ ! -d $TMP ]; then - mkdir -p $TMP -fi - -# download the tarball if it's not found -if [ ! -r $ARCHIVE ]; then - echo "Downloading $ARCHIVE..." - rm -f $ARCHIVE.part - wget -vc $SOURCE -O $ARCHIVE.part - mv $ARCHIVE.part $ARCHIVE -fi - -if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mcpu=i686" -elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2" -fi - -# cleanup -rm -rf $PKG -mkdir -p $PKG - -# extraction -cd $TMP -rm -rf ctags-$VERSION -tar -xvf $CWD/ctags-$VERSION.tar.gz -cd ctags-$VERSION - -# make sure ownerships and permissions are sane -chmod -R a-s,u+rw,go-w+r . - -# configure -CFLAGS=$SLKCFLAGS \ -CXXFLAGS=$SLKCFLAGS \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --build=$TARGET-slackware-linux - -# build -make -j3 - -# add the install directories -mkdir -p $PKG/usr/bin -mkdir -p $PKG/usr/man/man1 - -# install -install -m 755 ctags $PKG/usr/bin -install -m 644 ctags.1 $PKG/usr/man/man1 - -# strip binaries -echo "Stripping binaries..." -find $PKG -type f | xargs file | grep "LSB executable" | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || \ - echo "No binaries to strip..." - -# compress and link manpages, if any -echo "Compressing man pages..." -if [ -d $PKG/usr/man ]; then - find $PKG/usr/man -type f -name "*.?" -exec gzip -9 {} \; - for manpage in $(find $PKG/usr/man -type l) ; do - ln -s $(readlink $manpage).gz $manpage.gz - rm -f $manpage - done -fi - -# add a documentation directory -echo "Adding documentation package..." -mkdir -p $PKG/usr/doc/ctags-$VERSION -install -p -m 644 \ - COPYING FAQ INSTALL NEWS README MAINTAINERS ctags.html EXTENDING.html\ - $PKG/usr/doc/ctags-$VERSION - -# build the package -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -ctags: ctags (Generate tag files for source code) -ctags: -ctags: The ctags and etags programs (hereinafter collectively referred -ctags: to as ctags, except where distinguished) generate an index (or "tag") -ctags: file for a variety of language objects found in file(s). -ctags: This tag file allows these items to be quickly and easily -ctags: located by a text editor or other utility. A "tag" signifies -ctags: a language object for which an index entry is available -ctags: (or, alternatively, the index entry created for that object). -ctags: -ctags: -EOF - -cd $PKG - -chown -R root.root . -find . -perm 664 -exec chmod 644 {} \; -find . -perm 777 -exec chmod 755 {} \; -mkdir -p $OUT -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUT/ctags-$VERSION-$ARCH-$BUILD.tgz -rm -rf $PKG -rm -rf $TMP/ctags-$VERSION diff --git a/UNUSED/d/cutter/SlackBuild b/UNUSED/d/cutter/SlackBuild deleted file mode 100755 index 264a9d94..00000000 --- a/UNUSED/d/cutter/SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -cd $TMP -rm -fr $PRGNAM-$VERSION -rm -fr $PKG - -# Fetching sources -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/clear-code/cutter.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - -# Preparation -cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - - -# Configuration -[ ! -e configure ] && ./autogen.sh #autoreconf -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$LIBSUFFIX \ - --libexecdir=$PREFIX/libexec \ - --docdir=$PREFIX/doc/$PRGNAM - -# Building -cd $TMP/$PRGNAM-$VERSION -make libdir=$PREFIX/lib$LIBSUFFIX - -# Installation -make install DESTDIR=$PKG libdir=$PREFIX/lib$LIBSUFFIX - -# Cleaning -cd $PKG -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 - - find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - find $PKG$PREFIX/info -name "dir" -exec rm {} \; - find $PKG$PREFIX/info -type f -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Unit Testing Framework for C and C++) -$PRGNAM: -$PRGNAM: Cutter is a xUnit family Unit Testing Framework for C and C++. -$PRGNAM: -$PRGNAM: This is a list of features of Cutter: -$PRGNAM: * easy to write tests. -$PRGNAM: * outputs result with useful format for debugging. -$PRGNAM: * tests are built as shared libraries. -$PRGNAM: -$PRGNAM: http://cutter.sourceforge.net/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/elm-compiler/SlackBuild b/UNUSED/d/elm-compiler/SlackBuild deleted file mode 100755 index c15dfb8b..00000000 --- a/UNUSED/d/elm-compiler/SlackBuild +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=$(basename $CWD) -ARCH=${ARCH:-$(uname -m | grep -q 64 && echo "x86_64" || echo "i386")} -VERSION=${VERSION:-$(curl -s https://api.github.com/repos/elm/compiler/releases/latest | grep tag_name | grep -o "[0-9.]*")} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -rm -rf $PKG -mkdir -p $PKG/usr/bin $OUTPUT -cd $PKG/usr/bin/ - -[ ! -e $CWD/$PRGNAM.tar.gz ] && wget -c https://github.com/elm/compiler/releases/download/${VERSION}/binaries-for-linux.tar.gz -O $CWD/$PRGNAM.tar.gz -tar xvf $CWD/$PRGNAM.tar.gz - -# Make sure top-level perms are correct: -chmod 0755 $PKG/usr/bin/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler----------------------------------------------------| -$PRGNAM: $PRGNAM (A delightful language for reliable webapps.) -$PRGNAM: -$PRGNAM: Generate JavaScript with great performance and no runtime -$PRGNAM: exceptions. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: Homepage: https://elm-lang.org/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/fossil/SlackBuild b/UNUSED/d/fossil/SlackBuild deleted file mode 100755 index 85fee848..00000000 --- a/UNUSED/d/fossil/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# variables -VERSION=20100318142033 #$(date +"%Y%m%d") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG$PREFIX/doc/$PRGNAM - -# mise en place -( cd $CWD - [ ! -e $PRGNAM-src-$VERSION.tar.gz ] && wget -c http://www.$PRGNAM-scm.org/download/$PRGNAM-src-$VERSION.tar.gz -) - -( cd $TMP - tar xf $CWD/$PRGNAM-src-$VERSION.tar.gz - mv $PRGNAM-src-$VERSION $PRGNAM-$VERSION - cd $PRGNAM-$VERSION - - make - - mkdir -p $PKG$PREFIX/bin $PKG$PREFIX/doc/ - mv $PRGNAM $PKG$PREFIX/bin - cp -R www $PKG$PREFIX/doc/$PRGNAM -) - -# correction -( cd $PKGl - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (distributed software configuration management) -$PRGNAM: -$PRGNAM: Simple, high-reliability, distributed software configuration management -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.fossil-scm.org -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/gambit/SlackBuild b/UNUSED/d/gambit/SlackBuild deleted file mode 100755 index 4fdca952..00000000 --- a/UNUSED/d/gambit/SlackBuild +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=4.6.0 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO" - -SLCKFLAGS="-O2" -case $ARCH in - "x86_64") - SLCKFLAGS="$SLCKFLAGS -fPIC" - ;; - *) -esac - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - TMPVER=v$(echo $VERSION | tr . _) - [ ! -e $CWD/gambc-$TMPVER-devel.tgz ] && \ - wget -c http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-$TMPVER-devel.tgz \ - -O $CWD/gambc-$TMPVER-devel.tgz - tar xf $CWD/gambc-$TMPVER-devel.tgz - mv gambc-$TMPVER-devel $PRGNAM-$VERSION -) - -( cd $TMP/$PRGNAM-$VERSION - # configuration - CCPFLAGS=$SLCKFLAGS \ - CFLAGS=$SLCKFLAGS \ - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --docdir=$PREFIX/doc/$PRGNAM-$VERSION \ - --includedir=$PREFIX/include \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --enable-single-host \ - --enable-gcc-opts - - # compilation - make -j3 PREFIX=$PREFIX - # installation - make install DESTDIR=$PKG - # WTF .bat - for b in $PKG$PREFIX/bin/*.bat ; do - mv $b ${b%bat}sh - done -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && rm $PKG/usr/info/dir - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Scheme programming system) -$PRGNAM: -$PRGNAM: Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used -$PRGNAM: to build standalone executables. Because the compiler generates portable -$PRGNAM: C code it is fairly easy to port to any platform with a decent C compiler. -$PRGNAM: -$PRGNAM: The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/d/gem_home/SlackBuild b/UNUSED/d/gem_home/SlackBuild deleted file mode 100755 index 7b65d97f..00000000 --- a/UNUSED/d/gem_home/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# variables - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -VERSION=$(date +%Y.%m%d_%H.%M) - -ARCH='noarch' -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -mkdir -p $PKG - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/postmodern/gem_home $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM - -cp -R $REPOSITORY $TMP/$PRGNAM -cd $TMP/$PRGNAM - -# installation -make install PREFIX=$PKG$PREFIX DOC_DIR=$PKG$PREFIX/doc/$PRGNAM -mv $PKG$PREFIX/share/man $PKG$PREFIX/man - -# correction -mkdir -p $PKG$PREFIX/bin/ -( cd $PKG$PREFIX/bin/ - ln -s ../share/gem_home/gem_home.sh gem_home - chmod +x gem_home -) - -cd $PKG -chown -R root:root * - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A tool for changing your $GEM_HOME) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/postmodern/gem_home -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/gforth/SlackBuild b/UNUSED/d/gforth/SlackBuild deleted file mode 100755 index 920b4206..00000000 --- a/UNUSED/d/gforth/SlackBuild +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ - -PREFIX=/usr - -# Cleaning -cd $TMP -rm -fr $PRGNAM-$VERSION -rm -fr $PKG - -# Fetching sources -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone git://git.savannah.gnu.org/gforth.git $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - -# Preparation -cd $TMP/$PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Configuration -#sed -i "s|lib/|lib$LIBSUFFIX/|g" $(grep -l "lib/" * -r) -[ ! -e configure ] && ./autogen.sh #autoreconf -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$LIBSUFFIX \ - --libexecdir=$PREFIX/libexec - -# Building -make libdir=$PREFIX/lib$LIBSUFFIX -#make libdir=$PREFIX/lib$LIBSUFFIX doc -#make libdir=$PREFIX/lib$LIBSUFFIX more - -# Installation -#make install install.TAGS DESTDIR=$PKG -make install DESTDIR=$PKG - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -cp gforth.el* $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - -# mkdir -p $PKG$PREFIX/doc/$PRGNAM -# cp -R doc/*.{dvi,ps,pdf,txt} doc/gforth doc/vmgen AUTHORS BUGS COPYING* ChangeLog INSTALL* NEWS* README* TAGS ToDo $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -cd $PKG -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 - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; -find $PKG$PREFIX/info -name "dir" -exec rm {} \; -find $PKG$PREFIX/info -type f -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (programming language) -$PRGNAM: -$PRGNAM: Gforth is a fast and portable implementation of the ANS Forth language. -$PRGNAM: It works nicely with the Emacs editor, offers some nice features such as -$PRGNAM: input completion and history and a powerful locals facility, and it even -$PRGNAM: has (the beginnings of) a manual. Gforth employs traditional implementation -$PRGNAM: techniques: its inner interpreter is indirect or direct threaded. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.gnu.org/software/gforth -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/d/haskell-platform/README b/UNUSED/d/haskell-platform/README deleted file mode 100644 index d9913131..00000000 --- a/UNUSED/d/haskell-platform/README +++ /dev/null @@ -1,12 +0,0 @@ -The Haskell Platform is a comprehensive, robust development for programming -in Haskell, which not only makes it trivial to get up and running with a full -Haskell development environment, but also provides a comprehensive, standard -base for commercial and open source Haskell development that maximises -interoperability and stability of your code. - -This requires ghc, and hscolour is an optional requirement. - -This is intended to be installed on a system that does not already have any -haskell-related components (other than ghc & hscolour, of course) installed, -so for best results (and chance of success), you should remove any of those -before you try to build haskell-platform. diff --git a/UNUSED/d/haskell-platform/SlackBuild b/UNUSED/d/haskell-platform/SlackBuild deleted file mode 100755 index 2f1635de..00000000 --- a/UNUSED/d/haskell-platform/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# Slackware build script for The Haskell Platform -# -# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com) -# Public domain - -PRGNAM=haskell-platform -VERSION=${VERSION:-2013.2.0.0} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -if [ -z "$ARCH" ]; then - case "$(uname -m)" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$(uname -m) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ ---prefix=/usr \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --libdir=/usr/lib${LIBDIRSUFFIX} - -grep -v \ GHC_PACKAGE_PATH\= scripts/build.sh > scripts/build.sh.new -mv scripts/build.sh.new scripts/build.sh -chmod 755 scripts/build.sh -make - -# unsupport DESTDIR, so work around a bit -patch -p1 < $CWD/not_update_pkg_db.diff -sed -i "s:\(\./Setup copy\):\1 --destdir=$PKG:" scripts/install.sh -make install - -# collecting config files -PKGCONFDIR=$PKG/usr/lib${LIBDIRSUFFIX}/ghc-${GHC_VERSION}/package.conf.d -mkdir -p $PKGCONFDIR -for pkg in $(cat packages/platform.packages); do - pkg_conf=packages/${pkg}/${pkg}.conf - if [ -f $pkg_conf ]; then - mv $pkg_conf $PKGCONFDIR - fi -done - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc -if [ -d $PKG/usr/share/doc ]; then - mv $PKG/usr/share/doc/* $PKG/usr/doc/ - rmdir $PKG/usr/share/doc -fi -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -echo "$GHC_PKG recache" > $PKG/install/doinst.sh - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/UNUSED/d/haskell-platform/haskell-platform.info b/UNUSED/d/haskell-platform/haskell-platform.info deleted file mode 100644 index d16c342d..00000000 --- a/UNUSED/d/haskell-platform/haskell-platform.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="haskell-platform" -VERSION="2012.2.0.0" -HOMEPAGE="http://hackage.haskell.org/platform/" -DOWNLOAD="http://lambda.haskell.org/platform/download/2012.2.0.0/haskell-platform-2012.2.0.0.tar.gz" -MD5SUM="db09bc4279c0ef9e0beb5462b793413b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Christoph Willing" -EMAIL="c.willing@uq.edu.au" -APPROVED="rworkman" diff --git a/UNUSED/d/haskell-platform/not_update_pkg_db.diff b/UNUSED/d/haskell-platform/not_update_pkg_db.diff deleted file mode 100644 index 968e32e4..00000000 --- a/UNUSED/d/haskell-platform/not_update_pkg_db.diff +++ /dev/null @@ -1,28 +0,0 @@ ---- ./scripts/install.sh.orig 2010-12-01 09:49:32.169509005 +0800 -+++ ./scripts/install.sh 2010-12-01 09:58:02.551384509 +0800 -@@ -27,15 +27,16 @@ - ./Setup register ${VERBOSE} --gen-pkg-config="${PKG}.conf" \ - || die "Generating the registration information for the package ${PKG} failed" - -- if [ -f ${PKG}.conf ]; then -- if test "${USER_INSTALL}" = "YES"; then -- GHC_PKG_DB="--user" -- else -- GHC_PKG_DB="--global" -- fi -- ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \ -- || die "Registering the package ${PKG} failed" -- fi -+# Uncomment to allow actually registering packages at building time -+# if [ -f ${PKG}.conf ]; then -+# if test "${USER_INSTALL}" = "YES"; then -+# GHC_PKG_DB="--user" -+# else -+# GHC_PKG_DB="--global" -+# fi -+# ${GHC_PKG} update ${GHC_PKG_DB} "${PKG}.conf" \ -+# || die "Registering the package ${PKG} failed" -+# fi - - cd ../.. - } diff --git a/UNUSED/d/haskell-platform/slack-desc b/UNUSED/d/haskell-platform/slack-desc deleted file mode 100644 index 8480dc36..00000000 --- a/UNUSED/d/haskell-platform/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -haskell-platform: haskell-platform (The Haskell Platform) -haskell-platform: -haskell-platform: The Haskell Platform is a comprehensive, robust development for -haskell-platform: programming in Haskell, which not only makes it trivial to get up -haskell-platform: and running with a full Haskell development environment, but also -haskell-platform: provides a comprehensive, standard base for both commercial and -haskell-platform: open source Haskell development that maximises interoperability -haskell-platform: and stability of your code. -haskell-platform: -haskell-platform: Homepage: http://hackage.haskell.org/platform/ -haskell-platform: diff --git a/UNUSED/d/jsl/SlackBuild b/UNUSED/d/jsl/SlackBuild deleted file mode 100755 index 6e5643dc..00000000 --- a/UNUSED/d/jsl/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BRANCH=trunk -VERSION=$BRANCH$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - svn update - ) - else - svn co https://javascriptlint.svn.sourceforge.net/svnroot/javascriptlint/$BRANCH $PRGNAM - fi -) - -mkdir -p $TMP -( cd $TMP - rm -fr $PRGNAM-$VERSION && cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION - ( cd $PRGNAM-$VERSION - python setup.py build - python setup.py install --root=$PKG - ) -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Javascript Lint) -$PRGNAM: -$PRGNAM: With JavaScript Lint, you can check all your JavaScript source code for common -$PRGNAM: mistakes without actually running the script or opening the web page. -$PRGNAM: -$PRGNAM: JavaScript Lint holds an advantage over competing lints because it is based on -$PRGNAM: the JavaScript engine for the Firefox browser. This provides a robust framework -$PRGNAM: that can not only check JavaScript syntax but also examine the coding techniques -$PRGNAM: used in the script and warn against questionable practices. -$PRGNAM: -$PRGNAM: http://www.javascriptlint.com -EOF - - chown -R root:root * - - [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - - ( cd $PKG - 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 - ) - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/d/löve/SlackBuild b/UNUSED/d/löve/SlackBuild deleted file mode 100755 index 5371db6a..00000000 --- a/UNUSED/d/löve/SlackBuild +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/sh -set -x - -PRGNAM=love -VERSION=$(date +%Y.%m.%d_%H.%M) #0.7.0 -RELEASE_ID=20091214-301312c82b00 - - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - if [ -e $CWD/$PRGNAM-$VERSION-linux-src.tar.?z* ]; then - tar xvf $CWD/$PRGNAM-$VERSION-linux-src.tar.?z* - find . -type d -name "$PRGNAM-*-*" -exec mv {} $PRGNAM-$VERSION \; - else - [ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ]; then - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) - else - hg clone http://bitbucket.org/rude/love $REPOSITORIES/$PRGNAM - fi - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - fi -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - [ ! -e ./configure ] && ./platform/unix/automagic - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib64 -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1} -( cd $TMP/$PRGNAM-$VERSION - make install DESTDIR=$PKG - # cleaning empty directories - rm -fr $PKG$PREFIX/man $PKG$PREFIX/lib64 -) - -# Cleaning -( cd $PKG - 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 - - find ./man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < install/slack-desc -$PRGNAM: $PRGNAM (lua 2D game engine) -$PRGNAM: -$PRGNAM: LĂ–VE is an unquestionably awesome 2D game engine, which allows rapid game -$PRGNAM: development and prototyping in Lua. -$PRGNAM: -$PRGNAM: Requires a lot of libraries: mpg123-1.x, OpenAL, libmodplug, DevIL, PhysicsFS -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://love2d.org/ -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/d/ninja/SlackBuild b/UNUSED/d/ninja/SlackBuild deleted file mode 100755 index b96e0b31..00000000 --- a/UNUSED/d/ninja/SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-x86_64} -BUILD=${BUILD:-1gwh} - -NUMJOBS=${NUMJOBS:-" -j4 "} - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -cd $TMP -rm -rf $PRGNAM-$VERSION -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.$EXT ] ; then - tar xf $CWD/$PRGNAM-$VERSION.$EXT -else - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES - git clone http://github.com/martine/ninja.git $PRGNAM - ) ; - fi - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi - -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -./bootstrap.py - -mkdir -p $PKG$PREFIX/bin -cp ninja $PKG$PREFIX/bin - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - COPYING HACKING.md README doc/ misc/ \ - $PKG/usr/doc/$PRGNAM-$VERSION - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Ninja is a small build system with a focus on speed.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://martine.github.com/ninja/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/UNUSED/d/node/SlackBuild b/UNUSED/d/node/SlackBuild deleted file mode 100755 index 697a2f72..00000000 --- a/UNUSED/d/node/SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-x86_64} -BUILD=${BUILD:-1gwh} - -NUMJOBS=${NUMJOBS:-" -j4 "} - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -cd $TMP -rm -rf $PRGNAM-$VERSION -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.$EXT ] ; then - tar xf $CWD/$PRGNAM-$VERSION.$EXT -else - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES - git clone http://github.com/joyent/node.git $PRGNAM - ) ; - fi - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi - -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -echo "$ARCH" | grep -q "64" && sed -i 's|${PREFIX}/lib|${PREFIX}/lib64|g' wscript tools/wafadmin/Tools/node_addon.py - -./configure configure \ - --prefix=$PREFIX \ - --ninja - -make $NUMJOBS PREFIX=$PREFIX - -#sed -i "s|/usr|$PKG/usr|g" config.gypi - -make install DESTDIR=$PKG -mv $PKG$PREFIX/share/man $PKG$PREFIX -rm -fr $PKG$PREFIX/share - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING HACKING INSTALL LICENSE NEWS README* docs/Wilber* \ - $PKG/usr/doc/$PRGNAM-$VERSION - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Evented I/O for V8 javascript.) -$PRGNAM: -$PRGNAM: Node's goal is to provide an easy way to build scalable network programs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://nodejs.org/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/UNUSED/d/nodebox-gl/SlackBuild b/UNUSED/d/nodebox-gl/SlackBuild deleted file mode 100755 index e15c182e..00000000 --- a/UNUSED/d/nodebox-gl/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# variables -VERSION=1.5 -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -PREFIX=/usr -PYTHON_SITE_PACKAGES=$PREFIX/lib$(echo $ARCH | grep -o 64)/python$(python --version 2>&1 | grep -o "[0-9]\.[0-9]")/site-packages - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG$PYTHON_SITE_PACKAGES $PKG$PREFIX/doc/$PRGNAM - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.zip ] && wget -c http://www.cityinabottle.org/media/download/$PRGNAM-$VERSION.zip -O $CWD/$PRGNAM-$VERSION.zip - -unzip $CWD/$PRGNAM-$VERSION.zip -( cd $TMP/$PRGNAM-$VERSION - cp -R examples $PKG$PREFIX/doc/$PRGNAM - ( cd nodebox/ext - python setup.py build - ) - echo $ARCH | grep -q "^i.86$" && ( cd nodebox/ext/psyco/src ; python setup.py build ) - cp -R nodebox $PKG$PYTHON_SITE_PACKAGES -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (2D animation library for Python) -$PRGNAM: -$PRGNAM: NodeBox for OpenGL is a free, cross-platform library for generating -$PRGNAM: 2D animations with Python programming code. It is built on Pyglet -$PRGNAM: and adopts the drawing API from NodeBox for Mac OS X -$PRGNAM: (http://nodebox.net). It has built-in support for paths, layers, -$PRGNAM: motion tweening, hardware-accelerated image effects, simple physics -$PRGNAM: and interactivity. -$PRGNAM: -$PRGNAM: http://www.cityinabottle.org/nodebox/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/nqp/SlackBuild b/UNUSED/d/nqp/SlackBuild deleted file mode 100755 index fd0ea836..00000000 --- a/UNUSED/d/nqp/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BRANCH=trunk -VERSION=$BRANCH$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/perl6/nqp.git nqp - fi -) - -mkdir -p $TMP -( cd $TMP - rm -fr $PRGNAM-$VERSION && cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION - ( cd $PRGNAM-$VERSION - perl Configure.pl \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info - make - make DESTDIR=$PKG install - mkdir -p $PKG/$PREFIX/doc/ - ( cd $PKG/$PREFIX/doc - ln -s ../share/doc/parrot $PRGNAM-$VERSION - ) - ) -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Not Quite Perl) -$PRGNAM: -$PRGNAM: a lightweight Perl 6-like environment for virtual machines. The key feature -$PRGNAM: of NQP is that it's designed to be a very small environment (as compared with, -$PRGNAM: say, perl6 or Rakudo) and is focused on being a high-level way to create -$PRGNAM: compilers and libraries for virtual machines (such as the Parrot Virtual -$PRGNAM: Machine [1]). Unlike a full-fledged implementation of Perl 6, NQP strives to -$PRGNAM: have as small a runtime footprint as it can, while still providing a Perl 6 -$PRGNAM: object model and regular expression engine for the virtual machine. -$PRGNAM: -$PRGNAM: https://github.com/perl6/nqp -EOF - - chown -R root:root * - - [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - - ( cd $PKG - 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 - ) - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/d/omnisharp-mono/SlackBuild b/UNUSED/d/omnisharp-mono/SlackBuild deleted file mode 100755 index 7c8588e4..00000000 --- a/UNUSED/d/omnisharp-mono/SlackBuild +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh - -# variables - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -VERSION=${VERSION:-$(curl -s https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases/latest | grep tag_name | grep -o "v[0-9.]*" | tr -d v)} - -ARCH='mono' -BUILD=1 - -mkdir -p $PKG - -# mise en place -[ ! -e $CWD/omnisharp-mono-${VERSION}.tar.gz ] && wget -c -O $CWD/omnisharp-mono-${VERSION}.tar.gz https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v${VERSION}/omnisharp-mono.tar.gz - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -# installation -mkdir -p $PKG/opt/$PRGNAM/ -( cd $PKG/opt/$PRGNAM/ - tar xvf $CWD/omnisharp-mono-${VERSION}.tar.gz -) - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM ( OmniSharp based on roslyn workspaces) -$PRGNAM: -$PRGNAM: OmniSharp-Roslyn is a .NET development platform based on Roslyn workspaces. -$PRGNAM: It provides project dependencies and language syntax to various IDE and -$PRGNAM: plugins. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/OmniSharp/omnisharp-roslyn -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/parrot/SlackBuild b/UNUSED/d/parrot/SlackBuild deleted file mode 100755 index 2b761f29..00000000 --- a/UNUSED/d/parrot/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BRANCH=trunk -VERSION=$BRANCH$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/parrot/parrot.git parrot - fi -) - -mkdir -p $TMP -( cd $TMP - rm -fr $PRGNAM-$VERSION && cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION - ( cd $PRGNAM-$VERSION - perl Configure.pl \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info - make - make DESTDIR=$PKG install - mkdir -p $PKG/$PREFIX/doc/ - ( cd $PKG/$PREFIX/doc - ln -s ../share/doc/parrot $PRGNAM-$VERSION - ) - ) -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Virtual Machine) -$PRGNAM: -$PRGNAM: Parrot is a virtual machine designed to efficiently compile and execute -$PRGNAM: bytecode for dynamic languages. Parrot currently hosts a variety of -$PRGNAM: language implementations in various stages of completion, including Tcl, -$PRGNAM: Javascript, Ruby, Lua, Scheme, PHP, Python, Perl 6, APL, and a .NET -$PRGNAM: bytecode translator. Parrot is not about parrots, though we are rather -$PRGNAM: fond of them for obvious reasons. -$PRGNAM: -$PRGNAM: http://parrot.org/ -$PRGNAM: -EOF - - chown -R root:root * - - [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - - ( cd $PKG - 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 - ) - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/d/phantomjs/SlackBuild b/UNUSED/d/phantomjs/SlackBuild deleted file mode 100755 index 154f7285..00000000 --- a/UNUSED/d/phantomjs/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -TAG=gwh -TMP=${TMP:-/tmp/gwh} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -PREFIX=/usr - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT - -cd $TMP -rm -rf $PRGNAM-$VERSION -if [ ! -e $REPOSITORY ]; then - git clone http://github.com/ariya/phantomjs.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -#set the real version -#VERSION=$(git rev-parse HEAD) - -# launching tests hangs, so we don't run them -.- -qmake -make - -mkdir -p $PKG$PREFIX/bin -cp bin/* $PKG$PREFIX/bin - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a ChangeLog LICENSE.BSD README.md examples $PKG/usr/doc/$PRGNAM - -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (minimalistic headless WebKit-based JavaScript-driven tool) -$PRGNAM: -$PRGNAM: PhantomJS is a minimalistic, headless, WebKit-based, JavaScript-driven tool. -$PRGNAM: -$PRGNAM: It has native support for different web technologies: DOM handling, -$PRGNAM: CSS selector, JSON, Canvas, SVG, and of course JavaScript. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/phantomjs/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/racket/SlackBuild b/UNUSED/d/racket/SlackBuild deleted file mode 100755 index f4b1c842..00000000 --- a/UNUSED/d/racket/SlackBuild +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:=5.3.5 } - -BUILD=${BUILD:=1} - -ARCH=${ARCH:=$(uname -m)} -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=${TAG:=gwh} -OUTPUT=${OUTPUT:=/tmp} -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM - -PREFIX=${PREFIX:=/usr} - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION $PKG -mkdir -p $TMP -cd $TMP - -# Fetching sources -[ ! -e $CWD/$PRGNAM-$VERSION-src-unix.tgz ] && wget -c http://download.racket-lang.org/installers/$VERSION/$PRGNAM/$PRGNAM-$VERSION-src-unix.tgz -O $CWD/$PRGNAM-$VERSION-src-unix.tgz - -tar xvf $CWD/$PRGNAM-$VERSION-src-unix.tgz - -# Preparation -cd $PRGNAM-$VERSION -chown -R root:root . - -# Configuration -cd src -sed -i "s|lib/|lib$LIBSUFFIX/|g" Makefile.in -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$LIBSUFFIX - -# Building -make - -# Installation -make install install.TAGS DESTDIR=$PKG - -# Cleaning -cd $PKG -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 - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; -find $PKG$PREFIX/info -name "dir" -exec rm {} \; -find $PKG$PREFIX/info -type f -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (programming language) -$PRGNAM: -$PRGNAM: Racket is a programming language. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://racket-lang.org/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/raduko/SlackBuild b/UNUSED/d/raduko/SlackBuild deleted file mode 100755 index c55d0ee1..00000000 --- a/UNUSED/d/raduko/SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG -mkdir -p $TMP $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/rakudo/rakudo.git $REPOSITORIES/$PRGNAM - fi -) - -( cd $TMP - rm -fr $PRGNAM-$VERSION && cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION - ( cd $PRGNAM-$VERSION - perl Configure.pl \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info - make - make DESTDIR=$PKG install - ) -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Implementation of Perl6) -$PRGNAM: -$PRGNAM: Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://perlcabal.org/syn/ -$PRGNAM: -$PRGNAM: http://raduko.org/ -$PRGNAM: -EOF - - chown -R root:root * - - [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - - ( cd $PKG - 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 - ) - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/d/redis/SlackBuild b/UNUSED/d/redis/SlackBuild deleted file mode 100755 index dfeb8f67..00000000 --- a/UNUSED/d/redis/SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -TAG=gwh -TMP=${TMP:-/tmp/gwh} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -PREFIX=/usr - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT - -cd $TMP -rm -rf $PRGNAM-$VERSION -if [ ! -e $REPOSITORY ]; then - git clone http://github.com/antirez/redis.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -#set the real version -#VERSION=$(git rev-parse HEAD) - -# launching tests hangs, so we don't run them -.- -make PREFIX=$PREFIX - -mkdir -p $PKG$PREFIX/bin -make install PREFIX=$PKG$PREFIX - -mkdir -p $PKG/etc/rc.d/ -#install -D -m 644 redis.conf $PKG/etc/redis.conf.new -install -D -m 644 $CWD/redis.conf $PKG/etc/redis.conf.new -install -D -m 755 $CWD/rc.redis $PKG/etc/rc.d/rc.redis.new - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a 00-RELEASENOTES BUGS CONTRIBUTING COPYING Changelog INSTALL \ - README TODO doc/ design-documents/ utils/ \ - $PKG/usr/doc/$PRGNAM - -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -config() { - NEW="\$1" - OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r \$OLD ]; then - mv \$NEW \$OLD - elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then # toss\ - the redundant copy - rm \$NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -config etc/redis.conf.new -config etc/rc.d/rc.redis.new -EOF - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (key-value store database) -$PRGNAM: -$PRGNAM: Redis is an extremely fast and powerful key-value store database and server -$PRGNAM: implemented in ANSI C. Redis offers many different ways to do one -$PRGNAM: straightforward thing: store a value ("antirez") to a key ("redis"). -$PRGNAM: While the format of keys must always be simple strings, the power is with -$PRGNAM: the values. -$PRGNAM: -$PRGNAM: http://redis.io -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/redis/rc.redis b/UNUSED/d/redis/rc.redis deleted file mode 100644 index adf276eb..00000000 --- a/UNUSED/d/redis/rc.redis +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -# Important notice! -# This assume the following non-standard options: -# daemonize yes -# logfile /var/log/redis.log - -DEAMON=redis-server - -CONF=/etc/redis.conf -PIDFILE=/var/run/redis.pid - -case $1 in - "start") - if [ -e $PIDFILE ]; then - echo "$DEAMON already running ($(cat $PIDFILE))" - else - $DEAMON $CONF - fi - ;; - "stop") - if [ -e $PIDFILE ]; then - kill $(cat $PIDFILE) - rm $PIDFILE - else - echo "$DEAMON not running" - fi - ;; - "restart") - $0 stop - $0 start - ;; - *) - ;; -esac diff --git a/UNUSED/d/redis/redis.conf b/UNUSED/d/redis/redis.conf deleted file mode 100644 index d517e8ef..00000000 --- a/UNUSED/d/redis/redis.conf +++ /dev/null @@ -1,370 +0,0 @@ -# Redis configuration file example - -# Note on units: when memory size is needed, it is possible to specifiy -# it in the usual form of 1k 5GB 4M and so forth: -# -# 1k => 1000 bytes -# 1kb => 1024 bytes -# 1m => 1000000 bytes -# 1mb => 1024*1024 bytes -# 1g => 1000000000 bytes -# 1gb => 1024*1024*1024 bytes -# -# units are case insensitive so 1GB 1Gb 1gB are all the same. - -# By default Redis does not run as a daemon. Use 'yes' if you need it. -# Note that Redis will write a pid file in /var/run/redis.pid when daemonized. -daemonize yes - -# When running daemonized, Redis writes a pid file in /var/run/redis.pid by -# default. You can specify a custom pid file location here. -pidfile /var/run/redis.pid - -# Accept connections on the specified port, default is 6379. -port 6379 - -# If you want you can bind a single interface, if the bind option is not -# specified all the interfaces will listen for incoming connections. -# -# bind 127.0.0.1 - -# Specify the path for the unix socket that will be used to listen for -# incoming connections. There is no default, so Redis will not listen -# on a unix socket when not specified. -# -# unixsocket /tmp/redis.sock - -# Close the connection after a client is idle for N seconds (0 to disable) -timeout 300 - -# Set server verbosity to 'debug' -# it can be one of: -# debug (a lot of information, useful for development/testing) -# verbose (many rarely useful info, but not a mess like the debug level) -# notice (moderately verbose, what you want in production probably) -# warning (only very important / critical messages are logged) -loglevel notice - -# Specify the log file name. Also 'stdout' can be used to force -# Redis to log on the standard output. Note that if you use standard -# output for logging but daemonize, logs will be sent to /dev/null -logfile /var/log/redis.log - -# To enable logging to the system logger, just set 'syslog-enabled' to yes, -# and optionally update the other syslog parameters to suit your needs. -# syslog-enabled no - -# Specify the syslog identity. -# syslog-ident redis - -# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7. -# syslog-facility local0 - -# Set the number of databases. The default database is DB 0, you can select -# a different one on a per-connection basis using SELECT where -# dbid is a number between 0 and 'databases'-1 -databases 16 - -################################ SNAPSHOTTING ################################# -# -# Save the DB on disk: -# -# save -# -# Will save the DB if both the given number of seconds and the given -# number of write operations against the DB occurred. -# -# In the example below the behaviour will be to save: -# after 900 sec (15 min) if at least 1 key changed -# after 300 sec (5 min) if at least 10 keys changed -# after 60 sec if at least 10000 keys changed -# -# Note: you can disable saving at all commenting all the "save" lines. - -save 900 1 -save 300 10 -save 60 10000 - -# Compress string objects using LZF when dump .rdb databases? -# For default that's set to 'yes' as it's almost always a win. -# If you want to save some CPU in the saving child set it to 'no' but -# the dataset will likely be bigger if you have compressible values or keys. -rdbcompression yes - -# The filename where to dump the DB -dbfilename dump.rdb - -# The working directory. -# -# The DB will be written inside this directory, with the filename specified -# above using the 'dbfilename' configuration directive. -# -# Also the Append Only File will be created inside this directory. -# -# Note that you must specify a directory here, not a file name. -dir ./ - -################################# REPLICATION ################################# - -# Master-Slave replication. Use slaveof to make a Redis instance a copy of -# another Redis server. Note that the configuration is local to the slave -# so for example it is possible to configure the slave to save the DB with a -# different interval, or to listen to another port, and so on. -# -# slaveof - -# If the master is password protected (using the "requirepass" configuration -# directive below) it is possible to tell the slave to authenticate before -# starting the replication synchronization process, otherwise the master will -# refuse the slave request. -# -# masterauth - -# When a slave lost the connection with the master, or when the replication -# is still in progress, the slave can act in two different ways: -# -# 1) if slave-serve-stale-data is set to 'yes' (the default) the slave will -# still reply to client requests, possibly with out of data data, or the -# data set may just be empty if this is the first synchronization. -# -# 2) if slave-serve-stale data is set to 'no' the slave will reply with -# an error "SYNC with master in progress" to all the kind of commands -# but to INFO and SLAVEOF. -# -slave-serve-stale-data yes - -################################## SECURITY ################################### - -# Require clients to issue AUTH before processing any other -# commands. This might be useful in environments in which you do not trust -# others with access to the host running redis-server. -# -# This should stay commented out for backward compatibility and because most -# people do not need auth (e.g. they run their own servers). -# -# Warning: since Redis is pretty fast an outside user can try up to -# 150k passwords per second against a good box. This means that you should -# use a very strong password otherwise it will be very easy to break. -# -# requirepass foobared - -# Command renaming. -# -# It is possilbe to change the name of dangerous commands in a shared -# environment. For instance the CONFIG command may be renamed into something -# of hard to guess so that it will be still available for internal-use -# tools but not available for general clients. -# -# Example: -# -# rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52 -# -# It is also possilbe to completely kill a command renaming it into -# an empty string: -# -# rename-command CONFIG "" - -################################### LIMITS #################################### - -# Set the max number of connected clients at the same time. By default there -# is no limit, and it's up to the number of file descriptors the Redis process -# is able to open. The special value '0' means no limits. -# Once the limit is reached Redis will close all the new connections sending -# an error 'max number of clients reached'. -# -# maxclients 128 - -# Don't use more memory than the specified amount of bytes. -# When the memory limit is reached Redis will try to remove keys with an -# EXPIRE set. It will try to start freeing keys that are going to expire -# in little time and preserve keys with a longer time to live. -# Redis will also try to remove objects from free lists if possible. -# -# If all this fails, Redis will start to reply with errors to commands -# that will use more memory, like SET, LPUSH, and so on, and will continue -# to reply to most read-only commands like GET. -# -# WARNING: maxmemory can be a good idea mainly if you want to use Redis as a -# 'state' server or cache, not as a real DB. When Redis is used as a real -# database the memory usage will grow over the weeks, it will be obvious if -# it is going to use too much memory in the long run, and you'll have the time -# to upgrade. With maxmemory after the limit is reached you'll start to get -# errors for write operations, and this may even lead to DB inconsistency. -# -# maxmemory - -# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory -# is reached? You can select among five behavior: -# -# volatile-lru -> remove the key with an expire set using an LRU algorithm -# allkeys-lru -> remove any key accordingly to the LRU algorithm -# volatile-random -> remove a random key with an expire set -# allkeys->random -> remove a random key, any key -# volatile-ttl -> remove the key with the nearest expire time (minor TTL) -# noeviction -> don't expire at all, just return an error on write operations -# -# Note: with all the kind of policies, Redis will return an error on write -# operations, when there are not suitable keys for eviction. -# -# At the date of writing this commands are: set setnx setex append -# incr decr rpush lpush rpushx lpushx linsert lset rpoplpush sadd -# sinter sinterstore sunion sunionstore sdiff sdiffstore zadd zincrby -# zunionstore zinterstore hset hsetnx hmset hincrby incrby decrby -# getset mset msetnx exec sort -# -# The default is: -# -# maxmemory-policy volatile-lru - -# LRU and minimal TTL algorithms are not precise algorithms but approximated -# algorithms (in order to save memory), so you can select as well the sample -# size to check. For instance for default Redis will check three keys and -# pick the one that was used less recently, you can change the sample size -# using the following configuration directive. -# -# maxmemory-samples 3 - -############################## APPEND ONLY MODE ############################### - -# By default Redis asynchronously dumps the dataset on disk. If you can live -# with the idea that the latest records will be lost if something like a crash -# happens this is the preferred way to run Redis. If instead you care a lot -# about your data and don't want to that a single record can get lost you should -# enable the append only mode: when this mode is enabled Redis will append -# every write operation received in the file appendonly.aof. This file will -# be read on startup in order to rebuild the full dataset in memory. -# -# Note that you can have both the async dumps and the append only file if you -# like (you have to comment the "save" statements above to disable the dumps). -# Still if append only mode is enabled Redis will load the data from the -# log file at startup ignoring the dump.rdb file. -# -# IMPORTANT: Check the BGREWRITEAOF to check how to rewrite the append -# log file in background when it gets too big. - -appendonly no - -# The name of the append only file (default: "appendonly.aof") -# appendfilename appendonly.aof - -# The fsync() call tells the Operating System to actually write data on disk -# instead to wait for more data in the output buffer. Some OS will really flush -# data on disk, some other OS will just try to do it ASAP. -# -# Redis supports three different modes: -# -# no: don't fsync, just let the OS flush the data when it wants. Faster. -# always: fsync after every write to the append only log . Slow, Safest. -# everysec: fsync only if one second passed since the last fsync. Compromise. -# -# The default is "everysec" that's usually the right compromise between -# speed and data safety. It's up to you to understand if you can relax this to -# "no" that will will let the operating system flush the output buffer when -# it wants, for better performances (but if you can live with the idea of -# some data loss consider the default persistence mode that's snapshotting), -# or on the contrary, use "always" that's very slow but a bit safer than -# everysec. -# -# If unsure, use "everysec". - -# appendfsync always -appendfsync everysec -# appendfsync no - -# When the AOF fsync policy is set to always or everysec, and a background -# saving process (a background save or AOF log background rewriting) is -# performing a lot of I/O against the disk, in some Linux configurations -# Redis may block too long on the fsync() call. Note that there is no fix for -# this currently, as even performing fsync in a different thread will block -# our synchronous write(2) call. -# -# In order to mitigate this problem it's possible to use the following option -# that will prevent fsync() from being called in the main process while a -# BGSAVE or BGREWRITEAOF is in progress. -# -# This means that while another child is saving the durability of Redis is -# the same as "appendfsync none", that in pratical terms means that it is -# possible to lost up to 30 seconds of log in the worst scenario (with the -# default Linux settings). -# -# If you have latency problems turn this to "yes". Otherwise leave it as -# "no" that is the safest pick from the point of view of durability. -no-appendfsync-on-rewrite no - -#################################### DISK STORE ############################### - -# When disk store is active Redis works as an on-disk database, where memory -# is only used as a object cache. -# -# This mode is good for datasets that are bigger than memory, and in general -# when you want to trade speed for: -# -# - less memory used -# - immediate server restart -# - per key durability, without need for backgrond savig -# -# On the other hand, with disk store enabled MULTI/EXEC are no longer -# transactional from the point of view of the persistence on disk, that is, -# Redis transactions will still guarantee that commands are either processed -# all or nothing, but there is no guarantee that all the keys are flushed -# on disk in an atomic way. -# -# Of course with disk store enabled Redis is not as fast as it is when -# working with just the memory back end. - -diskstore-enabled no -diskstore-path redis.ds -cache-max-memory 0 -cache-flush-delay 0 - -############################### ADVANCED CONFIG ############################### - -# Hashes are encoded in a special way (much more memory efficient) when they -# have at max a given numer of elements, and the biggest element does not -# exceed a given threshold. You can configure this limits with the following -# configuration directives. -hash-max-zipmap-entries 512 -hash-max-zipmap-value 64 - -# Similarly to hashes, small lists are also encoded in a special way in order -# to save a lot of space. The special representation is only used when -# you are under the following limits: -list-max-ziplist-entries 512 -list-max-ziplist-value 64 - -# Sets have a special encoding in just one case: when a set is composed -# of just strings that happens to be integers in radix 10 in the range -# of 64 bit signed integers. -# The following configuration setting sets the limit in the size of the -# set in order to use this special memory saving encoding. -set-max-intset-entries 512 - -# Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in -# order to help rehashing the main Redis hash table (the one mapping top-level -# keys to values). The hash table implementation redis uses (see dict.c) -# performs a lazy rehashing: the more operation you run into an hash table -# that is rhashing, the more rehashing "steps" are performed, so if the -# server is idle the rehashing is never complete and some more memory is used -# by the hash table. -# -# The default is to use this millisecond 10 times every second in order to -# active rehashing the main dictionaries, freeing memory when possible. -# -# If unsure: -# use "activerehashing no" if you have hard latency requirements and it is -# not a good thing in your environment that Redis can reply form time to time -# to queries with 2 milliseconds delay. -# -# use "activerehashing yes" if you don't have such hard requirements but -# want to free memory asap when possible. -activerehashing yes - -################################## INCLUDES ################################### - -# Include one or more other config files here. This is useful if you -# have a standard template that goes to all redis server but also need -# to customize a few per-server settings. Include files can include -# other files, so use this wisely. -# -# include /path/to/local.conf -# include /path/to/other.conf diff --git a/UNUSED/d/rope/SlackBuild b/UNUSED/d/rope/SlackBuild deleted file mode 100755 index 41a0ec89..00000000 --- a/UNUSED/d/rope/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=0.9.2 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="COPYING MANIFEST.in PKG-INFO README.txt" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://downloads.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=jaist \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -( cd $TMP/$PRGNAM-$VERSION - # installation - python setup.py install --root=$PKG -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && rm $PKG/usr/info/dir - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (a python refactoring library...) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://rope.sourceforge.net/ -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/d/rpl/SlackBuild b/UNUSED/d/rpl/SlackBuild deleted file mode 100755 index 9c3163e1..00000000 --- a/UNUSED/d/rpl/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(ls rpl-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev) - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -# Cleaning -cd $TMP -rm -fr $PRGNAM-$VERSION -rm -fr $PKG - -# Fetching sources -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c http://www.rpl2.net/download/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - -# Preparation -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Configuration -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$LIBSUFFIX \ - --enable-experimental #I heart danger - -# Building -make - -# Installation -make install DESTDIR=$PKG - -# Cleaning -cd $PKG -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 - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; -find $PKG$PREFIX/info -name "dir" -exec rm {} \; -find $PKG$PREFIX/info -type f -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - - -# Packaging -mkdir install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (programming language) -$PRGNAM: -$PRGNAM: a programming language designed for scientific computations. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.rpl2.net/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/d/rust/SlackBuild b/UNUSED/d/rust/SlackBuild deleted file mode 100755 index e156bd90..00000000 --- a/UNUSED/d/rust/SlackBuild +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-1.17.0} -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG -mkdir -p $TMP $PKG - -# get -[ "$VERSION" == "nightly" ] && rm $CWD/rust-${VERSION}-x86_64-unknown-linux-gnu.tar.gz -[ ! -e $CWD/rust-${VERSION}-x86_64-unknown-linux-gnu.tar.gz ] && wget -c https://static.rust-lang.org/dist/rust-${VERSION}-x86_64-unknown-linux-gnu.tar.gz -O $CWD/rust-${VERSION}-x86_64-unknown-linux-gnu.tar.gz - -cd $TMP -tar xvf $CWD/rust-${VERSION}-x86_64-unknown-linux-gnu.tar.gz - -cd rust-${VERSION}-x86_64-unknown-linux-gnu -./install.sh --prefix=$PKG/usr - -echo "${ARCH}" | grep -q -o 64 && mv $PKG/usr/lib $PKG/usr/lib64 -mv $PKG/usr/share/man $PKG/usr/ -mv $PKG/usr/share/doc $PKG/usr/ -find $PKG/usr/man/ -type f -name \*.\? -exec gzip -9 {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (a safe, concurrent, practical language) -$PRGNAM: -$PRGNAM: Rust is a curly-brace, block-structured expression language. -$PRGNAM: It visually resembles the C language family, but differs significantly in -$PRGNAM: syntactic and semantic details. Its design is oriented toward concerns of -$PRGNAM: “programming in the largeâ€, that is, of creating and maintaining boundaries -$PRGNAM: – both abstract and operational – that preserve large-system integrity, -$PRGNAM: availability and concurrency. -$PRGNAM: -$PRGNAM: http://www.rust-lang.org/ -$PRGNAM: -EOF - -chown -R root:root * - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -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 - -[ "$VERSION" == "nightly" ] && VERSION=${VERSION}_$(date +%F | tr - .) - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/rustc/SlackBuild b/UNUSED/d/rustc/SlackBuild deleted file mode 100755 index 384b6800..00000000 --- a/UNUSED/d/rustc/SlackBuild +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=nightly -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG -mkdir -p $TMP $PKG - -# get sources -[ "$VERSION" == "nightly" ] && rm $CWD/rustc-${VERSION}-src.tar.gz -[ ! -e $CWD/rustc-${VERSION}-src.tar.gz ] && wget -c https://static.rust-lang.org/dist/rustc-${VERSION}-src.tar.gz - -cd $TMP -tar xvf $CWD/rustc-${VERSION}-src.tar.gz - -cd $PRGNAM-$VERSION -./configure \ - --prefix=$PREFIX -make -make DESTDIR=$PKG install -mv $PKG/usr/share/man $PKG/usr/ -find $PKG/usr/man/ -type f -name \*.\? -exec gzip -9 {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (a safe, concurrent, practical language) -$PRGNAM: -$PRGNAM: Rust is a curly-brace, block-structured expression language. -$PRGNAM: It visually resembles the C language family, but differs significantly in -$PRGNAM: syntactic and semantic details. Its design is oriented toward concerns of -$PRGNAM: “programming in the largeâ€, that is, of creating and maintaining boundaries -$PRGNAM: – both abstract and operational – that preserve large-system integrity, -$PRGNAM: availability and concurrency. -$PRGNAM: -$PRGNAM: http://www.rust-lang.org/ -$PRGNAM: -EOF - -chown -R root:root * - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -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 - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/smalltalk/SlackBuild b/UNUSED/d/smalltalk/SlackBuild deleted file mode 100755 index 662c0a42..00000000 --- a/UNUSED/d/smalltalk/SlackBuild +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=3.2.4 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO" - -SLCKFLAGS="-O2" -case $ARCH in - "x86_64") - SLCKFLAGS="$SLCKFLAGS -fPIC" - ;; - *) -esac - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.xz ] && \ - wget -c ftp://ftp.gnu.org/gnu/smalltalk/$PRGNAM-$VERSION.tar.xz \ - -O $CWD/$PRGNAM-$VERSION.tar.xz -tar xf $CWD/$PRGNAM-$VERSION.tar.xz - -cd $TMP/$PRGNAM-$VERSION -# configuration -CCPFLAGS=$SLCKFLAGS \ -CFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --docdir=$PREFIX/doc/$PRGNAM-$VERSION \ - --includedir=$PREFIX/include \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --enable-disassembler \ - --enable-preemption - -# compilation -make PREFIX=$PREFIX -# installation -make install DESTDIR=$PKG - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && rm $PKG/usr/info/dir - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (The Smalltalk for those who can type) -$PRGNAM: -$PRGNAM: GNU Smalltalk is a free implementation of the Smalltalk-80 language. -$PRGNAM: It runs on most POSIX compatible operating systems (including GNU/Linux, -$PRGNAM: of course), as well as under Windows. Smalltalk is a dynamic -$PRGNAM: object-oriented language, well-versed to scripting tasks. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://smalltalk.gnu.org/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/vagrant/SlackBuild b/UNUSED/d/vagrant/SlackBuild deleted file mode 100755 index 08fd5d2f..00000000 --- a/UNUSED/d/vagrant/SlackBuild +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -PRGNAM=vagrant - -ARCH=${ARCH:-$(uname -m)} -VERSION=${VERSION:-1.4.3} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Allow $ARCH to be preset before running the script. This is useful in the -# case where someone is running a 32-bit chroot environment under an x86_64 -# kernel: -case "$ARCH" in - i?86) LIBDIRSUFFIX="" ; ARCH=i386 ;; - x86_64) LIBDIRSUFFIX="64" ;; - *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; -esac - -CWD=$(pwd) -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $PKG - -# Download it by hand... - -ar p $CWD/vagrant_${VERSION}_$ARCH.deb data.tar.gz | gunzip | tar xv || exit 1 -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Make sure top-level perms are correct: -chmod 0755 . - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler----------------------------------------------------| -$PRGNAM: $PRGNAM (Development environments made easy.) -$PRGNAM: -$PRGNAM: Create and configure lightweight, reproducible, and portable -$PRGNAM: development environments. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: Homepage: http://www.vagrantup.com/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/d/willgit/SlackBuild b/UNUSED/d/willgit/SlackBuild deleted file mode 100755 index 24c584d4..00000000 --- a/UNUSED/d/willgit/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# variables - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -ARCH=noarch -BUILD=1 - -PREFIX=/usr - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG$PREFIX/{bin/,doc/} - -# mise en place -cd $TMP -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - mkdir -p $REPOSITORIES - ( cd $REPOSITORIES - git clone http://git.gitorious.org/willgit/mainline.git $PRGNAM - ) -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -# installation -cp -R $REPOSITORIES/$PRGNAM/bin/* $PKG$PREFIX/bin/ -cp -R $REPOSITORIES/$PRGNAM/www/ $PKG$PREFIX/doc/$PRGNAM -chmod +x $PKG$PREFIX/bin/* - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (William's Miscellaneous Git Tools) -$PRGNAM: -$PRGNAM: A bunch of random git-related tools I've found useful at some point, -$PRGNAM: mostly for managing feature branches. -$PRGNAM: -$PRGNAM: Includes such greatest hits as: git-wtf, git-show-merges, -$PRGNAM: git-publish-branch, and git-rank-contributors. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://gitorious.org/willgit -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Advanced-Linux-Programming/SlackBuild b/UNUSED/doc/Advanced-Linux-Programming/SlackBuild deleted file mode 100755 index fa163a31..00000000 --- a/UNUSED/doc/Advanced-Linux-Programming/SlackBuild +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/advanced-linux-programming.pdf ] && mv $CWD/advanced-linux-programming.pdf{,.orig} -wget -c http://www.advancedlinuxprogramming.com/alp-folder/advanced-linux-programming.pdf -O $CWD/advanced-linux-programming.pdf -[ -e $CWD/ALP-listings.tar.gz ] && mv $CWD/ALP-listings.tar.gz{,.orig} -wget -c http://www.advancedlinuxprogramming.com/ALP-listings.tar.gz -O $CWD/ALP-listings.tar.gz - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/advanced-linux-programming.pdf $CWD/ALP-listings.tar.gz $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Advanced Linux Programming» book) -$PRGNAM: If you are a developer for the GNU/Linux system, this book will help you to: -$PRGNAM: > Develop GNU/Linux software that works the way users expect it to. -$PRGNAM: > Write more sophisticated programs with features such as multiprocessing, -$PRGNAM: multi-threading, interprocess communication, and interaction with hardware -$PRGNAM: devices. -$PRGNAM: > Improve your programs by making them run faster, more reliably, and more -$PRGNAM: securely. -$PRGNAM: > Understand the preculiarities of a GNU/Linux system, including its limitations, -$PRGNAM: special capabilities, and conventions. -$PRGNAM: http://www.advancedlinuxprogramming.com/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/An-Introduction-To-Programming-In-Go/SlackBuild b/UNUSED/doc/An-Introduction-To-Programming-In-Go/SlackBuild deleted file mode 100755 index 67b3b7c5..00000000 --- a/UNUSED/doc/An-Introduction-To-Programming-In-Go/SlackBuild +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www.golang-book.com/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Go Programming book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.golang-book.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/Android-Cookbook/SlackBuild b/UNUSED/doc/Android-Cookbook/SlackBuild deleted file mode 100755 index 575e6f24..00000000 --- a/UNUSED/doc/Android-Cookbook/SlackBuild +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://androidcookbook.com/home.seam -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Crowd-Sourced Android CookBook) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://androidcookbook.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/C-craft/SlackBuild b/UNUSED/doc/C-craft/SlackBuild deleted file mode 100755 index a75dad20..00000000 --- a/UNUSED/doc/C-craft/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www-cs-students.stanford.edu/~blynn/c/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («C Craft» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www-cs-students.stanford.edu/~blynn/c/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Clever-Algorithms/SlackBuild b/UNUSED/doc/Clever-Algorithms/SlackBuild deleted file mode 100755 index 74398c2f..00000000 --- a/UNUSED/doc/Clever-Algorithms/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www.cleveralgorithms.com/nature-inspired/index.html - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Clever Algorithms» book) -$PRGNAM: -$PRGNAM: Clever Algorithms -$PRGNAM: -$PRGNAM: Nature-Inspired Programming Recipes -$PRGNAM: -$PRGNAM: By Jason Brownlee -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/jbrownlee/CleverAlgorithms -$PRGNAM: http://www.cleveralgorithms.com/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Einstein-for-everyone/SlackBuild b/UNUSED/doc/Einstein-for-everyone/SlackBuild deleted file mode 100755 index b3f734d0..00000000 --- a/UNUSED/doc/Einstein-for-everyone/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www.pitt.edu/~jdnorton/teaching/HPS_0410/chapters/index.html - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Einstein for everyone» book) -$PRGNAM: -$PRGNAM: Einstein for Everyone -$PRGNAM: JOHN D. NORTON -$PRGNAM: Nullarbor Press -$PRGNAM: 2007 -$PRGNAM: revisions 2008, 2010 -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.pitt.edu/~jdnorton/teaching/HPS_0410/chapters/index.html -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Essential-JavaScript-Design-Patterns/SlackBuild b/UNUSED/doc/Essential-JavaScript-Design-Patterns/SlackBuild deleted file mode 100755 index 52073908..00000000 --- a/UNUSED/doc/Essential-JavaScript-Design-Patterns/SlackBuild +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=1.1 -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $CWD/essentialjsdesignpatterns$VERSION.zip ] && wget -c http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/essentialjsdesignpatterns$VERSION.zip -O $CWD/essentialjsdesignpatterns$VERSION.zip - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -unzip $CWD/essentialjsdesignpatterns$VERSION.zip -d $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/__MACOSX -find $PKG$PREFIX/doc/$PRGNAM/ -name .DS_Store -delete - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Essential JavaScript Patterns» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: Authored By Addy Osmani -$PRGNAM: Copyright 2011 © Addy Osmani. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/HigherOrderPerl/SlackBuild b/UNUSED/doc/HigherOrderPerl/SlackBuild deleted file mode 100755 index 1e034035..00000000 --- a/UNUSED/doc/HigherOrderPerl/SlackBuild +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/http://hop.perl.plover.com/book/pdf/HigherOrderPerl.pdf ] && mv $CWD/HigherOrderPerl.pdf $CWD/HigherOrderPerl.pdf.orig -wget -c http://hop.perl.plover.com/book/pdf/HigherOrderPerl.pdf -O $CWD/HigherOrderPerl.pdf -[ -e $CWD/http://hop.perl.plover.com/book/pdf/HigherOrderPerl-trimmed.pdf ] && mv $CWD/HigherOrderPerl-trimmed.pdf $CWD/HigherOrderPerl-trimmed.pdf.orig -wget -c http://hop.perl.plover.com/book/pdf/HigherOrderPerl-trimmed.pdf -O $CWD/HigherOrderPerl-trimmed.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/HigherOrderPerl*.pdf $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Higher-Order Perl» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://hop.perl.plover.com/book/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/Learning-Go/SlackBuild b/UNUSED/doc/Learning-Go/SlackBuild deleted file mode 100755 index 27eb65fc..00000000 --- a/UNUSED/doc/Learning-Go/SlackBuild +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y%m%d") -BUILD=1 - -ARCH=noarch - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -mkdir -p $REPOSITORIES/$PRGNAM/ -for i in ${VERSION}-go.pdf ${VERSION}-go-kindle.pdf; do - if [ ! -e $REPOSITORIES/$PRGNAM/$i ]; then - find $REPOSITORIES/$PRGNAM/ -name *${i#$VERSION} -delete - wget -c -O $REPOSITORIES/$PRGNAM/$i http://www.miek.nl/files/go/$i - fi -done - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORIES/$PRGNAM/${VERSION}-go*.pdf $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (eBook to learn Go) -$PRGNAM: -$PRGNAM: "Learning Go" is a book that gives an introduction into the Go language -$PRGNAM: of Google. It is licensed under a copy-left license. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.miek.nl/projects/learninggo/index.html -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/Network-programming-with-Go/SlackBuild b/UNUSED/doc/Network-programming-with-Go/SlackBuild deleted file mode 100755 index 5a3ceb04..00000000 --- a/UNUSED/doc/Network-programming-with-Go/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://jan.newmarch.name/go/index.html - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Network programming with Go» book) -$PRGNAM: -$PRGNAM: An e-book on building network applications using the Google Go programming language. -$PRGNAM: -$PRGNAM: -$PRGNAM: Copyright Jan Newmarch, jan@newmarch.name -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://jan.newmarch.name/go/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Practical-Common-Lisp/SlackBuild b/UNUSED/doc/Practical-Common-Lisp/SlackBuild deleted file mode 100755 index 091ea16a..00000000 --- a/UNUSED/doc/Practical-Common-Lisp/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www.gigamonkeys.com/book/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Practical Common Lisp» book) -$PRGNAM: -$PRGNAM: Practical Common Lisp presents a thorough introduction to Common Lisp, -$PRGNAM: providing you with an overall understanding of the language features -$PRGNAM: and how they work. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.apress.com/book/view/1590592395 -$PRGNAM: http://www.gigamonkeys.com/book/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Python-Documentation-Kindle/SlackBuild b/UNUSED/doc/Python-Documentation-Kindle/SlackBuild deleted file mode 100755 index d99535d8..00000000 --- a/UNUSED/doc/Python-Documentation-Kindle/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -REPOSITORY=${REPOSITORY:=/home/installs/SlackBuilds/repositories/$PRGNAM} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/doc/ - -# mise en place -[ ! -e $REPOSITORY ] && git clone http://github.com/charlax/Python-Documentation-Kindle.git $REPOSITORY -(cd $REPOSITORY && git pull) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cd $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PRGNAM -cd $PRGNAM -rm -fr .git* - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Python documentation on your Kindle) -$PRGNAM: -$PRGNAM: This project lets you download a Kindle-optimized version of the -$PRGNAM: Python documentation. You can also create your own ebook for any -$PRGNAM: project using Sphinx to generate its documentation. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/charlax/Python-Documentation-Kindle -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/Scala-school/SlackBuild b/UNUSED/doc/Scala-school/SlackBuild deleted file mode 100755 index 8f140430..00000000 --- a/UNUSED/doc/Scala-school/SlackBuild +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://twitter.github.com/scala_school/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Scala school» book) -$PRGNAM: -$PRGNAM: Scala school was started as a series of lectures at Twitter to prepare -$PRGNAM: experienced engineers to be productive Scala programmers. Being a -$PRGNAM: relatively new language, but also one that draws on many familiar -$PRGNAM: concepts, we found this an effective way of getting new engineers up to -$PRGNAM: speed quickly. This is the written material that accompanied those -$PRGNAM: lectures. We have found that these are useful in their own right. -$PRGNAM: -$PRGNAM: http://twitter.github.com/scala_school/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/Smooth-CoffeeScript/SlackBuild b/UNUSED/doc/Smooth-CoffeeScript/SlackBuild deleted file mode 100755 index cd158a64..00000000 --- a/UNUSED/doc/Smooth-CoffeeScript/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/autotelicum/Smooth-CoffeeScript.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (A book on functional programming in CoffeeScript) -$PRGNAM: -$PRGNAM: Smooth CoffeeScript is a free book about CoffeeScript and programming. -$PRGNAM: No previous programming knowledge is required. Over 200 pages and -$PRGNAM: 35 exercises. Download includes book and full source code with -$PRGNAM: and without solutions. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/autotelicum/Smooth-CoffeeScript#readme -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/The-Scheme-Programming-Language/SlackBuild b/UNUSED/doc/The-Scheme-Programming-Language/SlackBuild deleted file mode 100755 index a76c5374..00000000 --- a/UNUSED/doc/The-Scheme-Programming-Language/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://scheme.com/tspl4/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («The Scheme Programming Language» book) -$PRGNAM: -$PRGNAM: Fourth Edition -$PRGNAM: -$PRGNAM: R. Kent Dybvig -$PRGNAM: -$PRGNAM: Illustrations by Jean-Pierre HĂ©bert -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://scheme.com/tspl4/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/YourVietnamese.com/SlackBuild b/UNUSED/doc/YourVietnamese.com/SlackBuild deleted file mode 100755 index 2b57b68b..00000000 --- a/UNUSED/doc/YourVietnamese.com/SlackBuild +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://yourvietnamese.com/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn Vietnamese Your Way» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://yourvietnamese.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/a-byte-of-python/SlackBuild b/UNUSED/doc/a-byte-of-python/SlackBuild deleted file mode 100755 index 234147cb..00000000 --- a/UNUSED/doc/a-byte-of-python/SlackBuild +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/byteofpython_120.pdf ] && mv $CWD/byteofpython_120.pdf $CWD/byteofpython_120.pdf.orig -wget -c http://www.ibiblio.org/swaroopch/byteofpython/files/120/byteofpython_120.pdf -O $CWD/byteofpython_120.pdf -[ -e $CWD/byteofpython_v192.pdf ] && mv $CWD/byteofpython_v192.pdf $CWD/byteofpython_v192.pdf.orig -wget -c http://www.swaroopch.com/files/byteofpython/byte_of_python_v192.pdf -O $CWD/byteofpython_v192.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/byteofpython_120.pdf $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/byteofpython_v192.pdf $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («A Byte of Python» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.swaroopch.com/notes/Python -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/algorithms.openmymind.net/SlackBuild b/UNUSED/doc/algorithms.openmymind.net/SlackBuild deleted file mode 100755 index 7de59beb..00000000 --- a/UNUSED/doc/algorithms.openmymind.net/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://algorithms.openmymind.net/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Algorithms» book) -$PRGNAM: -$PRGNAM: This is a place to find information about some of the more fundamental -$PRGNAM: algorithms used in computer science. This information is widely available -$PRGNAM: on the net, but hopefully the way it's presented and discussed here will -$PRGNAM: resonate with you. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://algorithms.openmymind.net/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/arcturo-library/SlackBuild b/UNUSED/doc/arcturo-library/SlackBuild deleted file mode 100755 index bfdbf0f0..00000000 --- a/UNUSED/doc/arcturo-library/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/arcturo/library.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Free eBooks) -$PRGNAM: -$PRGNAM: about Coffee-script and stuff -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/arcturo/library#readme -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/build-a-javascript-framework/SlackBuild b/UNUSED/doc/build-a-javascript-framework/SlackBuild deleted file mode 100755 index b64601ce..00000000 --- a/UNUSED/doc/build-a-javascript-framework/SlackBuild +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -for fmt in pdf epub mobi ; do - [ -e $CWD/$PRGNAM.$fmt ] && mv $CWD/$PRGNAM.$fmt $CWD/$PRGNAM.$fmt.orig - wget -c http://dailyjs.com/files/$PRGNAM.$fmt -O $CWD/$PRGNAM.$fmt - cp $CWD/$PRGNAM.$fmt $PKG$PREFIX/doc/$PRGNAM -done - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Let's Make a Framework: Free eBook) -$PRGNAM: -$PRGNAM: I’ve collected and edited the Let’s Make a Framework articles into a book -$PRGNAM: that suitable for e-readers. Consider this a Christmas present! -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://dailyjs.com/2010/12/02/framework-review/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/doc/diveintohtml5/SlackBuild b/UNUSED/doc/diveintohtml5/SlackBuild deleted file mode 100755 index 9dfdd363..00000000 --- a/UNUSED/doc/diveintohtml5/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/diveintomark/diveintohtml5.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/.{git*,hg*} - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (a book about HTML5) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://diveintohtml5.info -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/diveintopython/SlackBuild b/UNUSED/doc/diveintopython/SlackBuild deleted file mode 100755 index 43636e83..00000000 --- a/UNUSED/doc/diveintopython/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=5.4 -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $CWD/$PRGNAM-html-$VERSION.zip ] && \ - wget -c http://diveintopython.org/download/$PRGNAM-html-$VERSION.zip \ - -O $CWD/$PRGNAM-html-$VERSION.zip - -mkdir -p $PKG$PREFIX/doc/ - -( cd $PKG$PREFIX/doc/ - unzip $CWD/$PRGNAM-html-$VERSION.zip -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (a book about Python) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://diveintopython.org -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/diveintopython3/SlackBuild b/UNUSED/doc/diveintopython3/SlackBuild deleted file mode 100755 index 939267a8..00000000 --- a/UNUSED/doc/diveintopython3/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ -e $REPOSITORY ] ; then - ( cd $REPOSITORY - git pull - ) -else - git clone http://github.com/diveintomark/diveintopython3.git $REPOSITORY -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/.{git*,hg*} - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (a book about Python 3) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://diveintopython3.org -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/doc/django-best-practices/SlackBuild b/UNUSED/doc/django-best-practices/SlackBuild deleted file mode 100755 index d686f9b7..00000000 --- a/UNUSED/doc/django-best-practices/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -else - git clone http://github.com/lincolnloop/django-best-practices.git $REPOSITORIES/$PRGNAM -fi - -mkdir -p $TMP -cp -R $REPOSITORIES/$PRGNAM $TMP -cd $TMP/$PRGNAM -make html epub -mkdir -p $PKG$PREFIX/doc/ -cp -R .build/html $PKG$PREFIX/doc/$PRGNAM -cp .build/epub/*.epub $PKG$PREFIX/doc/$PRGNAM - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/index.html \ - $PKG$PREFIX/doc/$PRGNAM/$PRGNAM.epub \ - --authors="Lincoln Loop" \ - --author-sort="Lincoln Loop" \ - --title="Django Best Practices" \ - --title-sort="Django Best Practices" \ - --language=English \ - --rating=5 - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Django Best Practices) -$PRGNAM: -$PRGNAM: A guide to developing and deploying with the Django Web framework -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://lincolnloop.com/django-best-practices/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/djangobook.com/SlackBuild b/UNUSED/doc/djangobook.com/SlackBuild deleted file mode 100755 index 4240a3c3..00000000 --- a/UNUSED/doc/djangobook.com/SlackBuild +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ -e $REPOSITORY ] ; then - ( cd $REPOSITORY - git pull - ) -else - git clone https://github.com/jacobian/djangobook.com.git $REPOSITORY -fi - -mkdir -p $TMP -cp -R $REPOSITORY $TMP -cd $TMP/$PRGNAM - -make html epub - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R _build/{html/*,epub/*.epub} $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Django book) -$PRGNAM: -$PRGNAM: a free book about the Django Web framework for the Python programming language. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.djangobook.com/en/2.0/index.html -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/eloquentjavascript/SlackBuild b/UNUSED/doc/eloquentjavascript/SlackBuild deleted file mode 100755 index 2091a8e6..00000000 --- a/UNUSED/doc/eloquentjavascript/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/$PRGNAM.zip ] && mv $CWD/$PRGNAM.zip $CWD/$PRGNAM.zip.orig -wget -c http://eloquentjavascript.net/Eloquent%20JavaScript.zip -O $CWD/$PRGNAM.zip - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -unzip -d $PKG$PREFIX/doc/$PRGNAM $CWD/$PRGNAM.zip -mv $PKG$PREFIX/doc/$PRGNAM/Eloquent\ JavaScript $PKG$PREFIX/doc/$PRGNAM/EN - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/EN/index.html \ - $PKG$PREFIX/doc/$PRGNAM/$PRGNAM.epub \ - --authors="Marijn Haverbeke" \ - --author-sort="Haverbeke, Marijn" \ - --title="Eloquent JavaScript, A Modern Introduction to Programming" \ - --title-sort="Eloquent JavaScript, A Modern Introduction to Programming" \ - --language=English \ - --rating=5 - -# French Version -[ -e $CWD/$PRGNAM.fr.zip ] && mv $CWD/$PRGNAM.fr.zip $CWD/$PRGNAM.fr.zip.orig -wget -c http://fr.eloquentjavascript.net/Eloquent%20JavaScript.zip -O $CWD/$PRGNAM.fr.zip - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -unzip -d $PKG$PREFIX/doc/$PRGNAM $CWD/$PRGNAM.fr.zip -mv $PKG$PREFIX/doc/$PRGNAM/Eloquent\ JavaScript $PKG$PREFIX/doc/$PRGNAM/FR - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/FR/index.html \ - $PKG$PREFIX/doc/$PRGNAM/$PRGNAM.FR.epub \ - --authors="Marijn Haverbeke" \ - --author-sort="Haverbeke, Marijn" \ - --title="JavaScript Éloquent, Une introduction moderne Ă  la programmation" \ - --title-sort="JavaScript Éloquent, Une introduction moderne Ă  la programmation" \ - --language=French \ - --rating=5 - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Javascript book) -$PRGNAM: -$PRGNAM: An Modern Introduction to Programming -$PRGNAM: by Marijn Haverbeke -$PRGNAM: -$PRGNAM: Eloquent JavaScript is a book providing an introduction to the -$PRGNAM: JavaScript programming language and programming in general. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://eloquentjavascript.net/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/gitmagic/SlackBuild b/UNUSED/doc/gitmagic/SlackBuild deleted file mode 100755 index ddd95184..00000000 --- a/UNUSED/doc/gitmagic/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www-cs-students.stanford.edu/~blynn/gitmagic/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Git Magic» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www-cs-students.stanford.edu/~blynn/gitmagic/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/graph-theory-algorithms-book/SlackBuild b/UNUSED/doc/graph-theory-algorithms-book/SlackBuild deleted file mode 100755 index 05daf3dc..00000000 --- a/UNUSED/doc/graph-theory-algorithms-book/SlackBuild +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) - else - hg clone https://graph-theory-algorithms-book.googlecode.com/hg/ $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.hg\* -exec rm -fr {} \; - -( cd $PKG$PREFIX/doc/$PRGNAM - make -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (A graph theory book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: A GNU-FDL book on algorithmic graph theory by David Joyner, -$PRGNAM: Minh Van Nguyen, and Nathann Cohen. This is an introductory book on -$PRGNAM: algorithmic graph theory. Theory and algorithms are illustrated using -$PRGNAM: the Sage open source mathematics software. -$PRGNAM: -$PRGNAM: http://code.google.com/p/graph-theory-algorithms-book/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/jqfundamentals/SlackBuild b/UNUSED/doc/jqfundamentals/SlackBuild deleted file mode 100755 index 31105610..00000000 --- a/UNUSED/doc/jqfundamentals/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/rmurphey/jqfundamentals.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (JQuery book) -$PRGNAM: -$PRGNAM: jQuery is fast becoming a must-have skill for front-end developers. The -$PRGNAM: purpose of this book is to provide an overview of the jQuery JavaScript -$PRGNAM: library; when you're done with the book, you should be able to complete -$PRGNAM: basic tasks using jQuery, and have a solid basis from which to continue -$PRGNAM: your learning. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://jqfundamentals.com/book/book.html -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learn-elisp-for-emacs/SlackBuild b/UNUSED/doc/learn-elisp-for-emacs/SlackBuild deleted file mode 100755 index f83ea452..00000000 --- a/UNUSED/doc/learn-elisp-for-emacs/SlackBuild +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/Learn-eLisp-For-Emacs.pdf ] && mv $CWD/Learn-eLisp-For-Emacs.pdf $CWD/Learn-eLisp-For-Emacs.pdf.orig -wget -c http://learn-elisp-for-emacs.org/files/Learn-eLisp-For-Emacs.pdf -O $CWD/Learn-eLisp-For-Emacs.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/Learn-eLisp-For-Emacs.pdf $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn eLisp For Emacs» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://learn-elisp-for-emacs.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learn-ruby-zeromq/SlackBuild b/UNUSED/doc/learn-ruby-zeromq/SlackBuild deleted file mode 100755 index 27ebff64..00000000 --- a/UNUSED/doc/learn-ruby-zeromq/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/andrewvc/learn-ruby-zeromq.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (a book about 0MQ and Ruby) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/andrewvc/learn-ruby-zeromq#readme -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learn-you-some-erlang/SlackBuild b/UNUSED/doc/learn-you-some-erlang/SlackBuild deleted file mode 100755 index cdbeb265..00000000 --- a/UNUSED/doc/learn-you-some-erlang/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://learnyousomeerlang.com/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/hts-* - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn you some Erlang» book) -$PRGNAM: -$PRGNAM: Oh Hello! Welcome to my guide to Erlang! This guide is intended to be read -$PRGNAM: by beginners, but if you're average or somewhat advanced you can probably -$PRGNAM: learn a few things too, especially when we start hitting the OTP chapters! -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://learnyousomeerlang.com/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/learncthehardway/SlackBuild b/UNUSED/doc/learncthehardway/SlackBuild deleted file mode 100755 index b09bd278..00000000 --- a/UNUSED/doc/learncthehardway/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://c.learncodethehardway.org/book -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/hts-* - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/c.learncodethehardway.org/book/index.html \ - $PKG$PREFIX/doc/$PRGNAM/learncthehardway.epub \ - --authors="Zed A. Shaw" \ - --author-sort="Shaw, Zed A." \ - --title="Learn C The Hard Way" \ - --title-sort="Learn C The Hard Way" \ - --language=English \ - --rating=5 \ - --series="Learn Code The Hard Way" \ - --series-index=3 - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn C the Hard way» book) -$PRGNAM: -$PRGNAM: Zed Shaw Python learning book project, for C -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://c.learncodethehardway.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learnpythonthehardway/SlackBuild b/UNUSED/doc/learnpythonthehardway/SlackBuild deleted file mode 100755 index ebbf9283..00000000 --- a/UNUSED/doc/learnpythonthehardway/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://learnpythonthehardway.org/book/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/hts-* - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/learnpythonthehardway.org/book/index.html \ - $PKG$PREFIX/doc/$PRGNAM/learnpythonthehardway.epub \ - --authors="Zed A. Shaw" \ - --author-sort="Shaw, Zed A." \ - --title="Learn Python The Hard Way" \ - --title-sort="Learn Python The Hard Way" \ - --language=English \ - --rating=5 \ - --series="Learn Code The Hard Way" \ - --series-index=1 \ - --cover="http://learnpythonthehardway.org/img/lpthwbook.jpg" - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn Python the Hard way» book) -$PRGNAM: -$PRGNAM: Zed Shaw Python learning book project -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://learnpythonthehardway.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learnregexthehardway/SlackBuild b/UNUSED/doc/learnregexthehardway/SlackBuild deleted file mode 100755 index d98d30d5..00000000 --- a/UNUSED/doc/learnregexthehardway/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://regex.learncodethehardway.org/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/hts-* - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/regex.learncodethehardway.org/book/index.html \ - $PKG$PREFIX/doc/$PRGNAM/learnregexthehardway.epub \ - --authors="Zed A. Shaw" \ - --author-sort="Shaw, Zed A." \ - --title="Learn Regex The Hard Way" \ - --title-sort="Learn Regex The Hard Way" \ - --language=English \ - --rating=5 \ - --series="Learn Code The Hard Way" \ - --series-index=5 - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn Regex the Hard way» book) -$PRGNAM: -$PRGNAM: Zed Shaw REGEX learning book project -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://regex.learncodethehardway.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learnrubythehardway/SlackBuild b/UNUSED/doc/learnrubythehardway/SlackBuild deleted file mode 100755 index 555a771b..00000000 --- a/UNUSED/doc/learnrubythehardway/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://ruby.learncodethehardway.org/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/hts-* - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/ruby.learncodethehardway.org/book/index.html \ - $PKG$PREFIX/doc/$PRGNAM/learnrubythehardway.epub \ - --authors="Zed A. Shaw" \ - --author-sort="Shaw, Zed A." \ - --title="Learn Ruby The Hard Way" \ - --title-sort="Learn Ruby The Hard Way" \ - --language=English \ - --rating=5 \ - --series="Learn Code The Hard Way" \ - --series-index=2 - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn Ruby the Hard way» book) -$PRGNAM: -$PRGNAM: Zed Shaw Python learning book project, in Ruby -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://ruby.learncodethehardway.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learnsqlthehardway/SlackBuild b/UNUSED/doc/learnsqlthehardway/SlackBuild deleted file mode 100755 index a00800b3..00000000 --- a/UNUSED/doc/learnsqlthehardway/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://sql.learncodethehardway.org/ -*.dmg -*.exe +*.txt - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/hts-* - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/sql.learncodethehardway.org/book/index.html \ - $PKG$PREFIX/doc/$PRGNAM/learnsqlthehardway.epub \ - --authors="Zed A. Shaw" \ - --author-sort="Shaw, Zed A." \ - --title="Learn Sql The Hard Way" \ - --title-sort="Learn Sql The Hard Way" \ - --language=English \ - --rating=5 \ - --series="Learn Code The Hard Way" \ - --series-index=4 - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Learn Sql the Hard way» book) -$PRGNAM: -$PRGNAM: Zed Shaw SQL learning book project -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://sql.learncodethehardway.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/learnxinyminutes-docs/SlackBuild b/UNUSED/doc/learnxinyminutes-docs/SlackBuild deleted file mode 100755 index c370d597..00000000 --- a/UNUSED/doc/learnxinyminutes-docs/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORIES=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone https://github.com/adambard/learnxinyminutes-docs $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (A book on functional programming in CoffeeScript) -$PRGNAM: -$PRGNAM: Whirlwind tours of (several, hopefully many someday) popular and -$PRGNAM: ought-to-be-more-popular programming languages, presented as valid, -$PRGNAM: commented code and explained as they go. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://learnxinyminutes.com -$PRGNAM: https://github.com/adambard/learnxinyminutes-docs -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/linux-howtos-kiki-novac/SlackBuild b/UNUSED/doc/linux-howtos-kiki-novac/SlackBuild deleted file mode 100755 index f02d6fc9..00000000 --- a/UNUSED/doc/linux-howtos-kiki-novac/SlackBuild +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d")} -BUILD=${BUILD:-1} - -ARCH=noarch - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=${PKG:-$TMP/pkg-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# cleaning -rm -fr $PKG - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cd $PKG$PREFIX/doc/$PRGNAM -lftp -e "mget *; bye" http://www.microlinux.fr/howtos/ - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Howtos en français de Kiki Novac) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.microlinux.fr/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/masteringnode/SlackBuild b/UNUSED/doc/masteringnode/SlackBuild deleted file mode 100755 index ff3a72b3..00000000 --- a/UNUSED/doc/masteringnode/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/visionmedia/masteringnode.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (a book about Node.js) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://visionmedia.github.com/masteringnode/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/modern_perl/SlackBuild b/UNUSED/doc/modern_perl/SlackBuild deleted file mode 100755 index f18a1e0f..00000000 --- a/UNUSED/doc/modern_perl/SlackBuild +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -ARCH=${ARCH:-$(uname -m)} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=${PKG:-$TMP/pkg-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -FORMAT=${FORMAT:-a4} # or letter - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/modern_perl_$FORMAT.pdf ] && mv $CWD/modern_perl_$FORMAT.pdf $CWD/modern_perl_$FORMAT.pdf.orig -wget -c http://www.onyxneon.com/books/modern_perl/modern_perl_$FORMAT.pdf -O $CWD/modern_perl_$FORMAT.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/modern_perl_$FORMAT.pdf $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Modern Perl» book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.modernperlbooks.com/ -$PRGNAM: http://www.onyxneon.com/books/modern_perl/index.html -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/org-mode-doc/SlackBuild b/UNUSED/doc/org-mode-doc/SlackBuild deleted file mode 100755 index a9730d4c..00000000 --- a/UNUSED/doc/org-mode-doc/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone git://git.norang.ca/org-mode-doc.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Documentation about Emacs' org-mode) -$PRGNAM: -$PRGNAM: Organize Your Life In Plain Text! -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://doc.norang.ca/org-mode.html -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/perfbook/SlackBuild b/UNUSED/doc/perfbook/SlackBuild deleted file mode 100755 index 5f2a4274..00000000 --- a/UNUSED/doc/perfbook/SlackBuild +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=2011.01.02a -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $CWD/perfbook.$VERSION.pdf ] && wget -c http://kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.$VERSION.pdf -O $CWD/perfbook.$VERSION.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/perfbook.$VERSION.pdf $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Parallel Programming book) -$PRGNAM: -$PRGNAM: Is Parallel Programming Hard, And, If So, What Can You Do About It? -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/perl6-book/SlackBuild b/UNUSED/doc/perl6-book/SlackBuild deleted file mode 100755 index a8af9f4a..00000000 --- a/UNUSED/doc/perl6-book/SlackBuild +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/perl6/book.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -cd $PKG$PREFIX/doc/$PRGNAM -make - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (a book about Perl 6) -$PRGNAM: -$PRGNAM: It will be some kind of example-driven introduction to Perl 6, and at -$PRGNAM: the same time showing off the reasons why we love that language. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/perl6/book -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/php-the-right-way/SlackBuild b/UNUSED/doc/php-the-right-way/SlackBuild deleted file mode 100755 index db7ce61d..00000000 --- a/UNUSED/doc/php-the-right-way/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -else - git clone http://github.com/codeguy/php-the-right-way.git $REPOSITORIES/$PRGNAM -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (PHP book) -$PRGNAM: -$PRGNAM: An easy-to-read, quick reference for PHP best practices, accepted coding -$PRGNAM: standards, and links to authoritative tutorials around the Web -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/codeguy/php-the-right-way -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/progit/SlackBuild b/UNUSED/doc/progit/SlackBuild deleted file mode 100755 index 4511bcb5..00000000 --- a/UNUSED/doc/progit/SlackBuild +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY/Book ] && git clone https://github.com/progit/progit.git $REPOSITORY/Book -( cd $REPOSITORY/Book && git pull ) -VERSION="$( cd $REPOSITORY/Book && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -[ ! -e $REPOSITORY/Examples ] && git clone https://github.com/progit/book-examples.git $REPOSITORY/Examples -( cd $REPOSITORY/Examples && git pull ) - - -[ ! -e $CWD/progit.en.pdf ] && wget -c http://progit.org/ebook/progit.pdf -O $CWD/progit.en.pdf -[ ! -e $CWD/progit.en.mobi ] && wget -c https://github.s3.amazonaws.com/media/pro-git.en.mobi -O $CWD/progit.en.mobi -[ ! -e $CWD/progit.en.epub ] && wget -c https://github.s3.amazonaws.com/media/progit.epub -O $CWD/progit.en.epub - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (eBook, Pro Git: professional version control) -$PRGNAM: -$PRGNAM: Pro Git book, written by Scott Chacon and published by Apress. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://progit.org/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/python-3-patterns-idioms/SlackBuild b/UNUSED/doc/python-3-patterns-idioms/SlackBuild deleted file mode 100755 index 497c80e2..00000000 --- a/UNUSED/doc/python-3-patterns-idioms/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - hg pull --update - ) - else - hg clone http://bitbucket.org/BruceEckel/python-3-patterns-idioms $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.DS\* -o -name \.hg\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Python 3 book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.mindviewinc.com/Books/Python3Patterns/Index.php -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/rails-3_0-tutorial/SlackBuild b/UNUSED/doc/rails-3_0-tutorial/SlackBuild deleted file mode 100755 index 3f19536b..00000000 --- a/UNUSED/doc/rails-3_0-tutorial/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/bryanbibat/rails-3_0-tutorial.git $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Ruby on Rails 3.0, a free student manual) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/bryanbibat/rails-3_0-tutorial -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/doc/ruby-best-practices/SlackBuild b/UNUSED/doc/ruby-best-practices/SlackBuild deleted file mode 100755 index b5be04cd..00000000 --- a/UNUSED/doc/ruby-best-practices/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORY ] && git clone http://github.com/sandal/rbp-book.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -find $PKG$PREFIX/doc/$PRGNAM -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Ruby Best Practices book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://rubybestpractices.com/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/sicp-epub/SlackBuild b/UNUSED/doc/sicp-epub/SlackBuild deleted file mode 100755 index 8cfaea82..00000000 --- a/UNUSED/doc/sicp-epub/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -REPOSITORY=${REPOSITORY:=/home/installs/SlackBuilds/repositories/$PRGNAM} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/doc/ - -# mise en place -[ ! -e $REPOSITORY ] && git clone http://github.com/ieure/sicp.git $REPOSITORY -(cd $REPOSITORY; git pull) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cd $PKG$PREFIX/doc/ -cp -R $REPOSITORY $PRGNAM -cd $PRGNAM - -make -rm -fr src .git* Makefile - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (computer-science text) -$PRGNAM: -$PRGNAM: Wizard Book n. Hal Abelson's, Jerry Sussman's and Julie Sussman's -$PRGNAM: Structure and Interpretation of Computer Programs (MIT Press, 1984; -$PRGNAM: ISBN 0-262-01077-1), an excellent computer science text used in -$PRGNAM: introductory courses at MIT. So called because of the wizard on the -$PRGNAM: jacket. One of the bibles of the LISP/Scheme world. Also, -$PRGNAM: less commonly, known as the Purple Book. -$PRGNAM: http://mitpress.mit.edu/sicp/ -$PRGNAM: http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ -$PRGNAM: http://github.com/ieure/sicp -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/sicp-kindle/SlackBuild b/UNUSED/doc/sicp-kindle/SlackBuild deleted file mode 100755 index 0907c1e5..00000000 --- a/UNUSED/doc/sicp-kindle/SlackBuild +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -REPOSITORY=${REPOSITORY:=/home/installs/SlackBuilds/repositories/$PRGNAM} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/doc/ - -# mise en place -[ ! -e $REPOSITORY ] && git clone http://github.com/twcamper/sicp-kindle $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $PKG$PREFIX/doc/$PRGNAM -rm -fr $PKG$PREFIX/doc/$PRGNAM/.git* - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (computer-science text) -$PRGNAM: -$PRGNAM: Wizard Book n. Hal Abelson's, Jerry Sussman's and Julie Sussman's -$PRGNAM: Structure and Interpretation of Computer Programs (MIT Press, 1984; -$PRGNAM: ISBN 0-262-01077-1), an excellent computer science text used in -$PRGNAM: introductory courses at MIT. So called because of the wizard on the -$PRGNAM: jacket. One of the bibles of the LISP/Scheme world. Also, -$PRGNAM: less commonly, known as the Purple Book. -$PRGNAM: http://mitpress.mit.edu/sicp/ -$PRGNAM: http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ -$PRGNAM: http://github.com/twcamper/sicp-kindle -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/sicp-python3/SlackBuild b/UNUSED/doc/sicp-python3/SlackBuild deleted file mode 100755 index 95d9e6fc..00000000 --- a/UNUSED/doc/sicp-python3/SlackBuild +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://www-inst.eecs.berkeley.edu/~cs61a/sp12/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Teaching SICP using Python3 course) -$PRGNAM: -$PRGNAM: Berkeley class -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www-inst.eecs.berkeley.edu/~cs61a/sp12/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/sicp/SlackBuild b/UNUSED/doc/sicp/SlackBuild deleted file mode 100755 index faa894e3..00000000 --- a/UNUSED/doc/sicp/SlackBuild +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-3} - - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -OUTPUT=${OUTPUT:-/tmp} - -PRGNAM=${PRGNAM:-$(basename $CWD)} -PKG=${PKG:-$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:-noarch} - -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/doc/$PRGNAM - -# mise en place -cd $CWD -[ -e ./sicp.texi.gz ] && mv ./sicp.texi.gz ./sicp.texi.gz.bkp -wget -c http://www.neilvandyke.org/sicp-texi/sicp.texi.gz || cp ./sicp.texi.gz.bkp ./sicp.texi.gz -[ -e ./allcode.tar.gz ] && mv ./allcode.tar.gz ./allcode.tar.gz.bkp -wget -c http://mitpress.mit.edu/sicp/code/allcode.tar.gz || cp ./allcode.tar.gz.bkp ./allcode.tar.gz - -cd $PKG$PREFIX/doc/$PRGNAM -cp $CWD/sicp.texi.gz . -cp $CWD/allcode.tar.gz . - -gunzip sicp.texi.gz -makeinfo sicp.texi - -mkdir -p $PKG/usr/info -mv sicp sicp-* $PKG/usr/info/ - -# correction -cd $PKG -chown -R root:root * - -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*" -exec gzip -9f {} \; - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (computer-science text) -$PRGNAM: -$PRGNAM: Wizard Book n. Hal Abelson's, Jerry Sussman's and Julie Sussman's -$PRGNAM: Structure and Interpretation of Computer Programs (MIT Press, 1984; -$PRGNAM: ISBN 0-262-01077-1), an excellent computer science text used in -$PRGNAM: introductory courses at MIT. So called because of the wizard on the -$PRGNAM: jacket. One of the bibles of the LISP/Scheme world. Also, -$PRGNAM: less commonly, known as the Purple Book. -$PRGNAM: http://mitpress.mit.edu/sicp/ -$PRGNAM: http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ -$PRGNAM: http://www.neilvandyke.org/sicp-texi/ -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/sinatra-book/SlackBuild b/UNUSED/doc/sinatra-book/SlackBuild deleted file mode 100755 index 3bd696c1..00000000 --- a/UNUSED/doc/sinatra-book/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://sinatra-book.gittr.com/ - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (A book about the sinatra ruby micro-framework) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://sinatra-book.gittr.com/ -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/starting-forth/SlackBuild b/UNUSED/doc/starting-forth/SlackBuild deleted file mode 100755 index 7a0d7cfd..00000000 --- a/UNUSED/doc/starting-forth/SlackBuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - mkdir -p $REPOSITORIES/$PRGNAM - ( cd $REPOSITORIES/$PRGNAM - httrack http://home.iae.nl/users/mhx/sf.html - ) -else - ( cd $REPOSITORIES/$PRGNAM - httrack --update - ) -fi - -mkdir -p $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - -ebook-convert $PKG$PREFIX/doc/$PRGNAM/home.iae.nl/users/mhx/sf.html \ - $PKG$PREFIX/doc/$PRGNAM/$PRGNAM.epub \ - --authors="Leo Brodie" \ - --author-sort="Brodie, Leo" \ - --title="Starting FORTH" \ - --title-sort="Starting FORTH" \ - --cover=$PKG$PREFIX/doc/$PRGNAM/home.iae.nl/users/mhx/sf\ front.jpg \ - --language=English \ - --rating=5 - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Starting Forth» book) -$PRGNAM: -$PRGNAM: Starting Forth, First Edition is from 1981. These web pages were designed in -$PRGNAM: 2003, when it became apparent that SF would never be re-issued by the -$PRGNAM: copyright holder. A small supply of about 500 books was all that was left. -$PRGNAM: When you can get hold of the original, do so. -$PRGNAM: In this transcript Forth code has been ANSified. The samples should run on, -$PRGNAM: at least, iForth and SwiftForth. Where necessary, statements that were valid -$PRGNAM: in 1981 have been exchanged with statements more appropriate for 2003 (when -$PRGNAM: this tribute was written). -$PRGNAM: http://home.iae.nl/users/mhx/sf.html -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/the_C_book/SlackBuild b/UNUSED/doc/the_C_book/SlackBuild deleted file mode 100755 index 797483a3..00000000 --- a/UNUSED/doc/the_C_book/SlackBuild +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -ARCH=${ARCH:-$(uname -m)} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=${PKG:-$TMP/pkg-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# cleaning -rm -fr $PKG - -# get sources -wget -c http://publications.gbdirect.co.uk/c_book/the_c_book.pdf -O $CWD/the_c_book.pdf -wget -c http://publications.gbdirect.co.uk/c_book/thecbook.pdf -O $CWD/thecbook.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/*.pdf $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (The C book) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://publications.gbdirect.co.uk/c_book/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/thinking-forth/SlackBuild b/UNUSED/doc/thinking-forth/SlackBuild deleted file mode 100755 index c18e7d48..00000000 --- a/UNUSED/doc/thinking-forth/SlackBuild +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=1.0 -BUILD=1 - -ARCH=noarch - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/thinking-forth-color.pdf ] && mv $CWD/thinking-forth-color.pdf{,.orig} -wget -c "http://prdownloads.sourceforge.net/thinking-forth/thinking-forth-color.pdf?download" -O $CWD/thinking-forth-color.pdf -[ -e $CWD/thinking-forth-$VERSION.tar.bz2 ] && mv $CWD/thinking-forth-$VERSION.tar.bz2{,.orig} -wget -c "http://prdownloads.sourceforge.net/thinking-forth/thinking-forth-$VERSION.tar.bz2?download" -O $CWD/thinking-forth-$VERSION.tar.bz2 - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/thinking-forth-{color.pdf,$VERSION.tar.bz2} $PKG$PREFIX/doc/$PRGNAM - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM («Thinking Forth» book) -$PRGNAM: -$PRGNAM: Thinking Forth is a book about the philosophy of problem solving and programming -$PRGNAM: style, applied to the unique programming language Forth. Published first in 1984, -$PRGNAM: it could be among the timeless classics of computer books, such as Fred Brooks' -$PRGNAM: The Mythical Man-Month and Donald Knuth's The Art of Computer Programming. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://thinking-forth.sourceforge.net -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/doc/thinkpython/SlackBuild b/UNUSED/doc/thinkpython/SlackBuild deleted file mode 100755 index e9b9b0a8..00000000 --- a/UNUSED/doc/thinkpython/SlackBuild +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ -e $CWD/thinkpython.pdf ] && mv $CWD/thinkpython.pdf $CWD/thinkpython.pdf.orig -wget -c http://www.greenteapress.com/thinkpython/thinkpython.pdf -O $CWD/thinkpython.pdf - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $CWD/thinkpython.pdf $PKG$PREFIX/doc/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM («Python for Software Design» book) -$PRGNAM: -$PRGNAM: Python for Software Design is a concise introduction to software design using -$PRGNAM: the Python programming language. Intended for people with no programming -$PRGNAM: experience, this book starts with the most basic concepts and gradually adds -$PRGNAM: new material. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.greenteapress.com/thinkpython/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/e/Pymacs/SlackBuild b/UNUSED/e/Pymacs/SlackBuild deleted file mode 100755 index 6b992e3d..00000000 --- a/UNUSED/e/Pymacs/SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=0.24-beta2 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ChangeLog COPYING PKG-INFO README THANKS TODO" - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c --no-check-certificate https://github.com/pinard/Pymacs/tarball/v$VERSION \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - mv pinard-Pymacs-*/ $PRGNAM-$VERSION/ -) - -( cd $TMP/$PRGNAM-$VERSION - make - # installation - python setup.py install --root=$PKG - - mkdir -p $PKG$PREFIX/share/emacs/site-lisp/ - cp pymacs.el $PKG$PREFIX/share/emacs/site-lisp/ -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - [ ! -e $CWD/pymacs.html ] && \ - wget -c http://pymacs.progiciels-bpi.ca/pymacs.html -O $CWD/pymacs.html - cp -R $CWD/pymacs.html $PKG/usr/doc/$PRGNAM-$VERSION - [ ! -e $CWD/pymacs.pdf ] && \ - wget -c http://pymacs.progiciels-bpi.ca/pymacs.pdf -O $CWD/pymacs.pdf - cp -R $CWD/pymacs.pdf $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && rm $PKG/usr/info/dir - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Emacs-lisp <-> Python) -$PRGNAM: -$PRGNAM: Pymacs is a powerful tool which, once started from Emacs, allows both-way -$PRGNAM: communication between Emacs Lisp and Python. Pymacs aims Python as an -$PRGNAM: extension language for Emacs rather than the other way around, and this -$PRGNAM: asymmetry is reflected in some design choices. Within Emacs Lisp code, one -$PRGNAM: may load and use Python modules. Python functions may themselves use Emacs -$PRGNAM: services, and handle Emacs Lisp objects kept in Emacs Lisp space. -$PRGNAM: -$PRGNAM: http://pymacs.progiciels-bpi.ca/ -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/e/ahg/SlackBuild b/UNUSED/e/ahg/SlackBuild deleted file mode 100755 index 00321a16..00000000 --- a/UNUSED/e/ahg/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ - -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - hg clone https://gwh@bitbucket.org/agriggio/ahg $PRGNAM -fi - -( cd $REPOSITORY - hg pull -u -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .hg - mv *.txt $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A powerful and convenient-to-use Emacs frontend for Mercurial -$PRGNAM: -$PRGNAM: aHg is a simple Emacs_ front-end for the Mercurial_ (Hg) Distributed -$PRGNAM: Source Control Management (SCM) system. -$PRGNAM: Its aims are simplicity and ease of use. It was inspired by DVC_, but -$PRGNAM: it focuses exclusively on Mercurial instead of supporting multiple -$PRGNAM: Distributed SCMs. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.disi.unitn.it/~griggio/ahg.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/android-mode/SlackBuild b/UNUSED/e/android-mode/SlackBuild deleted file mode 100755 index f226228d..00000000 --- a/UNUSED/e/android-mode/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://github.com/remvee/android-mode.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - mv README $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Android development for Emacs) -$PRGNAM: -$PRGNAM: Emacs minor mode for Android application development. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/remvee/android-mode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/anything-config/SlackBuild b/UNUSED/e/anything-config/SlackBuild deleted file mode 100755 index 4bf7f2c5..00000000 --- a/UNUSED/e/anything-config/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://repo.or.cz/r/anything-config.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -find . \( -name ".git*" -o -name ".nosearch" \) -exec rm -fr {} \; - -make - -mv README doc/ $PKG$PREFIX/doc/$PRGNAM -rm Makefile - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (anything for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.emacswiki.org/emacs/Anything -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/auto-complete/SlackBuild b/UNUSED/e/auto-complete/SlackBuild deleted file mode 100755 index 580fcc0c..00000000 --- a/UNUSED/e/auto-complete/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone "https://github.com/m2ym/auto-complete.git" $REPOSITORY -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - make - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv *.txt doc/ etc/ Makefile $PKG$PREFIX/doc/$PRGNAM -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (auto-completion for Emacs) -$PRGNAM: -$PRGNAM: Auto Complete Mode is the most intelligent auto-completion extension -$PRGNAM: for GNU Emacs. Auto Complete Mode renews an old completion interface -$PRGNAM: and provides an environment that makes users could be more -$PRGNAM: concentrate on their own works. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://cx4a.org/software/auto-complete/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/autopair/SlackBuild b/UNUSED/e/autopair/SlackBuild deleted file mode 100755 index 85108330..00000000 --- a/UNUSED/e/autopair/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=trunk_$(date +"%Y.%m.%d_%H.%M") -BUILD=2 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - svn checkout http://$PRGNAM.googlecode.com/svn/trunk/ $PRGNAM -fi - -( cd $REPOSITORY - svn update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .svn - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs mode) -$PRGNAM: -$PRGNAM: Automagically pair braces and quotes like TextMate -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/autopair/ -$PRGNAM: http://emacs-fu.blogspot.com/2010/06/automatic-pairing-of-brackets-and.html -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/clojure-mode/SlackBuild b/UNUSED/e/clojure-mode/SlackBuild deleted file mode 100755 index 9e24d15e..00000000 --- a/UNUSED/e/clojure-mode/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=clojure-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/jochu/clojure-mode.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Clojjure in Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/jochu/clojure-mode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/coffee-mode/SlackBuild b/UNUSED/e/coffee-mode/SlackBuild deleted file mode 100755 index 7e7f339d..00000000 --- a/UNUSED/e/coffee-mode/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/defunkt/coffee-mode.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el - -# correction -chown -R root:root $PKG - -[ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -mv README* $PKG/usr/doc/$PRGNAM-$VERSION/ - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (CoffeeScript Emacs Major Mode) -$PRGNAM: -$PRGNAM: An Emacs major mode for CoffeeScript, unfancy JavaScript. -$PRGNAM: Provides syntax highlighting, indentation support, imenu support, -$PRGNAM: a menu bar, and a few cute commands. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://ozmm.org/posts/coffee_mode.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/company/SlackBuild b/UNUSED/e/company/SlackBuild deleted file mode 100755 index c0592847..00000000 --- a/UNUSED/e/company/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -# variables -VERSION=0.4.3 -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=company -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG - -# mise en place -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - $EMACS -batch -f batch-byte-compile src/*.el ext/*.el - - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv COPYING COPYING.qwe INSTALL NEWS README doc img test header.qwe index.qwe \ - $PKG$PREFIX/doc/$PRGNAM -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (completion library for Emacs) -$PRGNAM: -$PRGNAM: Company stands for "complete anything" and is a modular in-buffer completion -$PRGNAM: mechanism. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://nschum.de/src/emacs/company-mode/ -$PRGNAM: http://www.emacswiki.org/emacs/CompanyMode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/divers-el/SlackBuild b/UNUSED/e/divers-el/SlackBuild deleted file mode 100755 index 4df60d01..00000000 --- a/UNUSED/e/divers-el/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=divers-el -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -mkdir -p $CWD/els $CWD/themes - -elfileget_or_update() { - URL=$1 - FILENAME=$(echo "$URL" | grep -o -e "[/=][A-Za-z0-9+-]*\.el" | tr -d '=' | tr -d '/') - wget --no-check-certificate -T 10 -t 3 -c "$URL" -O $FILENAME.new - [ -s $FILENAME.new ] && mv $FILENAME.new $FILENAME || rm $FILENAME.new -} - -cd $CWD/els -for el in \ - "http://www.bobnewell.net/filez/writer-names.el" \ - "https://gitorious.org/robmyers/scripts/blobs/raw/master/artbollocks-mode.el" \ - "http://kanis.fr/hg/lisp/ivan/verbiste.el" \ - "https://github.com/metajack/jekyll/raw/master/emacs/jekyll.el" \ - "http://www.bobnewell.net/elisp/speedread.el" \ - "http://www.ccs.neu.edu/home/guttman/undoc.el" ; -do - elfileget_or_update "$el" -done - -cd $CWD/themes -for el in \ - "https://github.com/monotux/emacs-d/raw/master/themes/whiteboard-theme.el" \ - "http://edward.oconnor.cx/config/elisp/hober2-theme.el" ; -do - elfileget_or_update "$el" -done - -mkdir -p $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes $PKG$PREFIX/share/emacs/site-lisp/ -cd $PKG$PREFIX/share/emacs/site-lisp/ -cp $CWD/els/*.el $CWD/*.el . -$EMACS -batch -f batch-byte-compile *.el -cd $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes -cp $CWD/themes/*.el . - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (misc el files for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/divers-el/pong.el b/UNUSED/e/divers-el/pong.el deleted file mode 100644 index 67582944..00000000 --- a/UNUSED/e/divers-el/pong.el +++ /dev/null @@ -1,289 +0,0 @@ -;;; pong.el v0.1 --- Emacs implementation of pong - -;; Copyright (C) 1999 by Free Software Foundation, Inc. - -;; Author: Benjamin Drieu -;; Keywords: games - -;; This file is NOT part of GNU Emacs. - -;; GNU Emacs and this file are free software; you can redistribute -;; them and/or modify them under the terms of the GNU General Public -;; License as published by the Free Software Foundation; either -;; version 2, or (at your option) any later version. - -;; GNU Emacs and this file are distributed in the hope that they will -;; be useful, but WITHOUT ANY WARRANTY; without even the implied -;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -;; See the GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. - -;;; Commentary: - -;; This is an implementation of the classical game pong. - -;;; Code: - -(require 'cl) -(require 'gamegrid) - -(defvar pong-buffer-name "*Pong*") - -(defvar pong-width 50) -(defvar pong-height 30) -(defvar pong-raquette-width 3) -(defvar pong-raoul-raquette (/ (- pong-height pong-raquette-width) 2)) -(defvar pong-albert-raquette 10) -(defvar pong-xx -1) -(defvar pong-yy 1) -(defvar pong-x (/ pong-width 2)) -(defvar pong-y (/ pong-height 2)) - -(defvar pong-mode-map - (make-sparse-keymap 'pong-mode-map)) - -(defvar pong-null-map - (make-sparse-keymap 'pong-null-map)) - -(define-key pong-mode-map [left] 'pong-move-left) -(define-key pong-mode-map [right] 'pong-move-right) -(define-key pong-mode-map [up] 'pong-move-up) -(define-key pong-mode-map [down] 'pong-move-down) -(define-key pong-mode-map "q" 'pong-quit) -(define-key pong-mode-map "p" 'pong-pause) - -(defvar pong-blank-options - '(((glyph colorize) - (t ?\040)) - ((color-x color-x) - (mono-x grid-x) - (color-tty color-tty)) - (((glyph color-x) [0 0 0]) - (color-tty "black")))) - -(defvar pong-brick-options - '(((glyph colorize) - (emacs-tty ?O) - (t ?\040)) - ((color-x color-x) - (mono-x mono-x) - (color-tty color-tty) - (mono-tty mono-tty)) - (((glyph color-x) [1 1 0]) - (color-tty "yellow")))) - -(defvar pong-dot-options - '(((glyph colorize) - (t ?\*)) - ((color-x color-x) - (mono-x grid-x) - (color-tty color-tty)) - (((glyph color-x) [1 0 0]) - (color-tty "red")))) - -(defvar pong-border-options - '(((glyph colorize) - (t ?\+)) - ((color-x color-x) - (mono-x grid-x)) - (((glyph color-x) [0.5 0.5 0.5]) - (color-tty "white")))) - -(defvar pong-space-options - '(((t ?\040)) - nil - nil)) - -(defconst pong-blank 0) -(defconst pong-brick 1) -(defconst pong-dot 2) -(defconst pong-border 3) -(defconst pong-space 4) - -(defun pong-display-options () - (let ((options (make-vector 256 nil))) - (loop for c from 0 to 255 do - (aset options c - (cond ((= c pong-blank) - pong-blank-options) - ((= c pong-brick) - pong-brick-options) - ((= c pong-dot) - pong-dot-options) - ((= c pong-border) - pong-border-options) - ((= c pong-space) - pong-space-options) - (t - '(nil nil nil))))) - options)) - -(defun pong-init-buffer () - (interactive) - (get-buffer-create pong-buffer-name) - (switch-to-buffer pong-buffer-name) - (use-local-map pong-mode-map) - - (setq gamegrid-use-glyphs t) - (setq gamegrid-use-color t) - (gamegrid-init (pong-display-options)) - - (gamegrid-init-buffer pong-width - (+ 2 pong-height) - 1) - - (let ((buffer-read-only nil)) - (loop for y from 0 to (1- pong-height) do - (loop for x from 0 to (1- pong-width) do - (gamegrid-set-cell x y pong-border))) - (loop for y from 1 to (- pong-height 2) do - (loop for x from 1 to (- pong-width 2) do - (gamegrid-set-cell x y pong-blank)))) - - (loop for y from pong-raoul-raquette to (1- (+ pong-raoul-raquette pong-raquette-width)) do - (gamegrid-set-cell 2 y pong-brick)) - (loop for y from pong-albert-raquette to (1- (+ pong-albert-raquette pong-raquette-width)) do - (gamegrid-set-cell (- pong-width 3) y pong-brick) -)) - -(defun pong-move-left () - "" - (interactive) - (if (> pong-raoul-raquette 1) - (and - (setq pong-raoul-raquette (1- pong-raoul-raquette)) - (pong-update-raquette pong-raoul-raquette 2 pong-raoul-raquette)))) - -(defun pong-move-right () - "" - (interactive) - (if (< (+ pong-raoul-raquette pong-raquette-width) (1- pong-height)) - (and - (setq pong-raoul-raquette (1+ pong-raoul-raquette)) - (pong-update-raquette pong-raoul-raquette 2 pong-raoul-raquette)))) - -(defun pong-move-up () - "" - (interactive) - (if (> pong-albert-raquette 1) - (and - (setq pong-albert-raquette (1- pong-albert-raquette)) - (pong-update-raquette pong-albert-raquette (- pong-width 3) pong-albert-raquette)))) - -(defun pong-move-down () - "" - (interactive) - (if (< (+ pong-albert-raquette pong-raquette-width) (1- pong-height)) - (and - (setq pong-albert-raquette (1+ pong-albert-raquette)) - (pong-update-raquette pong-albert-raquette (- pong-width 3) pong-albert-raquette)))) - -(defun pong-update-raquette (pong-raquette x y) - (gamegrid-set-cell x y pong-brick) - (gamegrid-set-cell x (1- (+ y pong-raquette-width)) pong-brick) - (if (> y 1) - (gamegrid-set-cell x (1- y) pong-blank)) - (if (< (+ pong-raquette pong-raquette-width) (1- pong-height)) - (gamegrid-set-cell x (+ y pong-raquette-width) pong-blank))) - -(defun pong () - "" - (interactive) - (setq pong-raoul-score 0) - (setq pong-albert-score 0) - (pong-init-game)) - -(defun pong-init-game () - (cancel-function-timers 'pong-update-game) - (setq pong-raquette-width 3) - (setq pong-raoul-raquette (/ (- pong-height pong-raquette-width) 2)) - (setq pong-albert-raquette pong-raoul-raquette) - (setq pong-xx -1) - (setq pong-yy 0) - (setq pong-x (/ pong-width 2)) - (setq pong-y (/ pong-height 2)) - (pong-init-buffer) - (gamegrid-start-timer 0.1 'pong-update-game) - (pong-update-score)) - -(defun pong-update-game (pong-buffer) - "" - (let ((old-x pong-x) - (old-y pong-y)) - - (setq pong-x (+ pong-x pong-xx)) - (setq pong-y (+ pong-y pong-yy)) - - (if (and (> old-y 0) - (< old-y (- pong-height 1))) - (gamegrid-set-cell old-x old-y pong-blank)) - - (if (and (> pong-y 0) - (< pong-y (- pong-height 1))) - (gamegrid-set-cell pong-x pong-y pong-dot)) - - (cond - ((or (= pong-x 3) (= pong-x 2)) - (if (and (>= pong-y pong-raoul-raquette) - (< pong-y (+ pong-raoul-raquette pong-raquette-width))) - (and - (setq pong-yy (+ pong-yy - (cond - ((= pong-y pong-raoul-raquette) -1) - ((= pong-y (1+ pong-raoul-raquette)) 0) - (t 1)))) - (setq pong-xx (- pong-xx))))) - - ((or (= pong-x (- pong-width 4)) (= pong-x (- pong-width 3))) - (if (and (>= pong-y pong-albert-raquette) - (< pong-y (+ pong-albert-raquette pong-raquette-width))) - (and - (setq pong-yy (+ pong-yy - (cond - ((= pong-y pong-albert-raquette) -1) - ((= pong-y (1+ pong-albert-raquette)) 0) - (t 1)))) - (setq pong-xx (- pong-xx))))) - - ((<= pong-y 1) - (setq pong-yy (- pong-yy))) - - ((>= pong-y (- pong-height 2)) - (setq pong-yy (- pong-yy))) - - ((< pong-x 1) - (setq pong-albert-score (1+ pong-albert-score)) - (pong-init-game)) - - ((>= pong-x (- pong-width 1)) - (setq pong-raoul-score (1+ pong-raoul-score)) - (pong-init-game))))) - -(defun pong-update-score () - (let* ((string (format "Score: %d / %d" pong-raoul-score pong-albert-score)) - (len (length string))) - (loop for x from 0 to (1- len) do - (gamegrid-set-cell x - pong-height - (aref string x))))) - -(defun pong-pause () - (interactive) - (define-key pong-mode-map "p" 'pong-resume) - (cancel-function-timers (quote pong-update-game))) - -(defun pong-resume () - (interactive) - (define-key pong-mode-map "p" 'pong-pause) - (gamegrid-start-timer 0.1 'pong-update-game)) - -(defun pong-quit () - (interactive) - (cancel-function-timers (quote pong-update-game)) - (kill-buffer pong-buffer-name)) - -;;; pong.el ends here diff --git a/UNUSED/e/django-mode/SlackBuild b/UNUSED/e/django-mode/SlackBuild deleted file mode 100755 index 45b6a8b7..00000000 --- a/UNUSED/e/django-mode/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "http://github.com/myfreeweb/django-mode" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv *.md $PKG$PREFIX/doc/$PRGNAM -rm .gitignore -$EMACS -batch -f batch-byte-compile *.el - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Django mode and snippets for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/myfreeweb/django-mode -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/egg/SlackBuild b/UNUSED/e/egg/SlackBuild deleted file mode 100755 index 409f0417..00000000 --- a/UNUSED/e/egg/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -BRANCH=master -VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone http://github.com/byplayer/egg.git $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -# correction -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - find . -name .git\* -exec rm -fr {} \; - chown -R root:root * - - $EMACS -batch -f batch-byte-compile *.el - - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ - mv doc/ CHANGELOG.markdown README.markdown $PKG/usr/doc/$PRGNAM-$VERSION/ -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs Got Git) -$PRGNAM: -$PRGNAM: Egg is an Emacs interface to git. It's a suite composed of a -$PRGNAM: minor-mode and various special-buffers presenting different UIs to help -$PRGNAM: the user performing many git operations. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/byplayer/egg -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/e/emacs-calfw/SlackBuild b/UNUSED/e/emacs-calfw/SlackBuild deleted file mode 100755 index a9297bc4..00000000 --- a/UNUSED/e/emacs-calfw/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "https://github.com/kiwanami/emacs-calfw.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A calendar framework for Emacs) -$PRGNAM: -$PRGNAM: This program displays a calendar view in the Emacs buffer. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/kiwanami/emacs-calfw#readme -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-chess/SlackBuild b/UNUSED/e/emacs-chess/SlackBuild deleted file mode 100755 index d518eeac..00000000 --- a/UNUSED/e/emacs-chess/SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=2 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=emacs-chess -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/jwiegley/emacs-chess.git" $PRGNAM -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP -cd $TMP/$PRGNAM -./autogen.sh -./configure \ - --prefix=$PREFIX \ - --infodir=$PREFIX/info -make -make install DESTDIR=$PKG -rm $PKG$PREFIX/info/dir -find $PKG$PREFIX/info/ -type f -name \*.info -exec gzip -9 {} \; - -VERSION=$(grep version $PKG$PREFIX/share/emacs/site-lisp/_pkg.el | grep -o '[0-9.]*')_$VERSION - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/doinst.sh -cd /usr/info -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A complete chess client written in Emacs Lisp.) -$PRGNAM: -$PRGNAM: a client and library for playing Chess from Emacs. -$PRGNAM: chess.el is an Emacs Lisp library and several clients on top of the -$PRGNAM: underlying library functionality for performing various activities -$PRGNAM: related to the game of chess. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/jwiegley/emacs-chess -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-for-python/SlackBuild b/UNUSED/e/emacs-for-python/SlackBuild deleted file mode 100755 index 89475c2f..00000000 --- a/UNUSED/e/emacs-for-python/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/gabrielelanaro/emacs-for-python.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el - -# correction -chown -R root:root $PKG - -[ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -mv README* C* docs/ $PKG/usr/doc/$PRGNAM-$VERSION/ - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs customization for python development) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: (needs pyflakes & pymacs) -$PRGNAM: -$PRGNAM: http://github.com/gabrielelanaro/emacs-for-python -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-jabber/SlackBuild b/UNUSED/e/emacs-jabber/SlackBuild deleted file mode 100755 index a6fd5489..00000000 --- a/UNUSED/e/emacs-jabber/SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - #git clone git://emacs-jabber.git.sourceforge.net/gitroot/emacs-jabber/emacs-jabber $REPOSITORY - git clone http://github.com/semka/emacs-jabber.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP -cd $TMP/$PRGNAM -autoreconf # -automake --add-missing # Fucking ugly, I know -autoreconf # -./configure \ - --prefix=$PREFIX \ - --infodir=$PREFIX/info -make -make install DESTDIR=$PKG -rm $PKG$PREFIX/info/dir -find $PKG$PREFIX/info/ -type f -exec gzip -9 {} \; - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/doinst.sh -cd /usr/info -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Jabber client for Emacs) -$PRGNAM: -$PRGNAM: jabber.el is a Jabber client for Emacs. It may seem strange to have -$PRGNAM: a chat client in an editor, but consider that chatting is, after all, -$PRGNAM: just a special case of text editing. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://emacs-jabber.sourceforge.net/ -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-nav/SlackBuild b/UNUSED/e/emacs-nav/SlackBuild deleted file mode 100755 index 8f732d11..00000000 --- a/UNUSED/e/emacs-nav/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=2 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=emacs-nav -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - hg clone https://emacs-nav.googlecode.com/hg/ $PRGNAM -fi - -( cd $REPOSITORY - hg pull -u -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .hg - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs file browser) -$PRGNAM: Nav is a lightweight solution for Emacs users who want something like -$PRGNAM: TextMate's file browser, or the Eclipse project view. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/emacs-nav/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-rails/SlackBuild b/UNUSED/e/emacs-rails/SlackBuild deleted file mode 100755 index b09ac1c6..00000000 --- a/UNUSED/e/emacs-rails/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/remvee/emacs-rails.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el - -# correction -chown -R root:root $PKG - -[ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv History ChangeLog README.textile $PKG$PREFIX/doc/$PRGNAM - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Ruby on Rails minor mode for Emacs) -$PRGNAM: -$PRGNAM: It is the minor mode for editing Ruby On Rails code with Emacs. This -$PRGNAM: minor mode makes your work much easier and user friendly. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/remvee/emacs-rails -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-sokoban/SlackBuild b/UNUSED/e/emacs-sokoban/SlackBuild deleted file mode 100755 index 991a1f16..00000000 --- a/UNUSED/e/emacs-sokoban/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -# variables -VERSION=0.14.1 -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=emacs-sokoban -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && \ - wget -c -O $CWD/$PRGNAM-$VERSION.tar.gz http://www.sha-bang.de/content/15_emacs/emacs-sokoban-$VERSION.tar.gz - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp - -( cd $PKG$PREFIX/share/emacs/site-lisp/ - tar xf $CWD/$PRGNAM-$VERSION.tar.gz - cd $PRGNAM-$VERSION - find . -name "*.el" -exec $EMACS -batch -f batch-byte-compile {} \; -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Sokoban for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.emacswiki.org/emacs/SokobanMode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-w3m/SlackBuild b/UNUSED/e/emacs-w3m/SlackBuild deleted file mode 100755 index c2f29b70..00000000 --- a/UNUSED/e/emacs-w3m/SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-cvs_$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - echo "Press [Enter]" - cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot login - cvs -d :pserver:anonymous@cvs.namazu.org:/storage/cvsroot co $PRGNAM -fi - -( cd $REPOSITORY - cvs update -) - -if [ ! -e $REPOSITORY ] ; then - [ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && rm $CWD/$PRGNAM-$VERSION.tar.gz - wget -c "http://cvs.namazu.org/emacs-w3m.tar.gz?view=tar" -O $CWD/$PRGNAM-$VERSION.tar.gz - ( cd $TMP - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz - mv $PRGNAM $PRGNAM-$VERSION - ) -else - cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -fi -( cd $TMP/$PRGNAM-$VERSION - zcat $CWD/widget-mouse-face.patch.gz | patch -p1 - autoreconf - ./configure \ - --prefix=$PREFIX \ - --infodir=$PREFIX/info \ - --mandir=$PREFIX/man - make - make install prefix=$PKG$PREFIX -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (a simple Emacs interface to w3m.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://emacs-w3m.namazu.org/ -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacs-w3m/widget-mouse-face.patch.gz b/UNUSED/e/emacs-w3m/widget-mouse-face.patch.gz deleted file mode 100644 index ad4af75c..00000000 Binary files a/UNUSED/e/emacs-w3m/widget-mouse-face.patch.gz and /dev/null differ diff --git a/UNUSED/e/emacsweblogs/SlackBuild b/UNUSED/e/emacsweblogs/SlackBuild deleted file mode 100755 index 2cfdfe5a..00000000 --- a/UNUSED/e/emacsweblogs/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=emacsweblogs -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - bzr branch "http+urllib://bzr.savannah.gnu.org/r/emacsweblogs/" $PRGNAM -fi - -( cd $REPOSITORY - bzr update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY/lisp/ $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .bzr - find . -name "*.el" -exec $EMACS -batch -f batch-byte-compile {} \; -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Blogs for Emacs) -$PRGNAM: -$PRGNAM: A weblogging client written in pure elsip for emacs. Works with a number of -$PRGNAM: blogging softwares. It also supports utf-8. Some of the API that it supports -$PRGNAM: are BloggerAPI, MetaWeblog and MT API. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.emacswiki.org/emacs/WebloggerMode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emacswiki/SlackBuild b/UNUSED/e/emacswiki/SlackBuild deleted file mode 100755 index 81631db5..00000000 --- a/UNUSED/e/emacswiki/SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=${BUILD:-1} - -ARCH=emacs - -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM - -REPOSITORIES=/home/installs/SlackBuilds/repositories -PREFIX=/usr - -rm -rf $PKG - -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone "http://github.com/emacsmirror/emacswiki.org.git" $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi - -mkdir -p $PKG/$PREFIX/doc/ -cd $PKG/$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PRGNAM -cd $PRGNAM -git checkout master -rm -fr .git - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM/ -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM/ -for el in \ - "task-timer.el" \ - "no-word.el" \ - "quick-jump.el" \ - "alarm.el" \ - "lusty-explorer.el" \ - "palette.el" \ - "openpaste.el" \ - "snipplr.el" \ - "legalese.el" \ - "workspaces.el" \ - "auto-complete.el" \ - "dom.el" \ - "babel.el" \ - "cheezburger.el" \ - "folding.el" \ - "sunrise-commander.el" \ - "sunrise-x-buttons.el" \ - "sunrise-x-checkpoints.el" \ - "sunrise-x-loop.el" \ - "sunrise-x-mirror.el" \ - "sunrise-x-modeline.el" \ - "sunrise-x-old-checkpoints.el" \ - "sunrise-x-popviewer.el" \ - "sunrise-x-tabs.el" \ - "sunrise-x-tree.el" \ - "fixme-mode.el" \ - "work-timer.el" \ - "showtip.el" \ - "sdcv.el" \ - "etxt.el" \ - "htmlr.el" \ - "cus-edit+.el" \ - "newsticker-notify.el" ; -do - [ -e "$PKG$PREFIX/doc/$PRGNAM/$el" ] && ln -s "$PREFIX/doc/$PRGNAM/$el" "$el" ; -done - -cd $PKG -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (a local mirror of EmacsWiki) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://emacswiki.org/ -$PRGNAM: -$PRGNAM: -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/e/emms/SlackBuild b/UNUSED/e/emms/SlackBuild deleted file mode 100755 index d25dc346..00000000 --- a/UNUSED/e/emms/SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "git://git.sv.gnu.org/emms.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $TMP -( cd $TMP/$PRGNAM - make PREFIX=$PREFIX - mkdir -p $PKG$PREFIX/info $PKG$PREFIX/man/man1 $PKG$PREFIX/share/emacs/site-lisp - make install \ - PREFIX=$PKG$PREFIX \ - INFODIR=$PKG$PREFIX/info \ - MAN1DIR=$PKG$PREFIX/man/man1 \ - SITELISP=$PKG$PREFIX/share/emacs/site-lisp - - mkdir -p $PKG$PREFIX/doc/$PRGNAM - cp -R AUTHORS COPYING FAQ NEWS README RELEASE doc/ $PKG$PREFIX/doc/$PRGNAM/ -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/info -type f -not -name "*.gz" -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (The Emacs Multimedia System) -$PRGNAM: -$PRGNAM: EMMS is the Emacs Multimedia System. It tries to be a clean and small -$PRGNAM: application to play multimedia files from Emacs using external players. -$PRGNAM: Many of it's ideas are derived from MpthreePlayer , but it tries to be -$PRGNAM: more general and cleaner. -$PRGNAM: The fact that EMMS is based on external players makes it powerful, -$PRGNAM: because it supports all formats that those players support, with no -$PRGNAM: effort from your side. -$PRGNAM: -$PRGNAM: http://github.com/jwiegley/emacs-chess -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/emstar/SlackBuild b/UNUSED/e/emstar/SlackBuild deleted file mode 100755 index 3fd87df1..00000000 --- a/UNUSED/e/emstar/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=emstar -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/gwenhael-le-moine/emstar.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emstar in Emacs) -$PRGNAM: -$PRGNAM: A clone of a HP48 game called dstar -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/gwenhael-le-moine/emstar -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/espresso/SlackBuild b/UNUSED/e/espresso/SlackBuild deleted file mode 100755 index 9eac616f..00000000 --- a/UNUSED/e/espresso/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=espresso -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $CWD/$PRGNAM.el ] ; then - ( cd $CWD - wget -c http://download.savannah.gnu.org/releases-noredirect/espresso/espresso.el - ) -fi -if [ ! -e $CWD/moz.el ] ; then - ( cd $CWD - wget -c http://download.savannah.gnu.org/releases-noredirect/espresso/moz.el - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -cp -R $CWD/$PRGNAM.el $CWD/moz.el $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Javascript mode for Emacs) -$PRGNAM: -$PRGNAM: espresso-mode is a Javascript-mode for GNU Emacs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.nongnu.org/espresso/ -$PRGNAM: (need http://wiki.github.com/bard/mozrepl/ ) -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/geiser/SlackBuild b/UNUSED/e/geiser/SlackBuild deleted file mode 100755 index a357193b..00000000 --- a/UNUSED/e/geiser/SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.sv.gnu.org/r/geiser.git" $PRGNAM -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG #$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $TMP -( cd $TMP/$PRGNAM - rm -fr .git* - ./autogen.sh - ./configure \ - --prefix=$PREFIX \ - --infodir=$PREFIX/info - - make - make install DESTDIR=$PKG - rm $PKG$PREFIX/info/dir -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -cd /usr/info -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Scheme modes for Emacs) -$PRGNAM: -$PRGNAM: Geiser is a collection of Emacs major and minor modes that conspire with one -$PRGNAM: or more Scheme interpreters to keep the Lisp Machine Spirit alive. It draws -$PRGNAM: inspiration (and a bit more) from environments such as Common Lisp’s Slime, -$PRGNAM: Factor’s FUEL, Squeak or Emacs itself, and does its best to make Scheme -$PRGNAM: hacking inside Emacs (even more) fun. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.nongnu.org/geiser/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/gist-el/SlackBuild b/UNUSED/e/gist-el/SlackBuild deleted file mode 100755 index 08af8a39..00000000 --- a/UNUSED/e/gist-el/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/defunkt/gist.el.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el - -# correction -chown -R root:root $PKG - -[ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -mv README* $PKG/usr/doc/$PRGNAM-$VERSION/ - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Yet another Emacs paste mode, this one for Gist.) -$PRGNAM: -$PRGNAM: gist.el -- Emacs integration for gist.github.com -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/defunkt/gist.el -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/google-maps/SlackBuild b/UNUSED/e/google-maps/SlackBuild deleted file mode 100755 index 43ec6654..00000000 --- a/UNUSED/e/google-maps/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.naquadah.org/git/google-maps.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Google Maps for Emacs) -$PRGNAM: -$PRGNAM: The google-maps Emacs extension allows to display Google Maps directly -$PRGNAM: inside Emacs. -$PRGNAM: -$PRGNAM: It fully implements the Google Static Maps API and the Google Maps -$PRGNAM: Geocoding API. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://julien.danjou.info/google-maps-el.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/google-weather-el/SlackBuild b/UNUSED/e/google-weather-el/SlackBuild deleted file mode 100755 index 5241f08e..00000000 --- a/UNUSED/e/google-weather-el/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.naquadah.org/git/google-weather-el.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Google Weather for Emacs) -$PRGNAM: -$PRGNAM: The google-weather Emacs extension allows to run access the Google Weather API -$PRGNAM: from Emacs. -$PRGNAM: -$PRGNAM: It includes org-google-weather, which can be used to add weather forecast in -$PRGNAM: your Org agenda. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://julien.danjou.info/google-weather-el.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/groovy-emacs-mode/SlackBuild b/UNUSED/e/groovy-emacs-mode/SlackBuild deleted file mode 100755 index 1f96dee7..00000000 --- a/UNUSED/e/groovy-emacs-mode/SlackBuild +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - bzr branch "lp:groovy-emacs-mode" $PRGNAM -fi - -( cd $REPOSITORY - bzr pull - bzr update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .bzr - find . -name "*.el" -exec $EMACS -batch -f batch-byte-compile {} \; - # mkdir -p $PKG$PREFIX/doc - # mv nxhtml $PKG$PREFIX/doc/$PRGNAM-$VERSION - # mv README.txt $PKG$PREFIX/doc/$PRGNAM-$VERSION -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Groovy mode for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://groovy.codehaus.org/Emacs+Mode -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/haml-mode/SlackBuild b/UNUSED/e/haml-mode/SlackBuild deleted file mode 100755 index 4312e865..00000000 --- a/UNUSED/e/haml-mode/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ - -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone http://github.com/nex3/haml-mode.git $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - mv *LICENSE $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs Major mode for editing Haml files) -$PRGNAM: -$PRGNAM: Emacs mode for Haml. [ http://haml-lang.com ] -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/nex3/haml-mode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/helm/SlackBuild b/UNUSED/e/helm/SlackBuild deleted file mode 100755 index 61ff3bf9..00000000 --- a/UNUSED/e/helm/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/emacs-helm/helm $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -find . \( -name ".git*" -o -name ".nosearch" \) -exec rm -fr {} \; - -make - -mv README doc/ $PKG$PREFIX/doc/$PRGNAM -rm Makefile - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (completion and selection narrowing framework for Emacs) -$PRGNAM: -$PRGNAM: Helm is incremental completion and selection narrowing framework for -$PRGNAM: Emacs. It will help steer you in the right direction when you're -$PRGNAM: looking for stuff in Emacs (like buffers, files, etc). -$PRGNAM: -$PRGNAM: Helm is a fork of anything.el and can be considered to be its -$PRGNAM: successor. -$PRGNAM: -$PRGNAM: http://github.com/emacs-helm/helm -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/html-script-src/SlackBuild b/UNUSED/e/html-script-src/SlackBuild deleted file mode 100755 index 91108765..00000000 --- a/UNUSED/e/html-script-src/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://github.com/rejeep/html-script-src.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Easy script tags in Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/rejeep/html-script-src -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/identica-mode/SlackBuild b/UNUSED/e/identica-mode/SlackBuild deleted file mode 100755 index cb2b6c38..00000000 --- a/UNUSED/e/identica-mode/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=identica-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.savannah.gnu.org/cgit/identica-mode.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Identi.ca in Emacs) -$PRGNAM: -$PRGNAM: GNU Emacs mode for laconi.ca microblogging service. You can view your -$PRGNAM: friend’s update list and post and update of your status. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://blog.nethazard.net/identica-mode-for-emacs/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/js2-mode/SlackBuild b/UNUSED/e/js2-mode/SlackBuild deleted file mode 100755 index 08847b4d..00000000 --- a/UNUSED/e/js2-mode/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=3 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=js2-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/szimek/js2-mode.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv README.md $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Enhanced JavaScript IDE Emacs Mode) -$PRGNAM: -$PRGNAM: An twice improved JavaScript mode for GNU Emacs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/szimek/js2-mode -$PRGNAM: http://code.google.com/p/js2-mode/ -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/magit/SlackBuild b/UNUSED/e/magit/SlackBuild deleted file mode 100755 index 1b463279..00000000 --- a/UNUSED/e/magit/SlackBuild +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh - -# variables -BRANCH=master -VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone http://github.com/magit/magit.git $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - sed -i 's|/share/info|/info|g' Makefile - make PREFIX=$PREFIX - - make PREFIX=$PREFIX DESTDIR=$PKG install -) - -# correction -( cd $PKG - chown -R root:root * - - [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - - rm $PKG$PREFIX/info/dir - [ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*" -exec gzip -9f {} \; - - [ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - - # magit wants to install etc/emacs/site-start.d/50magit.el which seems to be a debianism - # and I think it sucks, so rm - # it'll be in $PKG/usr/doc/$PRGNAM-$VERSION/ if you want it - rm -r $PKG/etc - - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ - cp 50magit.el COPYING AUTHORS ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION/ -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A Emacs mode for Git) -$PRGNAM: With Magit, you can inspect and modify your Git repositories with Emacs. -$PRGNAM: You can review and commit the changes you have made to the tracked files, -$PRGNAM: for example, and you can browse the history of past changes. There is -$PRGNAM: support for cherry picking, reverting, merging, rebasing, and other -$PRGNAM: common Git operations. -$PRGNAM: -$PRGNAM: http://zagadka.vm.bytemark.co.uk/magit/magit.html -$PRGNAM: http://daemianmack.com/magit-cheatsheet.html -$PRGNAM: -$PRGNAM: http://zagadka.vm.bytemark.co.uk/magit/ -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/malabar-mode/SlackBuild b/UNUSED/e/malabar-mode/SlackBuild deleted file mode 100755 index 9045648c..00000000 --- a/UNUSED/e/malabar-mode/SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:=$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:=1} -GIT_TAG=${GIT_TAG:=latest} - -TAG=${TAG:=gwh} -OUTPUT=${OUTPUT:=/tmp} -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=${PKG:=$TMP/pkg-$PRGNAM} - -ARCH=${ARCH:=java} - -REPOSITORY=${REPOSITORY:=/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:=/usr} - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# mise en place -mkdir -p $TMP/ -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "http://github.com/espenhw/malabar-mode.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM* - -mkdir -p $PKG - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -if [ "x$GIT_TAG" != "x" ]; then - if [ "x$GIT_TAG" == "xlatest" ]; then - GIT_TAG=$(git tag | tail -n1 | grep -o "[0-9\.]*") - fi - git checkout malabar-$GIT_TAG - VERSION=$GIT_TAG -fi -mvn package -Dmaven.skip.test=true - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp -unzip $TMP/$PRGNAM/target/malabar-*-dist.zip -ln -s malabar-* malabar -cd malabar -chmod -x COPYING.txt README.md - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A better Java mode for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/espenhw/malabar-mode/ -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/mineswipper.el/SlackBuild b/UNUSED/e/mineswipper.el/SlackBuild deleted file mode 100755 index ea7f8ec1..00000000 --- a/UNUSED/e/mineswipper.el/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -x - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=2 - - -TAG=cyco -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - hg clone http://bitbucket.org/zck/minesweeper.el $PRGNAM -fi - -( cd $REPOSITORY - hg pull -u -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .hg - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Mineswipper game for Emacs) -$PRGNAM: -$PRGNAM: A minesweeper implementation for Emacs. -$PRGNAM: To start a game, run M-x minesweeper . Reveal a square by pressing -$PRGNAM: the spacebar, enter, or the x key. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://bitbucket.org/zck/minesweeper.el -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/mmm-mode/SlackBuild b/UNUSED/e/mmm-mode/SlackBuild deleted file mode 100755 index 69266e06..00000000 --- a/UNUSED/e/mmm-mode/SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=mmm-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/purcell/mmm-mode.git" $PRGNAM -else - cd $REPOSITORY - git pull -fi - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -./autogen.sh -./configure \ - --prefix=/usr \ - --infodir=/usr/info -make -make install DESTDIR=$PKG -rm $PKG/usr/info/dir - -find $PKG/usr/info/* -type f -exec gzip -9 {} \; - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (MMM Mode for Emacs) -$PRGNAM: -$PRGNAM: MMM Mode is a minor mode for Emacs that allows Multiple Major Modes -$PRGNAM: to coexist in one buffer. It is well-suited to editing: -$PRGNAM: * Preprocessed code, such as server-side Perl or PHP embedded in -$PRGNAM: HTML -$PRGNAM: * Code generating code, such as HTML output by CGI scripts -$PRGNAM: * Embedded code, such as Javascript in HTML -$PRGNAM: * Literate programming: code interspersed with documentation, -$PRGNAM: e.g. Noweb -$PRGNAM: -$PRGNAM: https://github.com/purcell/mmm-mode -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/monky/SlackBuild b/UNUSED/e/monky/SlackBuild deleted file mode 100755 index 1e8409cc..00000000 --- a/UNUSED/e/monky/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/ananthakumaran/monky.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -find . \( -name ".git*" -o -name ".nosearch" \) -exec rm -fr {} \; -find . -type d \( -name "*emacs21" -o -name "win-curl" \) -exec rm -fr {} \; -$EMACS -batch -f batch-byte-compile *.el -mv README.md monky.{texi,info} $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Magit for Hg) -$PRGNAM: -$PRGNAM: An Emacs mode for Hg -$PRGNAM: Monky provides an interactive interface for Hg. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://ananthakumaran.in/monky/index.html -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/multi-web-mode/SlackBuild b/UNUSED/e/multi-web-mode/SlackBuild deleted file mode 100755 index 44de5e99..00000000 --- a/UNUSED/e/multi-web-mode/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://github.com/fgallina/multi-web-mode.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -find . \( -name ".git*" -o -name ".nosearch" \) -exec rm -fr {} \; -mv README LICENSE mweb-example-config.el $PKG$PREFIX/doc/$PRGNAM -$EMACS -batch -f batch-byte-compile *.el - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Web Editing for Emacs) -$PRGNAM: -$PRGNAM: Multi Web Mode is a minor mode wich makes web editing in -$PRGNAM: Emacs much easier. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/fgallina/multi-web-mode -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/naquadah-theme/SlackBuild b/UNUSED/e/naquadah-theme/SlackBuild deleted file mode 100755 index 1118be65..00000000 --- a/UNUSED/e/naquadah-theme/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -if [ -e $REPOSITORY ]; then - ( cd $REPOSITORY - git pull - ) -else - git clone http://git.naquadah.org/git/naquadah-theme.git $REPOSITORY -fi - -mkdir -p $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes - -cd $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes -cp $REPOSITORY/*.el . - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Naquadah theme for Emacs 24) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/nxhtml/SlackBuild b/UNUSED/e/nxhtml/SlackBuild deleted file mode 100755 index 328bbf3b..00000000 --- a/UNUSED/e/nxhtml/SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=nxhtml -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - bzr branch "lp:nxhtml" $PRGNAM -fi - -( cd $REPOSITORY - bzr pull - bzr update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .bzr - find . -name "*.el" -exec $EMACS -batch -f batch-byte-compile {} \; - mkdir -p $PKG$PREFIX/doc - mv README.txt nxhtml/ChangeLog $PKG$PREFIX/doc/$PRGNAM -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (HTML mode for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/offlineimap-el/SlackBuild b/UNUSED/e/offlineimap-el/SlackBuild deleted file mode 100755 index f4902cb1..00000000 --- a/UNUSED/e/offlineimap-el/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.naquadah.org/git/offlineimap-el.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (offlineimap integration for Emacs) -$PRGNAM: -$PRGNAM: The offlineimap Emacs extension allows to run OfflineIMAP inside Emacs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://julien.danjou.info/offlineimap-el.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/org-diet/SlackBuild b/UNUSED/e/org-diet/SlackBuild deleted file mode 100755 index a0b0e89e..00000000 --- a/UNUSED/e/org-diet/SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "https://git.gitorious.org/org-diet/org-diet.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv *.org *.txt examples/ $PKG$PREFIX/doc/$PRGNAM -$EMACS -batch -f batch-byte-compile *.el - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Collection of tools and methodologies for tracking a diet in orgmode) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://gitorious.org/org-diet -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/org-jekyll/SlackBuild b/UNUSED/e/org-jekyll/SlackBuild deleted file mode 100755 index c4e1642a..00000000 --- a/UNUSED/e/org-jekyll/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone "http://github.com/juanre/org-jekyll.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - mv test/ README $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Jekyll export for Emacs' Org-Mode) -$PRGNAM: -$PRGNAM: Extracts subtrees from your org-publish project files that have a -$PRGNAM: :blog: keyword and an :on: property with a timestamp, and exports -$PRGNAM: them to a subdirectory _posts of your project's publishing -$PRGNAM: directory in the year-month-day-title.html format that Jekyll -$PRGNAM: expects. Properties are passed over as yaml front-matter in the -$PRGNAM: exported files. The title of the entry is the title of the -$PRGNAM: subtree. -$PRGNAM: http://juanreyero.com/open/org-jekyll/ -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/org-mode/SlackBuild b/UNUSED/e/org-mode/SlackBuild deleted file mode 100755 index 26374c9c..00000000 --- a/UNUSED/e/org-mode/SlackBuild +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/sh - -# variables -BRANCH=master -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=gwh -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone http://repo.or.cz/r/org-mode.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -sed -i "s|EMACS=emacs|EMACS=$EMACS|" Makefile -sed -i "s|prefix=/usr/local|prefix=$PREFIX|" Makefile -sed -i 's|infodir = $(prefix)/share/info|infodir = $(prefix)/info|' Makefile -make - - # installation -sed -i "s|prefix=$PREFIX|prefix=$PKG$PREFIX|" Makefile - - # May we have your ATTENTION please: - # next line Emacs' bundled org-mode TO BE REPLACED !! - #sed -i "s|lispdir = \$(prefix)/share/emacs/site-lisp|lispdir = \$(prefix)/share/emacs/$EMACS_VERSION/lisp/org|" Makefile - # you can now resume your normal existence, cảm Æ¡n lắm. - -make install -make install-info -rm $PKG$PREFIX/info/dir - - # # install contrib - # cp -R contrib/lisp $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib - # # install org-babel - # cp -R contrib/babel/lisp $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel - - # ( cd $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib - # emacs -batch -f batch-byte-compile-file *.el - # ) - # ( cd $PKG$PREFIX/share/emacs/site-lisp/org-mode-contrib/babel - # emacs -batch -f batch-byte-compile-file *.el - # ) -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R contrib $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*" -exec gzip -9f {} \; - # [ -d $PKG$PREFIX/share/emacs/$EMACS_VERSION/lisp/org ] && \ - # find $PKG$PREFIX/share/emacs/$EMACS_VERSION/lisp/org -type f -name "*.el" -exec gzip -9f {} \; - # [ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - # find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - # gunzip $PKG/usr/info/dir.gz - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (an Emacs Mode for Notes, Project Planning, and Authoring) -$PRGNAM: -$PRGNAM: Org-mode is for keeping notes, maintaining ToDo lists, doing project -$PRGNAM: planning, and authoring with a fast and effective plain-text system. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://orgmode.org/ -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/org-toodledo/SlackBuild b/UNUSED/e/org-toodledo/SlackBuild deleted file mode 100755 index 2e1f915e..00000000 --- a/UNUSED/e/org-toodledo/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://github.com/sachac/org-toodledo.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv README $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs: from org-mode to ToodleDo) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/sachac/org-toodledo -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/org2blog/SlackBuild b/UNUSED/e/org2blog/SlackBuild deleted file mode 100755 index 2f6f3b86..00000000 --- a/UNUSED/e/org2blog/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -REPOSITORY_IMPORTERS=/home/installs/SlackBuilds/repositories/$PRGNAM-importers -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "http://github.com/punchagan/org2blog.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -if [ ! -e $REPOSITORY_IMPORTERS ] ; then - git clone "http://github.com/punchagan/org2blog-importers.git" $REPOSITORY_IMPORTERS -else - ( cd $REPOSITORY_IMPORTERS - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -$EMACS -batch -f batch-byte-compile *.el - -mv README* $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY_IMPORTERS $PKG$PREFIX/doc/$PRGNAM - -rm -fr .git $PKG$PREFIX/doc/$PRGNAM/$PRGNAM-importers/.git - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs: from org-mode to WordPress) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/punchagan/org2blog -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/php-mode/SlackBuild b/UNUSED/e/php-mode/SlackBuild deleted file mode 100755 index 2c9399e0..00000000 --- a/UNUSED/e/php-mode/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=php-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - # svn checkout "http://php-mode.svn.sourceforge.net/svnroot/php-mode/trunk/php-mode-src" $REPOSITORY - git clone http://github.com/ejmr/php-mode.git $REPOSITORY -else - ( cd $REPOSITORY - # svn update - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -$EMACS -batch -f batch-byte-compile *.el -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv Changelog.old $PKG$PREFIX/doc/$PRGNAM -rm -fr .git - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (PHP mode for Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/ejmr/php-mode#readme -$PRGNAM: -$PRGNAM: http://php-mode.sourceforge.net/ -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/pomodoro.el/SlackBuild b/UNUSED/e/pomodoro.el/SlackBuild deleted file mode 100755 index 77d11e88..00000000 --- a/UNUSED/e/pomodoro.el/SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh -x - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=cyco -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/docgnome/pomodoro.el.git" $PRGNAM -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el -mv LICENSE README $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (An emacs pomodoro timer) -$PRGNAM: -$PRGNAM: A timer for the Pomodoro Technique -$PRGNAM: (http://www.pomodorotechnique.com) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/docgnome/pomodoro.el -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/pretty-mode/SlackBuild b/UNUSED/e/pretty-mode/SlackBuild deleted file mode 100755 index f33f5a98..00000000 --- a/UNUSED/e/pretty-mode/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/mattharrison/$PRGNAM.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (symbols prettyfier for Emacs) -$PRGNAM: -$PRGNAM: Minor mode for redisplaying parts of the buffer as pretty symbols -$PRGNAM: originally modified from Trent Buck's version at -$PRGNAM: http://paste.lisp.org/display/42335,2/raw -$PRGNAM: Also includes code from `sml-mode' -$PRGNAM: See also http://www.emacswiki.org/cgi-bin/wiki/PrettyLambda -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/mattharrison/pretty-mode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/qwe/SlackBuild b/UNUSED/e/qwe/SlackBuild deleted file mode 100755 index 07c1ef36..00000000 --- a/UNUSED/e/qwe/SlackBuild +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=qwe -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - hg clone http://hg.savannah.nongnu.org/hgweb/qwe/ $PRGNAM -fi - -( cd $REPOSITORY - hg pull -u -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .hg* - $EMACS -batch -f batch-byte-compile src/*.el ext/*.el - - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv COPYING COPYING.qwe INSTALL NEWS README doc img test header.qwe index.qwe \ - $PKG$PREFIX/doc/$PRGNAM -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Literate Programming tool) -$PRGNAM: -$PRGNAM: QWE stands for QWE's not WEB for Emacs. It was born as a proof of concept -$PRGNAM: to build a quasi-WYSIWYG Literate Programming tool for almost any programming -$PRGNAM: language, aiming to improve software documentation, presentation and -$PRGNAM: maintenance. Slightly inspired by LaTeX and WEB, QWE is based on its own -$PRGNAM: lightweight markup language. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.nongnu.org/qwe/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/rainbow/SlackBuild b/UNUSED/e/rainbow/SlackBuild deleted file mode 100755 index 1e705bf3..00000000 --- a/UNUSED/e/rainbow/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.naquadah.org/git/rainbow.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Rainbow mode for Emacs) -$PRGNAM: -$PRGNAM: This minor mode will set background color to strings that matches -$PRGNAM: color names. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://julien.danjou.info/rainbow-mode.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/ropemacs/SlackBuild b/UNUSED/e/ropemacs/SlackBuild deleted file mode 100755 index 57c46d9f..00000000 --- a/UNUSED/e/ropemacs/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=0.6 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="COPYING MANIFEST.in PKG-INFO README.txt" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://downloads.sourceforge.net/project/rope/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=jaist \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -( cd $TMP/$PRGNAM-$VERSION - # installation - python setup.py install --root=$PKG -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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 (a python refactoring library...) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://rope.sourceforge.net/ -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/e/ruby-misc-el/SlackBuild b/UNUSED/e/ruby-misc-el/SlackBuild deleted file mode 100755 index 0b417005..00000000 --- a/UNUSED/e/ruby-misc-el/SlackBuild +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -VERSION=$(echo ruby-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev) -BUILD=${BUILD:-1gwh} - -ARCH=emacs - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-ruby-misc-el - -rm -rf $PKG -mkdir -p $TMP $PKG -cd $TMP -rm -rf ruby-$VERSION -tar xvf $CWD/ruby-$VERSION.tar.?z* ruby-$VERSION/misc/ || exit 1 -cd ruby-$VERSION || exit 1 - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -mkdir -p $PKG/usr/share/emacs/site-lisp -cp misc/*.el $PKG/usr/share/emacs/site-lisp/ -( cd $PKG/usr/share/emacs/site-lisp - [ -x /usr/bin/emacs ] && /usr/bin/emacs -batch -f batch-byte-compile *.el -) - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -ruby-misc-el: ruby-misc-el (Emacs helpers for Ruby development) -ruby-misc-el: -ruby-misc-el: -ruby-misc-el: -ruby-misc-el: -ruby-misc-el: -ruby-misc-el: -ruby-misc-el: Visit the Ruby project online at http://www.ruby-misc-el-lang.org/ -ruby-misc-el: -ruby-misc-el: -ruby-misc-el: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/ruby-misc-el-$(echo $VERSION | tr - _)-$ARCH-$BUILD.txz - diff --git a/UNUSED/e/sdcv-mode/SlackBuild b/UNUSED/e/sdcv-mode/SlackBuild deleted file mode 100755 index 1adda56f..00000000 --- a/UNUSED/e/sdcv-mode/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=sdcv-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - svn checkout "http://sdcv-mode.googlecode.com/svn/trunk" $PRGNAM -fi - -( cd $REPOSITORY - svn update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .svn - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Stardict in Emacs) -$PRGNAM: -$PRGNAM: sdcv-mode.el is an extension that allows you to look up word in Emacs. -$PRGNAM: It is a front end to the console version of StarDict(sdcv). -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/sdcv-mode/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/slime/SlackBuild b/UNUSED/e/slime/SlackBuild deleted file mode 100755 index 7e528d98..00000000 --- a/UNUSED/e/slime/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=slime -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG - -# mise en place -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - # we should use cvs -d :pserver:anonymous:anonymous@common-lisp.net:/project/slime/cvsroot co slime but... - wget -c http://common-lisp.net/project/slime/snapshots/slime-current.tgz - tar xf slime-current.tgz - rm slime-current.tgz - VERSION=$(find . -type d -name "slime-*" | sed 's|./slime-||') - ( cd slime-$VERSION - $EMACS -batch -f batch-byte-compile *.el contrib/*.el - - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv ChangeLog HACKING NEWS PROBLEMS README *.sh doc/ $PKG$PREFIX/doc/$PRGNAM - mv contrib/ChangeLog $PKG$PREFIX/doc/$PRGNAM/ChangeLog.contrib - mv contrib/README $PKG$PREFIX/doc/$PRGNAM/README.contrib - rm -fr CVS contrib/CVS .cvsignore - ) -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (The Superior Lisp Interaction Mode for Emacs) -$PRGNAM: -$PRGNAM: SLIME is a Emacs mode for Common Lisp development. Inspired by existing systems -$PRGNAM: such Emacs Lisp and ILISP, we are working to create an environment for hacking -$PRGNAM: Common Lisp in. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://common-lisp.net/project/slime/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/smex/SlackBuild b/UNUSED/e/smex/SlackBuild deleted file mode 100755 index 181682a7..00000000 --- a/UNUSED/e/smex/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H:%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://github.com/nonsequitur/smex.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv README* $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs' M-x enhancement) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.emacswiki.org/emacs/Smex -$PRGNAM: -$PRGNAM: http://github.com/nonsequitur/smex/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/solarized-theme/SlackBuild b/UNUSED/e/solarized-theme/SlackBuild deleted file mode 100755 index f7b7d8b5..00000000 --- a/UNUSED/e/solarized-theme/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -if [ -e $REPOSITORY ]; then - ( cd $REPOSITORY - git pull - ) -else - git clone http://github.com/bbatsov/solarized-emacs.git $REPOSITORY -fi - -mkdir -p $PKG$PREFIX/share/emacs/{site-lisp/,$EMACS_VERSION/etc/themes/} -cp $REPOSITORY/solarized*theme.el $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes/ -cp $REPOSITORY/solarized-core.el $PKG$PREFIX/share/emacs/site-lisp/ -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp $REPOSITORY/{LICENSE,README.md,color-theme-solarized.el} $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Solarized theme for Emacs 24) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/sellout/emacs-color-theme-solarized -$PRGNAM: -$PRGNAM: http://ethanschoonover.com/solarized -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/tea-time/SlackBuild b/UNUSED/e/tea-time/SlackBuild deleted file mode 100755 index 9115188e..00000000 --- a/UNUSED/e/tea-time/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "http://github.com/krick/tea-time" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/{share/emacs/site-lisp,doc/$PRGNAM} -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el -mv README $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Rainbow mode for Emacs) -$PRGNAM: -$PRGNAM: This minor mode will set background color to strings that matches -$PRGNAM: color names. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://julien.danjou.info/rainbow-mode.html -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/textile-minor-mode/SlackBuild b/UNUSED/e/textile-minor-mode/SlackBuild deleted file mode 100755 index ab1a95f2..00000000 --- a/UNUSED/e/textile-minor-mode/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=textile-minor-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - svn checkout "http://textile-minor-mode.googlecode.com/svn/trunk" $PRGNAM -fi - -( cd $REPOSITORY - svn update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .svn - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Textile in Emacs) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/textile-minor-mode/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/todotxt.el/SlackBuild b/UNUSED/e/todotxt.el/SlackBuild deleted file mode 100755 index 3e17f489..00000000 --- a/UNUSED/e/todotxt.el/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh -x - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=cyco -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "https://github.com/rpdillon/todotxt.el.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/{doc/$PRGNAM,share/emacs/site-lisp} -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el -mv readme.org $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Todo.txt For Emacs -$PRGNAM: -$PRGNAM: A todo.txt client for Emacs -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/rpdillon/todotxt.el -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/tomatinho/SlackBuild b/UNUSED/e/tomatinho/SlackBuild deleted file mode 100755 index 0c010d4a..00000000 --- a/UNUSED/e/tomatinho/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "https://github.com/konr/tomatinho.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el -mv README.org $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Pomodoro technique timer for GNU Emacst) -$PRGNAM: -$PRGNAM: Tomatinho is a simple and beautiful pomodoro technique timer that runs -$PRGNAM: on Emacs and is not bloated with distractive graphics or inorganic -$PRGNAM: commands. Just press Enter, see time flow and do you best. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: (http://www.pomodorotechnique.com) -$PRGNAM: https://github.com/konr/tomatinho -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/twittering-mode/SlackBuild b/UNUSED/e/twittering-mode/SlackBuild deleted file mode 100755 index bc86390f..00000000 --- a/UNUSED/e/twittering-mode/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=twittering-mode -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/hayamiz/twittering-mode.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - find . \( -name ".git*" -o -name ".nosearch" \) -exec rm -fr {} \; - find . -type d \( -name "*emacs21" -o -name "win-curl" \) -exec rm -fr {} \; - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Twitter in Emacs) -$PRGNAM: -$PRGNAM: Twittering-mode is an Emacs major mode for Twitter. You can check timelines, -$PRGNAM: tweet, mark posts as favorites and so on with Emacs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://twmode.sourceforge.net/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/update-all.sh b/UNUSED/e/update-all.sh deleted file mode 100755 index 4ca2c5c0..00000000 --- a/UNUSED/e/update-all.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -if [ ! "x$1" == "x--not-emacs" ]; then - ( cd emacs - ./emacs.SlackBuild \ - && upgradepkg /tmp/emacs-trunk*.t?z \ - && mv /tmp/emacs-trunk*.t?z /home/installs/PKGs/ - ) -fi - -for i in $(find . -type d -maxdepth 1 -not -name UNUSED -not -name . -not -name emacs); do - (cd $i - THIS=$(basename $i) - sh $THIS.SlackBuild \ - && upgradepkg /tmp/$THIS*.t?z \ - && mv /tmp/$THIS*.t?z /home/installs/PKGs/ - ) -done - -rm -fr /tmp/{gwh,emacs-*,package-*,ruby-*} diff --git a/UNUSED/e/verbiste-el/SlackBuild b/UNUSED/e/verbiste-el/SlackBuild deleted file mode 100755 index a07e009d..00000000 --- a/UNUSED/e/verbiste-el/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=verbiste-el -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -# cd $TMP -# if [ ! -e $REPOSITORY ] ; then -# mkdir -p $(dirname $REPOSITORY) -# cd $(dirname $REPOSITORY) -# git clone "git://gaffer.ptitcanardnoir.org/verbiste-el.git" $PRGNAM -# fi - -# ( cd $REPOSITORY -# git pull -# ) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -# cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git - [ ! -e $CWD/verbiste.el ] && wget -c http://kanis.fr/hg/lisp/ivan/verbiste.el -O $CWD/verbiste.el - cp $CWD/verbiste.el . - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Verbiste in Emacs) -$PRGNAM: -$PRGNAM: verbiste.el is a package allowing to use the verbiste program to -$PRGNAM: conjugate/deconjugate French verbs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://http://kanis.fr -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/wireless/SlackBuild b/UNUSED/e/wireless/SlackBuild deleted file mode 100755 index e3847315..00000000 --- a/UNUSED/e/wireless/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=wireless -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://git.gitorious.org/wireless/wireless.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Wireless in Emacs) -$PRGNAM: -$PRGNAM: wireless.el is a GNU/Emacs library for reading and viewing wireless -$PRGNAM: connectivity status from within GNU/Emacs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://gitorious.org/wireless -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/yaml-mode/SlackBuild b/UNUSED/e/yaml-mode/SlackBuild deleted file mode 100755 index 8864b70c..00000000 --- a/UNUSED/e/yaml-mode/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "http://github.com/yoshiki/yaml-mode.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git* Makefile - mv README Changes $PKG$PREFIX/doc/$PRGNAM - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (YAML mode for Emacs) -$PRGNAM: -$PRGNAM: The emacs major mode for editing files in the YAML data serialization format. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/yoshiki/yaml-mode -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/yari.el/SlackBuild b/UNUSED/e/yari.el/SlackBuild deleted file mode 100755 index 18502b7a..00000000 --- a/UNUSED/e/yari.el/SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh -x - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} - - -TAG=cyco -TMP=/tmp/$TAG -OUTPUT=/tmp -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "[0-9\.]*") - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/hron/yari.el.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp - -cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM -rm -fr .git* -$EMACS -batch -f batch-byte-compile *.el vendor/*.el - -# correction -chown -R root:root $PKG - -[ -d $PKG$PREFIX/share/emacs/site-lisp ] && \ - find $PKG$PREFIX/share/emacs/site-lisp -type f -name "*.el" -exec gzip -9f {} \; - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Ruby's ri fronotend for Emacs) -$PRGNAM: -$PRGNAM: yari.el provides an Emacs frontend to Ruby's 'ri' documentation -$PRGNAM: tool. It offers lookup and completion. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/hron/yari.el -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/yasnippet/SlackBuild b/UNUSED/e/yasnippet/SlackBuild deleted file mode 100755 index d1e6e41c..00000000 --- a/UNUSED/e/yasnippet/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=yasnippet -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - svn checkout "http://yasnippet.googlecode.com/svn/trunk" $PRGNAM -fi - -( cd $REPOSITORY - svn update -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - find . -name \.svn -exec rm -fr {} \; - # $EMACS -batch -f batch-byte-compile *.el - rake compile - rake doc - mkdir -p $PKG$PREFIX/doc/ - mv doc $PKG$PREFIX/doc/$PRGNAM-$VERSION - mv README $PKG$PREFIX/doc/$PRGNAM-$VERSION - rm -fr pkg Rakefile -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (template system for Emacs) -$PRGNAM: It allows you to type an abbreviation and automatically expand it into function -$PRGNAM: templates. Bundled language templates includes: C, C++, C#, Perl, Python, Ruby, -$PRGNAM: SQL, LaTeX, HTML, CSS and more. -$PRGNAM: -$PRGNAM: (add-to-list 'load-path "$PREFIX/share/emacs/site-lisp/yasnippet") -$PRGNAM: (require 'yasnippet) -$PRGNAM: (yas/initialize) -$PRGNAM: (yas/load-directory "$PREFIX/share/emacs/site-lisp/yasnippet/snippets") -$PRGNAM: -$PRGNAM: http://code.google.com/p/yasnippet/ -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/e/zencoding/SlackBuild b/UNUSED/e/zencoding/SlackBuild deleted file mode 100755 index 59039105..00000000 --- a/UNUSED/e/zencoding/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=zencoding -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone "https://github.com/chrisdone/zencoding.git" $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -mkdir -p $PKG$PREFIX/share/emacs/site-lisp -cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp -( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM - rm -fr .git - $EMACS -batch -f batch-byte-compile *.el -) - -# correction -( cd $PKG - chown -R root:root * -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Zen Coding refers to a neat way to write markup quickly.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.emacswiki.org/emacs/ZenCoding -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/fonts/AnonymousPro/SlackBuild b/UNUSED/fonts/AnonymousPro/SlackBuild deleted file mode 100755 index 7596827c..00000000 --- a/UNUSED/fonts/AnonymousPro/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-1.001} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM-$VERSION.zip ] && \ - wget -c http://www.ms-studio.com/FontSales/AnonymousPro.zip -O $CWD/$PRGNAM-$VERSION.zip - unzip $CWD/$PRGNAM-$VERSION.zip - find . -type f -name \*.ttf -exec mv {} . \; - find . -type f -not -name \*.ttf -exec mv {} $PKG/usr/doc/$PRGNAM \; - find . -type d -exec rm -fr {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.ms-studio.com/FontSales/anonymouspro.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/Bodoni-SvtyTwo-OS-ITC-TT/SlackBuild b/UNUSED/fonts/Bodoni-SvtyTwo-OS-ITC-TT/SlackBuild deleted file mode 100755 index cb024ecf..00000000 --- a/UNUSED/fonts/Bodoni-SvtyTwo-OS-ITC-TT/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -PRGNAM=Bodoni-SvtyTwo-OS-ITC-TT -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H:%M")} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/TTF - -( cd $PKG$FONTDIR/TTF - for fnt in bold.ttf bolditalic.ttf italic.ttf book.ttf ; do - [ ! -e $CWD/$fnt ] && ( cd $CWD ; wget -c http://foohack.com/tpl/fonts/$PRGNAM/$fnt ) - cp $CWD/$fnt ./$PRGNAM-$fnt - done -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/CentSchBook-Mono/SlackBuild b/UNUSED/fonts/CentSchBook-Mono/SlackBuild deleted file mode 100755 index a9c1042a..00000000 --- a/UNUSED/fonts/CentSchBook-Mono/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -PRGNAM=CentSchBook-Mono -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H:%M")} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/TTF - -( cd $PKG$FONTDIR/TTF - [ ! -e $CWD/Century-Schoolbook-Monospace-BT.ttf ] && ( cd $CWD ; wget -c http://foohack.com/tpl/fonts/$PRGNAM/Century-Schoolbook-Monospace-BT.ttf ) - cp $CWD/Century-Schoolbook-Monospace-BT.ttf . -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://foohack.com/tpl/fonts/Hoefler-Text/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/DinaTTF/SlackBuild b/UNUSED/fonts/DinaTTF/SlackBuild deleted file mode 100755 index 9c998930..00000000 --- a/UNUSED/fonts/DinaTTF/SlackBuild +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-.1} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/TTF - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -[ ! -e $CWD/$PRGNAM.zip ] && wget -c "https://sites.google.com/site/rickard234/filecabinet/DinaTTF.zip?attredirects=0&d=1" -O $CWD/$PRGNAM.zip -unzip $CWD/$PRGNAM.zip -mv *.txt $PKG/usr/doc/$PRGNAM - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://chrisrickard.blogspot.com/2010/03/dina-font-for-visual-studio-2010.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/DroidSansMonoDotted/SlackBuild b/UNUSED/fonts/DroidSansMonoDotted/SlackBuild deleted file mode 100755 index 9c1d5da1..00000000 --- a/UNUSED/fonts/DroidSansMonoDotted/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-1.01} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM-$VERSION.zip ] && \ - wget -c http://www.cosmix.org/software/files/DroidSansMonoDotted.zip -O $CWD/$PRGNAM-$VERSION.zip - unzip $CWD/$PRGNAM-$VERSION.zip - find . -type f -name \*.ttf -exec mv {} . \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.cosmix.org/software/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/DroidSansMonoSlashed/SlackBuild b/UNUSED/fonts/DroidSansMonoSlashed/SlackBuild deleted file mode 100755 index 49566b78..00000000 --- a/UNUSED/fonts/DroidSansMonoSlashed/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-1.00} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM-$VERSION.zip ] && \ - wget -c http://www.cosmix.org/software/files/DroidSansMonoSlashed.zip -O $CWD/$PRGNAM-$VERSION.zip - unzip $CWD/$PRGNAM-$VERSION.zip - find . -type f -name \*.ttf -exec mv {} . \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.cosmix.org/software/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/EncodeSans/SlackBuild b/UNUSED/fonts/EncodeSans/SlackBuild deleted file mode 100755 index 17ed4302..00000000 --- a/UNUSED/fonts/EncodeSans/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -FONTDIR="/usr/share/fonts" - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - - -[ ! -e $REPOSITORY ] && git clone https://github.com/impallari/Encode-Sans.git $REPOSITORY -cd $REPOSITORY -git pull -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/TTF $PKG/usr/doc/$PRGNAM - -cd $REPOSITORY -cp *.txt *.md $PKG/usr/doc/$PRGNAM -cp fonts/*.ttf $PKG$FONTDIR/TTF - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Encode Sans Fonts) -$PRGNAM: -$PRGNAM: The Encode Sans family is a versatile workhorse. Featuring a huge range of -$PRGNAM: weights and widths, it's ready for all kind of typographic challenges. It -$PRGNAM: also includes Tabular and Old Style figres, as well as full set of Small -$PRGNAM: Caps and other Open Type features. -$PRGNAM: -$PRGNAM: Designed by Pablo Impallari and Andres Torresi. -$PRGNAM: -$PRGNAM: https://github.com/impallari/Encode-Sans -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/EnvyCodeR/SlackBuild b/UNUSED/fonts/EnvyCodeR/SlackBuild deleted file mode 100755 index baac8a09..00000000 --- a/UNUSED/fonts/EnvyCodeR/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-PR7} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM-$VERSION.zip ] && \ - wget -c http://download.damieng.com/fonts/original/EnvyCodeR-PR7.zip -O $CWD/$PRGNAM-$VERSION.zip - unzip $CWD/$PRGNAM-$VERSION.zip - find . -type f -name \*.ttf -exec mv {} . \; - find . -type f -not -name \*.ttf -exec mv {} $PKG/usr/doc/$PRGNAM \; - find . -type d -exec rm -fr {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://damieng.com/blog/tag/envy-code-r -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/Fira/SlackBuild b/UNUSED/fonts/Fira/SlackBuild deleted file mode 100755 index 3f4944fc..00000000 --- a/UNUSED/fonts/Fira/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -FONTDIR="/usr/share/fonts" - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - - -[ ! -e $REPOSITORY ] && git clone https://github.com/mozilla/Fira.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/ $PKG/usr/doc/ -cp -R $REPOSITORY $PKG/usr/doc/$PRGNAM -rm -fr $PKG/usr/doc/$PRGNAM/.git{ignore,} -mv $PKG/usr/doc/$PRGNAM/ttf $PKG$FONTDIR/TTF -mv $PKG/usr/doc/$PRGNAM/otf $PKG$FONTDIR/OTF - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Mozilla's new typeface) -$PRGNAM: -$PRGNAM: Mozilla's new typeface, used in Firefox OS -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/mozilla/Fira -$PRGNAM: http://www.mozilla.org/en-US/styleguide/products/firefox-os/typeface/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/FiraCode/SlackBuild b/UNUSED/fonts/FiraCode/SlackBuild deleted file mode 100755 index 016b1c80..00000000 --- a/UNUSED/fonts/FiraCode/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -FONTDIR="/usr/share/fonts" - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - - -[ ! -e $REPOSITORY ] && git clone https://github.com/tonsky/FiraCode.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/ $PKG/usr/doc/ -cp -R $REPOSITORY $PKG/usr/doc/$PRGNAM -rm -fr $PKG/usr/doc/$PRGNAM/.git{ignore,} -mv $PKG/usr/doc/$PRGNAM/distr/ttf $PKG$FONTDIR/TTF -mv $PKG/usr/doc/$PRGNAM/distr/otf $PKG$FONTDIR/OTF - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospaced font with programming ligatures) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/tonsky/FiraCode -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/Font-Awesome/SlackBuild b/UNUSED/fonts/Font-Awesome/SlackBuild deleted file mode 100755 index e29d93a3..00000000 --- a/UNUSED/fonts/Font-Awesome/SlackBuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -FONTDIR="/usr/share/fonts" - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - -[ ! -e $REPOSITORY ] && git clone https://github.com/FortAwesome/Font-Awesome.git $REPOSITORY -(cd $REPOSITORY && git pull) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/OTF $PKG/usr/doc/$PRGNAM -cp $REPOSITORY/*.{md,txt} $PKG/usr/doc/$PRGNAM -cp $REPOSITORY/otfs/*.otf $PKG$FONTDIR/OTF - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Iconic font) -$PRGNAM: -$PRGNAM: The iconic font designed for use with Twitter Bootstrap -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://fortawesome.github.com/Font-Awesome/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/Hoefler-Text/SlackBuild b/UNUSED/fonts/Hoefler-Text/SlackBuild deleted file mode 100755 index 03108d4f..00000000 --- a/UNUSED/fonts/Hoefler-Text/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -PRGNAM=Hoefler-Text -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/TTF -mkdir -p $PKG/usr/doc/$PRGNAM - -( cd $PKG$FONTDIR/TTF - for fnt in bold.ttf bolditalic.ttf italic.ttf ornaments.ttf regular.ttf ; do - [ ! -e $CWD/$fnt ] && ( cd $CWD ; wget -c http://foohack.com/tpl/fonts/$PRGNAM/$fnt ) - cp $CWD/$fnt ./$PRGNAM-$fnt - done -) -( cd $PKG/usr/doc/$PRGNAM - [ ! -e $CWD/Hoefler\ Text.dfont ] && ( cd $CWD ; wget -c http://foohack.com/tpl/fonts/Hoefler-Text/Hoefler\ Text.dfont ) - cp $CWD/Hoefler\ Text.dfont . -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Apple font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://foohack.com/tpl/fonts/Hoefler-Text/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/Input_Fonts/SlackBuild b/UNUSED/fonts/Input_Fonts/SlackBuild deleted file mode 100755 index 9c89bcb2..00000000 --- a/UNUSED/fonts/Input_Fonts/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM-$VERSION.zip ] && \ - wget -c "http://input.fontbureau.com/build/?fontSelection=whole&a=0&g=0&i=0&l=0&zero=0&asterisk=0&braces=straight&preset=default&line-height=1.2&accept=I+do" -O $CWD/$PRGNAM-$VERSION.zip - unzip $CWD/$PRGNAM-$VERSION.zip - find . -type f -name \*.ttf -exec mv {} . \; - find . -type f -not -name \*.ttf -exec mv {} $PKG/usr/doc/$PRGNAM \; - find . -type d -exec rm -fr {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Coding font) -$PRGNAM: -$PRGNAM: For private use -$PRGNAM: Input is available free of charge for private/unpublished usage. -$PRGNAM: This includes things like your personal coding app or for composing -$PRGNAM: plain text documents. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://input.fontbureau.com/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/LinLibertine/SlackBuild b/UNUSED/fonts/LinLibertine/SlackBuild deleted file mode 100755 index cf63daca..00000000 --- a/UNUSED/fonts/LinLibertine/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-5.3.0_2012_07_02} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/ - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -for i in TTF OTF; do - mkdir -p "$i" - [ ! -e $CWD/${PRGNAM}$i_${VERSION}.tgz ] && wget -c http://sourceforge.net/projects/linuxlibertine/files/linuxlibertine/$(echo $VERSION | cut -d_ -f 1)/${PRGNAM}${i}_${VERSION}.tgz/download -O $CWD/${PRGNAM}${i}_${VERSION}.tgz ; - ( cd $i - tar xf $CWD/${PRGNAM}${i}_${VERSION}.tgz - mv *.txt README $PKG/usr/doc/$PRGNAM - ) -done - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.linuxlibertine.org -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/MarainScript/SlackBuild b/UNUSED/fonts/MarainScript/SlackBuild deleted file mode 100755 index 0822dd37..00000000 --- a/UNUSED/fonts/MarainScript/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM.ttf ] && \ - wget -c http://dl.dropbox.com/u/7247980/MarainScript.ttf -O $CWD/$PRGNAM.ttf - cp $CWD/$PRGNAM.ttf . -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Marain font) -$PRGNAM: -$PRGNAM: « [...] based on the Marain alphabet, from Iain M. Banks' "Culture" novels. -$PRGNAM: In those novels, the spacefaring Culture use the Marain alphabet because each -$PRGNAM: character is unique and can be read in any rotation. » -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://danielsolisblog.blogspot.com/2010/09/free-font-marain-script.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/Meslo-Font/SlackBuild b/UNUSED/fonts/Meslo-Font/SlackBuild deleted file mode 100755 index fea15ca0..00000000 --- a/UNUSED/fonts/Meslo-Font/SlackBuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-1.0} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/TTF - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -[ ! -e $CWD/$PRGNAM-DZ-$VERSION.zip ] && wget --no-check-certificate -c "https://github.com/downloads/andreberg/Meslo-Font/Meslo%20LG%20DZ%20v$VERSION.zip" -O $CWD/$PRGNAM-DZ-$VERSION.zip -unzip $CWD/$PRGNAM-DZ-$VERSION.zip -[ ! -e $CWD/$PRGNAM-$VERSION.zip ] && wget --no-check-certificate -c "https://github.com/downloads/andreberg/Meslo-Font/Meslo%20LG%20v$VERSION.zip" -O $CWD/$PRGNAM-$VERSION.zip -unzip $CWD/$PRGNAM-$VERSION.zip -find . -type f -not -iname \*.ttf -exec mv {} $PKG/usr/doc/$PRGNAM \; -find . -type f -iname \*.ttf -exec mv {} . \; -find . -type d -delete - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/andreberg/Meslo-Font -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/Roboto-ttf/SlackBuild b/UNUSED/fonts/Roboto-ttf/SlackBuild deleted file mode 100755 index f5ba2f30..00000000 --- a/UNUSED/fonts/Roboto-ttf/SlackBuild +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-20111129} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/TTF - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/ -cd $PKG$FONTDIR/ -[ ! -e $CWD/Roboto_Hinted_$VERSION.zip ] && wget -c https://dl-ssl.google.com/android/design/Roboto_Hinted_$VERSION.zip -O $CWD/Roboto_Hinted_$VERSION.zip -unzip $CWD/Roboto_Hinted_$VERSION.zip -mv Roboto_Hinted_$VERSION/*.ttf . -mv Roboto_Hinted_$VERSION $PKG/usr/doc/$PRGNAM - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Roboto font, from Android) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://developer.android.com/design/style/typography.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/SourceCodePro/SlackBuild b/UNUSED/fonts/SourceCodePro/SlackBuild deleted file mode 100755 index 9e4259ab..00000000 --- a/UNUSED/fonts/SourceCodePro/SlackBuild +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-1.009} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/{OTF,TTF} $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -[ ! -e $CWD/${PRGNAM}_FontsOnly-$VERSION.zip ] && \ - wget -c --no-check-certificate "https://github.com/downloads/adobe/Source-Code-Pro/${PRGNAM}_FontsOnly-$VERSION.zip" \ - -O $CWD/${PRGNAM}_FontsOnly-$VERSION.zip -unzip $CWD/${PRGNAM}_FontsOnly-$VERSION.zip -cd ${PRGNAM}_FontsOnly-$VERSION -mv *.{html,txt} $PKG/usr/doc/$PRGNAM -mv *.ttf ../TTF -mv *.otf ../OTF -cd .. -rm -fr ${PRGNAM}_FontsOnly-$VERSION - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Adobe Open Source font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/adobe/Source-Code-Pro#readme -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/SourceSansPro/SlackBuild b/UNUSED/fonts/SourceSansPro/SlackBuild deleted file mode 100755 index 54ec5239..00000000 --- a/UNUSED/fonts/SourceSansPro/SlackBuild +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-1.036} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/{OTF,TTF} $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -[ ! -e $CWD/${PRGNAM}_FontsOnly-$VERSION.zip ] && \ - wget -c --no-check-certificate "https://github.com/downloads/adobe/Source-Sans-Pro/${PRGNAM}_FontsOnly-$VERSION.zip" \ - -O $CWD/${PRGNAM}_FontsOnly-$VERSION.zip -unzip $CWD/${PRGNAM}_FontsOnly-$VERSION.zip -cd ${PRGNAM}_FontsOnly-$VERSION -mv *.{html,txt} $PKG/usr/doc/$PRGNAM -mv *.ttf ../TTF -mv *.otf ../OTF -cd .. -rm -fr ${PRGNAM}_FontsOnly-$VERSION - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Adobe Open Source font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/adobe/Source-Sans-Pro#readme -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/Unicode-Fonts-for-Ancient-Scripts/SlackBuild b/UNUSED/fonts/Unicode-Fonts-for-Ancient-Scripts/SlackBuild deleted file mode 100755 index 05ba903a..00000000 --- a/UNUSED/fonts/Unicode-Fonts-for-Ancient-Scripts/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -TTFDIR=/usr/share/fonts/TTF -OTFDIR=/usr/share/fonts/OTF - -# Move the fonts into place: -mkdir -p $PKG$OTFDIR $PKG$TTFDIR $PKG/usr/doc/$PRGNAM -cd $PKG$TTFDIR/ - -for i in $(curl http://users.teilar.gr/~g1951d/ | iconv -f utf-16 -t utf-8 | grep -o "[A-Za-z0-9]*\.zip"); do - [ ! -e $CWD/$i ] && wget -c http://users.teilar.gr/~g1951d/$i -O $CWD/$i - unzip -o $CWD/$i -done -find . -type f -iname \*.otf -exec mv {} $PKG$OTFDIR \; -find . -type f -not -iname \*.ttf -exec mv {} $PKG/usr/doc/$PRGNAM \; -find . -type d -delete - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $TTFDIR - chroot . /usr/bin/mkfontdir $TTFDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $TTFDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Unicode Fonts for Ancient Scripts) -$PRGNAM: -$PRGNAM: As recommended @ -$PRGNAM: http://98.245.80.27/tcpc/OSCON2011/gbu/gbu.html -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://users.teilar.gr/~g1951d/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/all-the-icons/SlackBuild b/UNUSED/fonts/all-the-icons/SlackBuild deleted file mode 100755 index 0dfe2711..00000000 --- a/UNUSED/fonts/all-the-icons/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -FONTDIR="/usr/share/fonts" - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - -[ ! -e $REPOSITORY ] && - git clone https://github.com/domtronn/all-the-icons.el.git $REPOSITORY -(cd $REPOSITORY && git pull) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/TTF $PKG/usr/doc/ -cp -R $REPOSITORY $PKG/usr/doc/$PRGNAM -rm -fr $PKG/usr/doc/$PRGNAM/{fonts/*.ttf,.git{ignore,}} -cp $REPOSITORY/fonts/*.ttf $PKG$FONTDIR/TTF - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A utility package to collect various Icon Fonts) -$PRGNAM: -$PRGNAM: A utility package to collect various Icon Fonts and propertize them -$PRGNAM: within Emacs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/domtronn/all-the-icons.el -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/averia/SlackBuild b/UNUSED/fonts/averia/SlackBuild deleted file mode 100755 index 4dcd75b4..00000000 --- a/UNUSED/fonts/averia/SlackBuild +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/TTF - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -for i in Averia.zip AveriaSerif.zip AveriaSans.zip AveriaGWF.zip AveriaGWFSerif.zip AveriaGWFSans.zip ; do - [ ! -e $CWD/$i ] && wget -c http://iotic.com/averia/font-files/$i -O $CWD/$i - unzip -o $CWD/$i -done -mv *.txt $PKG/usr/doc/$PRGNAM -rm -fr __MACOSX/ - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: "Average[d]" font -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://iotic.com/averia/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/bitmap-fonts/SlackBuild b/UNUSED/fonts/bitmap-fonts/SlackBuild deleted file mode 100755 index d72b537e..00000000 --- a/UNUSED/fonts/bitmap-fonts/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -FONTDIR="/usr/share/fonts" - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - -[ ! -e $REPOSITORY ] && - git clone https://github.com/Tecate/bitmap-fonts.git $REPOSITORY -(cd $REPOSITORY && git pull) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/misc $PKG/usr/doc/$PRGNAM -cp $REPOSITORY/README.md $PKG/usr/doc/$PRGNAM -find $REPOSITORY/bitmap/ -name \*.pcf\* -exec mv {} $PKG$FONTDIR/misc/ \; - -find $PKG$FONTDIR/misc/ -name \*.pcf -exec gzip {} \; - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -#!/bin/sh -# Update the X font indexes: -if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then - mkfontdir usr/share/fonts/misc 2> /dev/null -fi -if [ -x /usr/bin/fc-cache ]; then - /usr/bin/fc-cache -f 2> /dev/null -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospaced bitmap fonts for X11, good for terminal use.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/Tecate/bitmap-fonts -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/cantarell-fonts/SlackBuild b/UNUSED/fonts/cantarell-fonts/SlackBuild deleted file mode 100755 index f1c2fa24..00000000 --- a/UNUSED/fonts/cantarell-fonts/SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=0.0.1 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/OTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/ -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM-$VERSION.tar.bz2 ] && wget -c http://ftp.acc.umu.se/pub/gnome/sources/$PRGNAM/$(echo "$VERSION" | cut -d. -f 1,2)/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 - tar xf $CWD/$PRGNAM-$VERSION.tar.bz2 - - find $PRGNAM-$VERSION/ -type f -name "*.?TF" -o -name "*.?tf" -exec mv {} . \; - find $PRGNAM-$VERSION/ -name Makefile\* -exec rm {} \; - rm -fr $PRGNAM-$VERSION/{src/,aclocal.m4,configure*,missing,otf/,install-sh} - mv $PRGNAM-$VERSION $PKG/usr/doc/ - # find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Gnome 3 font) -$PRGNAM: -$PRGNAM: The Cantarell font family is a contemporary Humanist sans serif -$PRGNAM: designed for on-screen reading. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://live.gnome.org/CantarellFonts -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/exljbris/SlackBuild b/UNUSED/fonts/exljbris/SlackBuild deleted file mode 100755 index cf9d7602..00000000 --- a/UNUSED/fonts/exljbris/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -[ -e $PKG ] && rm -fr $PKG -mkdir -p $PKG # place for the package to be built -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/{TTF,OTF} -mkdir -p $PKG/usr/doc/$PRGNAM - -for f in fontin2_pc.zip FontinSans_49.zip tallys_15b2.zip delicious-123.zip Diavlo_II_37b2.zip ; do - [ ! -e $CWD/$f ] && wget -c http://www.exljbris.com/dl/$f -O $CWD/$f - unzip -jo $CWD/$f - mv *.ttf $PKG$FONTDIR/TTF - mv *.otf $PKG$FONTDIR/OTF - mv *.txt $PKG/usr/doc/$PRGNAM -done - -[ ! -e $CWD/eula.html ] && wget -c http://www.josbuivenga.demon.nl/eula.html -O $CWD/eula.html -cp $CWD/eula.html $PKG/usr/doc/$PRGNAM - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (exljbris Font Foundry's free fonts) -$PRGNAM: -$PRGNAM: http://www.josbuivenga.demon.nl/ -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: By downloading this font, you agree to the font license agreement -$PRGNAM: for free fonts: -$PRGNAM: http://www.josbuivenga.demon.nl/eula.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/fontsquirrel.com-Monospaced/SlackBuild b/UNUSED/fonts/fontsquirrel.com-Monospaced/SlackBuild deleted file mode 100755 index ee626dea..00000000 --- a/UNUSED/fonts/fontsquirrel.com-Monospaced/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -PRGNAM=fontsquirrel.com-Monospaced -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M) -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/{TTF,OTF} -mkdir -p $PKG/usr/doc/$PRGNAM -[ -e $TMP/$PRGNAM ] && rm -fr $TMP/$TAG/$PRGNAM -mkdir -p $TMP/$PRGNAM -( cd $TMP/$PRGNAM - for i in $CWD/*.zip ; do - unzip $i ; - find . -name "*.ttf" -exec mv {} $PKG$FONTDIR/TTF \; - find . -name "*.otf" -exec mv {} $PKG$FONTDIR/OTF \; - find . -name ".DS_Store" -exec rm -fr {} \; - find . -name "__MACOSX" -exec rm -fr {} \; - find . -empty -exec rm -fr {} \; - mv * $PKG/usr/doc/$PRGNAM ; - done -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace fonts) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.fontsquirrel.com/fonts/list/style/Monospaced -$PRGNAM: -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/gnu-unifont/SlackBuild b/UNUSED/fonts/gnu-unifont/SlackBuild deleted file mode 100755 index f9e95ddf..00000000 --- a/UNUSED/fonts/gnu-unifont/SlackBuild +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-6.2.20130902} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/{misc,TTF} $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -[ ! -e $CWD/${PRGNAM}_FontsOnly-$VERSION.zip ] && \ - wget -c --no-check-certificate "http://unifoundry.com/unifont-$VERSION.tar.gz" \ - -O $CWD/unifont-$VERSION.tar.gz -tar xf $CWD/unifont-$VERSION.tar.gz -cd unifont-$(echo $VERSION | grep -o "^.\..") -mv README unifont-intro.txt $PKG/usr/doc/$PRGNAM -mv font/precompiled/*.ttf ../TTF -mv font/precompiled/*.pcf.gz ../misc -cd .. -rm -fr unifont-$(echo $VERSION | grep -o "^.\..") - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM ( Font containing Unicode 6.2 MP ) -$PRGNAM: -$PRGNAM: The GNU unifont has a glyph for every printable code point in the -$PRGNAM: Unicode Basic Multilinguial Plane (BMP). The BMP is the first Unicode -$PRGNAM: "plane" of 65,536(16bit) code points, and includes character encoding -$PRGNAM: for most of the world's modern scripts. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: Website: http://unifoundry.com/unifont.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/googlefontdirectory/SlackBuild b/UNUSED/fonts/googlefontdirectory/SlackBuild deleted file mode 100755 index f26a12e0..00000000 --- a/UNUSED/fonts/googlefontdirectory/SlackBuild +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -[ -e $PKG ] && rm -fr $PKG -mkdir -p $PKG # place for the package to be built -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts" - -# get sources -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - hg clone https://googlefontdirectory.googlecode.com/hg/ $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) -fi -# Move the fonts into place: -mkdir -p $PKG$FONTDIR/{TTF,OTF} -mkdir -p $PKG/usr/doc/ - -cp -R $REPOSITORIES/$PRGNAM $PKG/usr/doc/ -find $PKG/usr/doc/$PRGNAM -type f -name \*.ttf -exec mv {} $PKG$FONTDIR/TTF \; -find $PKG/usr/doc/$PRGNAM -type f -name \*.otf -exec mv {} $PKG$FONTDIR/OTF \; -find $PKG/usr/doc/$PRGNAM -name .hg\* -exec rm -fr {} \; - -[ ! -e $CWD/eula.html ] && wget -c http://www.josbuivenga.demon.nl/eula.html -O $CWD/eula.html -cp $CWD/eula.html $PKG/usr/doc/$PRGNAM - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (exljbris Font Foundry's free fonts) -$PRGNAM: -$PRGNAM: fonts in the Google Font Directory. Please see http://code.google.com/webfonts -$PRGNAM: for access to those fonts through the Google Font API. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/googlefontdirectory/ -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/helvetica/SlackBuild b/UNUSED/fonts/helvetica/SlackBuild deleted file mode 100755 index 7fd76baa..00000000 --- a/UNUSED/fonts/helvetica/SlackBuild +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/TTF - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR -cd $PKG$FONTDIR/ -[ ! -e $CWD/helvetica.zip ] && wget -c http://mirrored.spockz.nl/file/fonts/helvetica/helvetica.zip -O $CWD/helvetica.zip -unzip $CWD/helvetica.zip - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://en.wikipedia.org/wiki/Helvetica -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/fonts/inconsolata/SlackBuild b/UNUSED/fonts/inconsolata/SlackBuild deleted file mode 100755 index 0297577f..00000000 --- a/UNUSED/fonts/inconsolata/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -rm -fr $PKG -mkdir -p $PKG # place for the package to be built - # remove old log files - -FONTDIR="/usr/share/fonts/OTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR -cd $PKG$FONTDIR/ -if [ -e $CWD/Inconsolata.otf ] ; then - cp $CWD/Inconsolata.otf . -else - wget -c http://www.levien.com/type/myfonts/Inconsolata.otf -fi -if [ -e $CWD/Inconsolata-dz.otf.zip ] ; then - unzip $CWD/Inconsolata-dz.otf.zip -else - wget -c http://media.nodnod.net/Inconsolata-dz.otf.zip ; - unzip Inconsolata-dz.otf.zip - rm Inconsolata-dz.otf.zip -fi - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.levien.com/type/myfonts/inconsolata.html -$PRGNAM: http://nodnod.net/2009/feb/12/adding-straight-single-and-double-quotes-inconsola/ -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz - diff --git a/UNUSED/fonts/mensch/SlackBuild b/UNUSED/fonts/mensch/SlackBuild deleted file mode 100755 index 7369bb0f..00000000 --- a/UNUSED/fonts/mensch/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=${VERSION:-20100621} -ARCH=font -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR -( cd $PKG$FONTDIR/ - [ ! -e $CWD/$PRGNAM.ttf ] && \ - wget -c http://robey.lag.net/downloads/mensch.ttf -O $CWD/$PRGNAM.ttf - cp $CWD/$PRGNAM.ttf . -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Monospace font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://robey.lag.net/2010/06/21/mensch-font.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/otf-District-Thin/SlackBuild b/UNUSED/fonts/otf-District-Thin/SlackBuild deleted file mode 100755 index 60e5dabb..00000000 --- a/UNUSED/fonts/otf-District-Thin/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=noversion -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG$FONTDIR/ - [ ! -e $CWD/DistrictThinOTF.zip ] && wget -c http://www.philsfonts.com/downloads/DistrictThinOTF.zip -O $CWD/DistrictThinOTF.zip - unzip $CWD/DistrictThinOTF.zip - - find . -type f -name "*.OTF" -o -name "*.otf" -exec mv {} . \; - find . -type f -name ".*" -exec rm -r {} \; - find . -type f -not \( -name "*.OTF" -o -name "*.otf" \) -exec mv {} $PKG/usr/doc/$PRGNAM-$VERSION \; - find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.philsfonts.com/freefont.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/ttf-CharisSIL/SlackBuild b/UNUSED/fonts/ttf-CharisSIL/SlackBuild deleted file mode 100755 index d8504957..00000000 --- a/UNUSED/fonts/ttf-CharisSIL/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=4.106 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG$FONTDIR/ - [ ! -e $CWD/Gentium_${VERSION}_W.zip ] && wget -c "http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=CharisSIL4.106b.zip&filename=CharisSIL4.106.zip" -O $CWD/CharisSIL$VERSION.zip - unzip $CWD/CharisSIL$VERSION.zip - - find . -type f -name "*.ttf" -exec mv {} . \; - find . -type f -not -name "*.ttf" -exec mv {} $PKG/usr/doc/$PRGNAM-$VERSION \; - find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=CharisSILfont -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/ttf-DoulosSIL/SlackBuild b/UNUSED/fonts/ttf-DoulosSIL/SlackBuild deleted file mode 100755 index c0b43d07..00000000 --- a/UNUSED/fonts/ttf-DoulosSIL/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=4.106 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG$FONTDIR/ - [ ! -e $CWD/Gentium_${VERSION}_W.zip ] && wget -c "http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=DoulosSIL4.106b.zip&filename=DoulosSIL4.106.zip" -O $CWD/DoulosSIL$VERSION.zip - unzip $CWD/DoulosSIL$VERSION.zip - - find . -type f -name "*.ttf" -exec mv {} . \; - find . -type f -not -name "*.ttf" -exec mv {} $PKG/usr/doc/$PRGNAM-$VERSION \; - find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=DoulosSILfont -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/ttf-MgOpen/SlackBuild b/UNUSED/fonts/ttf-MgOpen/SlackBuild deleted file mode 100755 index 44663210..00000000 --- a/UNUSED/fonts/ttf-MgOpen/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=102 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG$FONTDIR/ - [ ! -e $CWD/MgOpen.tar.gz ] && wget -c http://www.ellak.gr/pub/fonts/mgopen/files/MgOpen.tar.gz -O $CWD/MgOpen.tar.gz - tar xf $CWD/MgOpen.tar.gz - - find . -type f -name "*.?TF" -o -name "*.?tf" -exec mv {} . \; - find . -type f -not \( -name "*.?TF" -o -name "*.?tf" \) -exec mv {} $PKG/usr/doc/$PRGNAM-$VERSION \; - find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.ellak.gr/pub/fonts/mgopen/index.en.html -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/ttf-gentium-basic/SlackBuild b/UNUSED/fonts/ttf-gentium-basic/SlackBuild deleted file mode 100755 index b2dfad38..00000000 --- a/UNUSED/fonts/ttf-gentium-basic/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=110 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG$FONTDIR/ - [ ! -e $CWD/GentiumBasic_${VERSION}.zip ] && wget -c "http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=GentiumBasic_${VERSION}&filename=GentiumBasic_${VERSION}.zip" -O $CWD/GentiumBasic_${VERSION}.zip - unzip $CWD/GentiumBasic_${VERSION}.zip - - find . -type f -name "*.ttf" -exec mv {} . \; - find . -type f -not -name "*.ttf" -exec mv {} $PKG/usr/doc/$PRGNAM-$VERSION \; - find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/ttf-gentium/SlackBuild b/UNUSED/fonts/ttf-gentium/SlackBuild deleted file mode 100755 index 95ab9da6..00000000 --- a/UNUSED/fonts/ttf-gentium/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -PRGNAM=$(basename $(pwd)) -VERSION=102 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -mkdir -p $OUTPUT # place for the package to be saved -mkdir -p $PKG # place for the package to be built -rm -rf $PKG/* # always erase old package's contents -rm -rf $OUTPUT/{configure,make,install,error,/sbin/makepkg}-$PRGNAM.log - # remove old log files - -FONTDIR="/usr/share/fonts/TTF" - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM-$VERSION -( cd $PKG$FONTDIR/ - [ ! -e $CWD/Gentium_${VERSION}_W.zip ] && wget -c "http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=Gentium_${VERSION}_W&filename=Gentium_${VERSION}_W.zip" -O $CWD/Gentium_${VERSION}_W.zip - unzip $CWD/Gentium_${VERSION}_W.zip - - find . -type f -name "*.TTF" -exec mv {} . \; - find . -type f -not -name "*.TTF" -exec mv {} $PKG/usr/doc/$PRGNAM-$VERSION \; - find . -type d -exec rm -r {} \; -) - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (font) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz 2>&1 | tee $OUTPUT//sbin/makepkg-${PRGNAM}.log -cd $OUTPUT -md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz.md5 -cd - -cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt - diff --git a/UNUSED/fonts/ultimate_oldschool_pc_font_pack/SlackBuild b/UNUSED/fonts/ultimate_oldschool_pc_font_pack/SlackBuild deleted file mode 100755 index df4ad1b4..00000000 --- a/UNUSED/fonts/ultimate_oldschool_pc_font_pack/SlackBuild +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-1.0} -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -# Place to build (TMP) package (PKG) and output (OUTPUT) the program: -TMP=${TMP:=/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Create working directories: -rm -rf $PKG -mkdir -p $OUTPUT -mkdir -p $PKG - -FONTDIR=/usr/share/fonts/TTF - -# Move the fonts into place: -mkdir -p $PKG$FONTDIR $PKG/usr/doc/$PRGNAM -cd $PKG$FONTDIR/ -[ ! -e $CWD/${PRGNAM}_v$VERSION.zip ] && wget -c http://int10h.org/oldschool-pc-fonts/download/${PRGNAM}_v$VERSION.zip -O $CWD/${PRGNAM}_v$VERSION.zip -unzip -o $CWD/${PRGNAM}_v$VERSION.zip -mv LICENSE.TXT README.NFO $PKG/usr/doc/$PRGNAM -find . -type d -maxdepth 1 -name \*437\* -exec rm -r {} \; -find . -iname \*.ttf -exec mv {} . \; -find . -type d -maxdepth 1 -name Px\* -exec rm -r {} \; - -# Post-install script: -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -# Update X font indexes and the font cache: -if [ -x ./usr/bin/mkfontdir ]; then - chroot . /usr/bin/mkfontscale $FONTDIR - chroot . /usr/bin/mkfontdir $FONTDIR -fi -if [ -x ./usr/bin/fc-cache ]; then - chroot . /usr/bin/fc-cache -f $FONTDIR -fi -EOT - -# Add a package description: -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (The Ultimate Oldschool PC Font Pack) -$PRGNAM: -$PRGNAM: "Old School" fonts -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://int10h.org/oldschool-pc-fonts/ -$PRGNAM: -EOF - -# Build the package: -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/l/arabica/SlackBuild b/UNUSED/l/arabica/SlackBuild deleted file mode 100755 index 681c30aa..00000000 --- a/UNUSED/l/arabica/SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=2010-November - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -case $ARCH in - "x86_64") - SLCKFLAGS="-fPIC -O2" - ;; - *) - SLCKFLAGS="-O2" -esac - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c http://downloads.sourceforge.net/project/arabica/arabica/November-10/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 -tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$( [ $ARCH = "x86_64" ] && echo 64 ) - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.jezuk.co.uk/cgi-bin/view/arabica -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/cgi-util/SlackBuild b/UNUSED/l/cgi-util/SlackBuild deleted file mode 100755 index 0f5c3c9a..00000000 --- a/UNUSED/l/cgi-util/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# variables -VERSION=2.2.1 -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c ftp://ftp.tuxpaint.org/unix/www/cgi-util/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xf $CWD/$PRGNAM-$VERSION.tar.gz - -( cd $TMP/$PRGNAM-$VERSION - make LIBDIR=$PREFIX/lib$(echo "${ARCH}" | grep -o 64) INCDIR=$PREFIX/include - - mkdir -p $PKG$PREFIX/lib$(echo "${ARCH}" | grep -o 64) $PKG$PREFIX/include - make install LIBDIR=$PKG$PREFIX/lib$(echo "${ARCH}" | grep -o 64) INCDIR=$PKG$PREFIX/include -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (CGI C library) -$PRGNAM: -$PRGNAM: cgi-util is a powerful, small C library that allows you to create -$PRGNAM: CGI ("Common Gateway Interface") programs for websites. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.newbreedsoftware.com/cgi-util/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/elpy/SlackBuild b/UNUSED/l/elpy/SlackBuild deleted file mode 100755 index 9dbaa44b..00000000 --- a/UNUSED/l/elpy/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=$(date +%F | tr - .) -BUILD=1 - -ARCH=python - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -rm -fr $PKG $TMP/$PRGNAM -mkdir -p $TMP - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/jorgenschaefer/elpy.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM - -cd $TMP/$PRGNAM -python setup.py install --root $PKG - -VERSION=$(ls /usr/lib$(uname -m | grep -o 64)/python*/site-packages/| grep "$PRGNAM-.*-py.*\.egg-info" | grep -o "[0-9.]*" | head -n1)_$VERSION - -mkdir -p $PKG/install -cat < $PKG/install - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Emacs Python Development Environment) -$PRGNAM: -$PRGNAM: Elpy is an Emacs package to bring powerful Python editing to Emacs. -$PRGNAM: It combines a number of other packages, both written in Emacs Lisp as -$PRGNAM: well as Python. -$PRGNAM: -$PRGNAM: Install elpy in Emacs as well through Marmalade as described on the -$PRGNAM: homepage. -$PRGNAM: https://github.com/jorgenschaefer/elpy/wiki -$PRGNAM: -$PRGNAM: https://github.com/jorgenschaefer/elpy -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/ffl/SlackBuild b/UNUSED/l/ffl/SlackBuild deleted file mode 100755 index 5963d107..00000000 --- a/UNUSED/l/ffl/SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -# variables -VERSION=svn_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - svn checkout http://ffl.googlecode.com/svn/trunk/ $PRGNAM -fi - -( cd $REPOSITORY - svn update -) - -mkdir -p \ - $PKG$PREFIX/lib${LIBDIRSUFFIX}/gforth/site-forth/ \ - $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY/ffl $PKG$PREFIX/lib${LIBDIRSUFFIX}/gforth/site-forth/ -cp -R $REPOSITORY/{AUTHORS,COPYING,NEWS,README,dist,ChangeLog,examples,engines,html,test,tex} $PKG$PREFIX/doc/$PRGNAM - -# correction -( cd $PKG - chown -R root:root * - - [ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9f {} \; -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A general purpose Forth library) -$PRGNAM: -$PRGNAM: The Forth Foundation Library (FFL) is a general purpose forth library. -$PRGNAM: Its main purpose is to make it easier to develop applications. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://code.google.com/p/ffl/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/flightcrew/SlackBuild b/UNUSED/l/flightcrew/SlackBuild deleted file mode 100755 index b788a9fe..00000000 --- a/UNUSED/l/flightcrew/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone https://github.com/Sigil-Ebook/flightcrew $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - gitpull - ) -fi - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -SRC_PATH=$REPOSITORIES/$PRGNAM -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - SRC_PATH=. - cd $TMP/$PRGNAM-$VERSION -else - mkdir -p $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION -fi - -# configuration -cmake \ - -DCMAKE_INSTALL_PREFIX=$PREFIX \ - $SRC_PATH - - -# compilation -make -j3 - -# installation -make install DESTDIR=$PKG - - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (epub validator) -$PRGNAM: -$PRGNAM: FlightCrew is a C++, cross-platform, native code epub validator. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/Sigil-Ebook/flightcrew -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/gail/SlackBuild b/UNUSED/l/gail/SlackBuild deleted file mode 100755 index 7f3f4f8e..00000000 --- a/UNUSED/l/gail/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=1.22.3 -ARCH=${ARCH:-x86_64} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -TAG=gwh -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c http://ftp.acc.umu.se/pub/gnome/sources/gail/1.22/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --libdir=/usr/lib$(echo $ARCH | grep -o 64) - -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make -make install DESTDIR=$PKG - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | - xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------------| -$PRGNAM: $PRGNAM () -$PRGNAM: -$PRGNAM: GAIL provides accessibility support for gtk+ and libgnomecanvas by -$PRGNAM: implementing AtkObjects for widgets in gtk+ and libgnomecanvas. The -$PRGNAM: GAIL library is a GTK+ module. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://ftp.acc.umu.se/pub/gnome/sources/gail/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/geoclue/SlackBuild b/UNUSED/l/geoclue/SlackBuild deleted file mode 100755 index 14fd0973..00000000 --- a/UNUSED/l/geoclue/SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone git://anongit.freedesktop.org/git/geoclue $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -./autogen.sh -./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) \ - --mandir=$PREFIX/man - -make -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (The Geoinformation Service) -$PRGNAM: -$PRGNAM: Geoclue is a modular geoinformation service built on top of the D-Bus -$PRGNAM: messaging system. The goal of the Geoclue project is to make creating -$PRGNAM: location-aware applications as simple as possible. -$PRGNAM: Geoclue defines a set of geoinformation APIs, but it also includes -$PRGNAM: some providers that implement those APIs. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.freedesktop.org/wiki/Software/GeoClue -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/gobject-introspection/SlackBuild b/UNUSED/l/gobject-introspection/SlackBuild deleted file mode 100755 index afa9893c..00000000 --- a/UNUSED/l/gobject-introspection/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/$PRGNAM-$VERSION.tar.xz ] ; then - tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -else - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone git://git.gnome.org/gobject-introspection $REPOSITORIES/$PRGNAM - else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - fi - cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION -fi -cd $PRGNAM-$VERSION - -./autogen.sh -LIBS=-lX11 ./configure \ - --libdir=/usr/lib$( [ $ARCH = "x86_64" ] && echo 64 ) \ - --mandir=/usr/man \ - --prefix=/usr - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM/ -cp $DOCS $PKG/usr/doc/$PRGNAM/ - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM () -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://live.gnome.org/GObjectIntrospection -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/guile-xcb/SlackBuild b/UNUSED/l/guile-xcb/SlackBuild deleted file mode 100755 index b37bd8f1..00000000 --- a/UNUSED/l/guile-xcb/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/mwitmer/guile-xcb.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info -make -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A guile implementation of the X protocol using xml/xcb) -$PRGNAM: -$PRGNAM: Guile XCB is an X11 client library written entirely in Guile. It make -$PRGNAM: use of the Guile compiler and virtual machine to turn XML descriptions -$PRGNAM: of the X protocol provided by the XCB project into Guile object code -$PRGNAM: files. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/mwitmer/guile-xcb -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/jedi/SlackBuild b/UNUSED/l/jedi/SlackBuild deleted file mode 100755 index a1738f01..00000000 --- a/UNUSED/l/jedi/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=$(date +%F | tr - .) -BUILD=1 - -ARCH=noarch - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -rm -fr $PKG $TMP/$PRGNAM -mkdir -p $TMP - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/davidhalter/jedi.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM - -cd $TMP/$PRGNAM -python setup.py install --root $PKG - -VERSION=$(ls /usr/lib$(uname -m | grep -o 64)/python*/site-packages/| grep "$PRGNAM-.*-py.*\.egg-info" | grep -o "[0-9.]*" | head -n1)_$VERSION - -mkdir -p $PKG/install -cat < $PKG/install - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (an awesome Python auto-completion) -$PRGNAM: -$PRGNAM: Jedi is an autocompletion tool for Python. It works. -$PRGNAM: With and without syntax errors. Sometimes it sucks, but that's normal -$PRGNAM: in dynamic languages. But it sucks less than other tools. It -$PRGNAM: understands almost all of the basic Python syntax elements including -$PRGNAM: many builtins. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/davidhalter/jedi -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libconfig/SlackBuild b/UNUSED/l/libconfig/SlackBuild deleted file mode 100755 index 15d824bd..00000000 --- a/UNUSED/l/libconfig/SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=1.4.3 - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://ftp1.fr.freebsd.org/pub/frugalware/frugalware-current/source/lib-extra/libconfig/$PRGNAM-$VERSION.tar.gz \ - -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) \ - --infodir=$PREFIX/info - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && rm $PKG/usr/info/dir{,.gz,.new} - -# Strip binaries -( cd $PKG - 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/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Configuration file library for C and C++.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://hyperrealm.com/libconfig/libconfig.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libev/SlackBuild b/UNUSED/l/libev/SlackBuild deleted file mode 100755 index b238e527..00000000 --- a/UNUSED/l/libev/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=libev -PKG=$TMP/pkg-$PRGNAM - -VERSION=4.03 - -EXT=tar.gz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.$EXT ] && wget -c http://dist.schmorp.de/libev/libev-4.03.tar.gz -O $CWD/$PRGNAM-$VERSION.$EXT -tar xf $CWD/$PRGNAM-$VERSION.$EXT -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$( [ $ARCH = "x86_64" ] && echo 64 ) - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (one line description here) -$PRGNAM: -$PRGNAM: More verbose description here, usually from the README file. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libfakekey/SlackBuild b/UNUSED/l/libfakekey/SlackBuild deleted file mode 100755 index 7f278605..00000000 --- a/UNUSED/l/libfakekey/SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=libfakekey -PKG=$TMP/pkg-$PRGNAM - -VERSION=0.1 - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -case $ARCH in - x86_64) - SLCKFLAGS="-fPIC -O2" - ;; - *) - SLCKFLAGS="-O2" -esac - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 () -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://matchbox-project.org/ -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libffi/SlackBuild b/UNUSED/l/libffi/SlackBuild deleted file mode 100755 index be33d601..00000000 --- a/UNUSED/l/libffi/SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=3.0.11 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO" - -SLCKFLAGS="-O2" -case $ARCH in - "x86_64") - SLCKFLAGS="$SLCKFLAGS -fPIC" - ;; - *) -esac - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c ftp://sourceware.org/pub/libffi/$PRGNAM-$VERSION.tar.gz \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -( cd $TMP/$PRGNAM-$VERSION - # configuration - CCPFLAGS=$SLCKFLAGS \ - CFLAGS=$SLCKFLAGS \ - LIBS="-lncursesw" \ - LDFLAGS="-L$PREFIX/lib$(echo $ARCH | grep -o 64)" \ - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --docdir=$PREFIX/doc/$PRGNAM-$VERSION \ - --includedir=$PREFIX/include \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) - - # compilation - make -j3 PREFIX=$PREFIX - # installation - make install DESTDIR=$PKG - # WAT‽ - cp -R $PKG$PREFIX/lib$(echo $ARCH | grep -o 64)/$PRGNAM-$VERSION/include $PKG$PREFIX/ -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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 (A Portable Foreign Function Interface Library ) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://sourceware.org/libffi/ -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/l/libmodplug/SlackBuild b/UNUSED/l/libmodplug/SlackBuild deleted file mode 100755 index 7b2bc87e..00000000 --- a/UNUSED/l/libmodplug/SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -x - -PRGNAM=libmodplug -VERSION=0.8.8.1 - - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] \ - && tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - [ ! -e $PRGNAM-$VERSION ] \ - && wget -c http://ftp.de.debian.org/debian/pool/main/libm/$PRGNAM/${PRGNAM}_$VERSION.orig.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz \ - && tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib64 -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX/$PRGNAM,man/man1} -( cd $TMP/$PRGNAM-$VERSION - make install DESTDIR=$PKG -) - -# Cleaning -( cd $PKG - 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 - - find ./man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < install/slack-desc -$PRGNAM: $PRGNAM () -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://packages.debian.org/source/sid/libmodplug -$PRGNAM: -EOF - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/l/libunibreak/SlackBuild b/UNUSED/l/libunibreak/SlackBuild deleted file mode 100755 index 9c5b31f9..00000000 --- a/UNUSED/l/libunibreak/SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=1.0 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO" - -SLCKFLAGS="-O2" -case $ARCH in - "x86_64") - SLCKFLAGS="$SLCKFLAGS -fPIC" - ;; - *) -esac - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://downloads.sourceforge.net/project/vimgadgets/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -( cd $TMP/$PRGNAM-$VERSION - # configuration - CCPFLAGS=$SLCKFLAGS \ - CFLAGS=$SLCKFLAGS \ - LIBS="-lncursesw" \ - LDFLAGS="-L$PREFIX/lib$(echo $ARCH | grep -o 64)" \ - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --docdir=$PREFIX/doc/$PRGNAM-$VERSION \ - --includedir=$PREFIX/include \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) - - # compilation - make -j3 PREFIX=$PREFIX - # installation - make install DESTDIR=$PKG - # WAT‽ - cp -R $PKG$PREFIX/lib$(echo $ARCH | grep -o 64)/$PRGNAM-$VERSION/include $PKG$PREFIX/ -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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 (A Portable Foreign Function Interface Library ) -$PRGNAM: -$PRGNAM: an implementation of the line breaking and word breaking algorithms as described -$PRGNAM: in Unicode Standard Annex 14 and Unicode Standard Annex 29, available at -$PRGNAM: http://www.unicode.org/reports/tr14/tr14-26.html -$PRGNAM: http://www.unicode.org/reports/tr29/tr29-17.html -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: Check this URL for up-to-date information: -$PRGNAM: http://vimgadgets.sourceforge.net/libunibreak/ -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/l/libunistring/SlackBuild b/UNUSED/l/libunistring/SlackBuild deleted file mode 100755 index 37c455a7..00000000 --- a/UNUSED/l/libunistring/SlackBuild +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=0.9.3 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO" - -SLCKFLAGS="-O2" -case $ARCH in - "x86_64") - SLCKFLAGS="$SLCKFLAGS -fPIC" - ;; - *) -esac - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://ftp.gnu.org/gnu/libunistring/$PRGNAM-$VERSION.tar.gz \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -( cd $TMP/$PRGNAM-$VERSION - # configuration - CCPFLAGS=$SLCKFLAGS \ - CFLAGS=$SLCKFLAGS \ - LIBS="-lncursesw" \ - LDFLAGS="-L$PREFIX/lib$(echo $ARCH | grep -o 64)" \ - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --docdir=$PREFIX/doc/$PRGNAM-$VERSION \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) - - # compilation - make -j3 PREFIX=$PREFIX - # installation - make install DESTDIR=$PKG -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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 (GNU Unicode library) -$PRGNAM: -$PRGNAM: This library provides functions for manipulating Unicode strings and -$PRGNAM: for manipulating C strings according to the Unicode standard. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.gnu.org/software/libunistring/ -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/l/libxdg-basedir/SlackBuild b/UNUSED/l/libxdg-basedir/SlackBuild deleted file mode 100755 index 1d7e4484..00000000 --- a/UNUSED/l/libxdg-basedir/SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=libxdg-basedir -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -EXT=tar.gz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ -e $REPOSITORY ]; then - ( cd $REPOSITORY - git pull - ) -else - git clone http://repo.or.cz/r/libxdg-basedir.git $REPOSITORY -fi -cp -R $REPOSITORY $PRGNAM-$VERSION -cd $PRGNAM-$VERSION - -# configuration -./autogen.sh - -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$( [ $ARCH = "x86_64" ] && echo 64 ) - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (one line description here) -$PRGNAM: -$PRGNAM: More verbose description here, usually from the README file. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libyaml/SlackBuild b/UNUSED/l/libyaml/SlackBuild deleted file mode 100755 index 9b681b8e..00000000 --- a/UNUSED/l/libyaml/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - # svn checkout http://svn.pyyaml.org/libyaml/trunk/ $REPOSITORY - svn checkout http://svn.pyyaml.org/libyaml/branches/stable/ $REPOSITORY -else - ( cd $REPOSITORY - svn update - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -./bootstrap -./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) ---mandir=$PREFIX/man -make -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A C library for parsing and emitting YAML.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://pyyaml.org/wiki/LibYAML -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/npm-zsh-completion/SlackBuild b/UNUSED/l/npm-zsh-completion/SlackBuild deleted file mode 100755 index 2d405d58..00000000 --- a/UNUSED/l/npm-zsh-completion/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/kuno/npm-zsh-completion.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/share/zsh/site-functions/ -cp $REPOSITORY/npm-zsh-completion.sh $PKG$PREFIX/share/zsh/site-functions/_npm - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp $REPOSITORY/README.md $PKG$PREFIX/doc/$PRGNAM/ - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (npm completion for zsh) -$PRGNAM: -$PRGNAM: zsh completion shell script for npm -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/kuno/npm-zsh-completion -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/oocairo/SlackBuild b/UNUSED/l/oocairo/SlackBuild deleted file mode 100755 index e6a1b85a..00000000 --- a/UNUSED/l/oocairo/SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=svn$(date +%Y.%m.%d_%H.%M) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories -GZBZ2="bz2" - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/PRGNAM-$VERSION.tar.$GZBZ2 ] ; then - tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2 -else - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone http://git.naquadah.org/git/oocairo.git $REPOSITORIES/$PRGNAM - else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - fi - cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION -fi -cd $PRGNAM-$VERSION - -./autogen.sh -LIBS=-lX11 ./configure \ - --libdir=/usr/lib$( [ $ARCH = "x86_64" ] && echo 64 ) \ - --mandir=/usr/man \ - --prefix=/usr - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM/ -cp $DOCS $PKG/usr/doc/$PRGNAM/ - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (Lua - cairo binding) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://git.naquadah.org/?p=oocairo.git;a=summary -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/oopango/SlackBuild b/UNUSED/l/oopango/SlackBuild deleted file mode 100755 index 341f15bb..00000000 --- a/UNUSED/l/oopango/SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=svn$(date +%F | sed 's/-//g') -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories -GZBZ2="bz2" - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/PRGNAM-$VERSION.tar.$GZBZ2 ] ; then - tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2 -else - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone http://git.naquadah.org/git/oopango.git $REPOSITORIES/$PRGNAM - else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - fi - cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION -fi -cd $PRGNAM-$VERSION - -./autogen.sh -LIBS=-lX11 ./configure \ - --libdir=/usr/lib$( [ $ARCH = "x86_64" ] && echo 64 ) \ - --mandir=/usr/man \ - --prefix=/usr - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM/ -cp $DOCS $PKG/usr/doc/$PRGNAM/ - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (Lua - pango binding) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://git.naquadah.org/?p=oopango.git;a=summary -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/phpredis/SlackBuild b/UNUSED/l/phpredis/SlackBuild deleted file mode 100755 index 90756877..00000000 --- a/UNUSED/l/phpredis/SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -EXT=tar.gz - -DOCS="COPYING CREDITS README.markdown" - -ARCH=$(uname -m) -BUILD=1 - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/phpredis/phpredis.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $PRGNAM -cd $PRGNAM - -# configuration -phpize - -CFLAGS=$SLCKFLAGS \ - CPPFLAGS=$SLCKFLAGS \ - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$( [ $ARCH = "x86_64" ] && echo 64 ) - -# compilation -make -j3 prefix=$PREFIX - -# installation -make install INSTALL_ROOT=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM -cd $TMP/$PRGNAM -cp -R $DOCS $PKG/usr/doc/$PRGNAM - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM ( A PHP extension for Redis) -$PRGNAM: -$PRGNAM: The phpredis extension provides an API for communicating with the Redis -$PRGNAM: key-value store. It is released under the PHP License, version 3.01. -$PRGNAM: This code has been developed and maintained by Owlient from November 2009 to March 2011. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/phpredis/phpredis -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/pidgin-original-smileys/SlackBuild b/UNUSED/l/pidgin-original-smileys/SlackBuild deleted file mode 100755 index a9fdb602..00000000 --- a/UNUSED/l/pidgin-original-smileys/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -# variables -VERSION=1.9 -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=noarch - -if [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/share/pixmaps/pidgin/emotes - -# mise en place -[ ! -e $CWD/pidgin-original-$VERSION.tgz ] && wget -c http://files.andreineculau.com/projects/pidgin/original-smileys/pidgin-original-$VERSION.tgz -O $CWD/pidgin-original-$VERSION.tgz - -tar -C $PKG$PREFIX/share/pixmaps/pidgin/emotes -xf $CWD/pidgin-original-$VERSION.tgz - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Original Smileys Theme for Pidgin) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://wiki.andreineculau.com/Original_Smileys_Theme_for_Pidgin -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/prettytable/SlackBuild b/UNUSED/l/prettytable/SlackBuild deleted file mode 100755 index 46ce3e8b..00000000 --- a/UNUSED/l/prettytable/SlackBuild +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh - -# Slackware build script for - -# Copyright -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=prettytable -VERSION=${VERSION:-0.7.2} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} # the "_SBo" is required - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.bz2 ] && wget -c https://pypi.python.org/packages/source/P/PrettyTable/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 - -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -python setup.py install --root=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README CHANGELOG COPYING \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -|-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A simple Python library for displaying tabular data) -$PRGNAM: -$PRGNAM: PrettyTable is a simple Python library designed to make it -$PRGNAM: quick and easy to represent tabular data in visually appealing -$PRGNAM: ASCII tables. It was inspired by the ASCII tables used in the -$PRGNAM: PostgreSQL shell psql. PrettyTable allows for selection of -$PRGNAM: which columns are to be printed, independent alignment of -$PRGNAM: columns (left or right justified or centred) and printing of -$PRGNAM: "sub-tables" by specifying a row range. -$PRGNAM: -$PRGNAM: http://code.google.com/p/prettytable/ -EOF -[ -e $CWD/doinst.sh ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/UNUSED/l/pyglet/SlackBuild b/UNUSED/l/pyglet/SlackBuild deleted file mode 100755 index 39e5fbaf..00000000 --- a/UNUSED/l/pyglet/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -# variables -VERSION=trunk_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - svn checkout http://pyglet.googlecode.com/svn/trunk/ $REPOSITORY -fi - -( cd $REPOSITORY - svn update -) - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - python ./setup.py install --root $PKG -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (a cross-platform windowing and multimedia library for Python.) -$PRGNAM: -$PRGNAM: pyglet provides an object-oriented programming interface for developing -$PRGNAM: games and other visually-rich applications for Windows, Mac OS X and -$PRGNAM: Linux. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.pyglet.org -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/python-bcrypt/SlackBuild b/UNUSED/l/python-bcrypt/SlackBuild deleted file mode 100755 index e3592784..00000000 --- a/UNUSED/l/python-bcrypt/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# Slackware build script for - -# Copyright -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -CWD=$(pwd) -TMP=/tmp/$TAG -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} # the "_SBo" is required -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -# mise en place -GIT_URL="https://github.com/pyca/bcrypt.git" -[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM -cd $TMP/$PRGNAM/ - -python ./setup.py build - -# installation -python ./setup.py install --root=$PKG - -# Copy the slack-desc (and a custom doinst.sh if necessary) into ./install -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -|-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (syncthing/syncthing-gtk) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -EOF -[ -e $CWD/doinst.sh ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/UNUSED/l/sk1libs/SlackBuild b/UNUSED/l/sk1libs/SlackBuild deleted file mode 100755 index 90bd2aa0..00000000 --- a/UNUSED/l/sk1libs/SlackBuild +++ /dev/null @@ -1,51 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=0.9.1 -BUILD=1 - - -ARCH=$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORIES=$HOME/projets/packages/repositories - -rm -fr $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $TMP - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && wget -c "http://sk1project.org/dc.php?target=$PRGNAM-$VERSION.tar.gz" -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - -cd $TMP/$PRGNAM-$VERSION -python setup.py install --root $PKG - -#mv $PKG/usr/share/man $PKG/usr - -mkdir -p $PKG/install -cat < $PKG/install -$PRGNAM: $PRGNAM (libs for uniconvertor) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/l/skype4pidgin/SlackBuild b/UNUSED/l/skype4pidgin/SlackBuild deleted file mode 100755 index d303859c..00000000 --- a/UNUSED/l/skype4pidgin/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -if [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" -else - LIBDIRSUFFIX="" -fi - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/lib${LIBDIRSUFFIX}/purple-2 $PKG$PREFIX/doc/$PRGNAM - -# mise en place -[ -e $CWD/libskype${LIBDIRSUFFIX}.so ] && mv $CWD/libskype${LIBDIRSUFFIX}.so $CWD/libskype${LIBDIRSUFFIX}.so.orig -wget -c http://eion.robbmob.com/libskype${LIBDIRSUFFIX}.so -O $CWD/libskype${LIBDIRSUFFIX}.so -[ -e $CWD/libskype_dbus${LIBDIRSUFFIX}.so ] && mv $CWD/libskype_dbus${LIBDIRSUFFIX}.so $CWD/libskype_dbus${LIBDIRSUFFIX}.so.orig -wget -c http://eion.robbmob.com/libskype_dbus${LIBDIRSUFFIX}.so -O $CWD/libskype_dbus${LIBDIRSUFFIX}.so - -cp $CWD/libskype_dbus${LIBDIRSUFFIX}.so $CWD/libskype${LIBDIRSUFFIX}.so $PKG$PREFIX/lib${LIBDIRSUFFIX}/purple-2 - -[ -e $CWD/README.txt ] && mv $CWD/README.txt $CWD/README.txt.orig -wget -c http://eion.robbmob.com/README.txt -O $CWD/README.txt -[ -e $CWD/CHANGELOG.txt ] && mv $CWD/CHANGELOG.txt $CWD/CHANGELOG.txt.orig -wget -c http://eion.robbmob.com/CHANGELOG.txt -O $CWD/CHANGELOG.txt - -cp $CWD/README.txt $CWD/CHANGELOG.txt $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Skype API Plugin for Pidgin/libpurple) -$PRGNAM: -$PRGNAM: This is the Skype API Plugin for Pidgin/libpurple/Adium. If you're -$PRGNAM: already running Skype, you can have your Skype contacts displayed -$PRGNAM: with your Pidgin/libpurple/Adium contacts. It is intended as a -$PRGNAM: complete replacement for the Skype user interface, hopefully -$PRGNAM: everything you can do in Skype you can do with this plugin. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://eion.robbmob.com/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/sphinxcontrib-blockdiag/SlackBuild b/UNUSED/l/sphinxcontrib-blockdiag/SlackBuild deleted file mode 100755 index cdc09684..00000000 --- a/UNUSED/l/sphinxcontrib-blockdiag/SlackBuild +++ /dev/null @@ -1,53 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=1.2.0 -BUILD=1 - -ARCH=noarch - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -rm -fr $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $TMP - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c https://pypi.python.org/packages/source/s/$PRGNAM/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xf $CWD/$PRGNAM-$VERSION.tar.gz - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - -cd $TMP/$PRGNAM-$VERSION -python setup.py install --root $PKG - -mkdir -p $PKG/install -cat < $PKG/install - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Sphinx extension) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://bitbucket.org/birkenfeld/sphinx-contrib -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/l/stfl/SlackBuild b/UNUSED/l/stfl/SlackBuild deleted file mode 100755 index fbab21ae..00000000 --- a/UNUSED/l/stfl/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# Slackware build script for stfl -# Written by slakmagik -# Released under the WTFPL - -PRGNAM=stfl -VERSION=0.22 -ARCH=${ARCH:-x86_64} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c http://www.clifford.at/stfl/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" prefix=/usr mandir=/usr/man make -make prefix=/usr mandir=/usr/man DESTDIR=$PKG libdir=/lib$(echo $ARCH | grep -o 64) install - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | - xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------------| -stfl: STFL (the Structured Terminal Forms Language/Library) -stfl: -stfl: STFL is a library which implements a curses-based widget set for text -stfl: terminals. The STFL API can be used from C, SPL, Python, Perl and -stfl: Ruby. The public STFL API is only 14 simple function calls big and and -stfl: there are already generic SWIG bindings. Thus it is very easy to port -stfl: to additional scripting languages. -stfl: -stfl: Homepage: http://www.clifford.at/stfl/ -stfl: -stfl: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/webkit/SlackBuild b/UNUSED/l/webkit/SlackBuild deleted file mode 100755 index 5621c85e..00000000 --- a/UNUSED/l/webkit/SlackBuild +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/sh - -# variables -VERSION=git_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:=/tmp/$TAG} -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=x86_64 - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - cd $(dirname $REPOSITORY) - git clone git://git.webkit.org/WebKit.git $PRGNAM -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - - find . -name ".git*" -exec rm -fr {} \; - - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - ./autogen.sh \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib${LIBDIRSUFFIX} \ - --mandir=$PREFIX/man \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --enable-fast-malloc \ - --with-font-backend=pango \ - --disable-static \ - --build=$ARCH-slackware-linux - - make - - make install DESTDIR=$PKG -) - -# correction -( cd $PKG - chown -R root:root * - - [ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9f {} \; -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (web browser engine) -$PRGNAM: -$PRGNAM: WebKit is an open source web browser engine. WebKit is also the name of the -$PRGNAM: Mac OS X system framework version of the engine that's used by Safari, -$PRGNAM: Dashboard, Mail, and many other OS X applications. WebKit's HTML and JavaScript -$PRGNAM: code began as a branch of the KHTML and KJS libraries from KDE. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://webkit.org/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/zeromq/SlackBuild b/UNUSED/l/zeromq/SlackBuild deleted file mode 100755 index 51511e20..00000000 --- a/UNUSED/l/zeromq/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=trunk_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://github.com/zeromq/zeromq2.git $REPOSITORY -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - ./autogen.sh - ./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) - --mandir=$PREFIX/man - make - make install DESTDIR=$PKG -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (lightweight messaging kernel) -$PRGNAM: -$PRGNAM: The 0MQ lightweight messaging kernel is a library which extends the -$PRGNAM: standard socket interfaces with features traditionally provided by -$PRGNAM: specialised messaging middleware products. 0MQ sockets provide an -$PRGNAM: abstraction of asynchronous message queues, multiple messaging patterns, -$PRGNAM: message filtering (subscriptions), seamless access to multiple transport -$PRGNAM: protocols and more. -$PRGNAM: -$PRGNAM: http://www.zeromq.org/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/zsh-completions/SlackBuild b/UNUSED/l/zsh-completions/SlackBuild deleted file mode 100755 index 2ac93ee6..00000000 --- a/UNUSED/l/zsh-completions/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG - -mkdir -p $PKG - -# mise en place -[ ! -e $REPOSITORY ] git clone "https://github.com/zsh-users/zsh-completions.git" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG$PREFIX/share/zsh/site-functions/ -cp $REPOSITORY/src/* $PKG$PREFIX/share/zsh/site-functions/ - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp $REPOSITORY/README.md $PKG$PREFIX/doc/$PRGNAM/ - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Additional completion definitions for Zsh.) -$PRGNAM: -$PRGNAM: This projects aims at gathering/developing new completion scripts -$PRGNAM: that are not available in Zsh yet. The scripts are meant to be -$PRGNAM: contributed to the Zsh project when stable enough. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/zsh-users/zsh-completions -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/lua/awesome_lain/SlackBuild b/UNUSED/lua/awesome_lain/SlackBuild deleted file mode 100755 index c1cd5c88..00000000 --- a/UNUSED/lua/awesome_lain/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -DOCS="ISSUE_TEMPLATE.md LICENSE README.rst" - -rm -rf $PKG $TMP/$PRGNAM -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/$PRGNAM-$VERSION.tar.xz ] ; then - tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -else - [ ! -e $REPOSITORY ] && git clone https://github.com/lcpz/lain.git $REPOSITORY - ( cd $REPOSITORY && git pull ) - VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - - cp -R $REPOSITORY $PRGNAM -fi -cd $PRGNAM - -LUA_VERSION=$(lua -v 2>&1 | grep -o "5\..") -LUA_SHAREDIR=/usr/share/lua/$LUA_VERSION - -mkdir -p ${PKG}${LUA_SHAREDIR}/lain - -cp -a {icons,layout,util,widget,LICENSE,README.rst,*.lua} ${PKG}${LUA_SHAREDIR}/lain -mkdir -p ${PKG}/usr/doc/$PRGNAM -cp $DOCS ${PKG}/usr/doc/$PRGNAM - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (Awesome WM complements) -$PRGNAM: -$PRGNAM: Successor of awesome-vain, this module provides alternative layouts, -$PRGNAM: asynchronous widgets and utility functions for Awesome. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/lcpz/lain -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/lua/ldoc/SlackBuild b/UNUSED/lua/ldoc/SlackBuild deleted file mode 100755 index e97dd997..00000000 --- a/UNUSED/lua/ldoc/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -rm -rf $PKG $TMP/$PRGNAM -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/$PRGNAM-$VERSION.tar.xz ] ; then - tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -else - [ ! -e $REPOSITORY ] && git clone https://github.com/stevedonovan/ldoc.git $REPOSITORY - ( cd $REPOSITORY && git pull ) - VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - - cp -R $REPOSITORY $PRGNAM -fi -cd $PRGNAM - -mkdir -p $PKG/usr/bin/ -make install DESTDIR=$PKG - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (A LuaDoc-compatible documentation generation system) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://stevedonovan.github.com/ldoc/ -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/lua/luafilesystem/SlackBuild b/UNUSED/lua/luafilesystem/SlackBuild deleted file mode 100755 index 322fdfb4..00000000 --- a/UNUSED/lua/luafilesystem/SlackBuild +++ /dev/null @@ -1,111 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -if [ -z "$ARCH" ]; then -case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; -esac -fi - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -rm -rf $PKG $TMP/$PRGNAM -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/$PRGNAM-$VERSION.tar.xz ] ; then - tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -else - [ ! -e $REPOSITORY ] && git clone https://github.com/keplerproject/luafilesystem.git $REPOSITORY - ( cd $REPOSITORY && git pull ) - VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - - cp -R $REPOSITORY $PRGNAM -fi -cd $PRGNAM - -LUA_VERSION=$(lua -v 2>&1 | grep -o "5\..") - -sed -i \ - -e '/^CFLAGS= /s,-O2,'"$SLKCFLAGS"',' \ - -e "s|/usr/local|/usr|" \ - -e "s|/lib/lua/|/share/lua/|" \ - -e "s|LUA_VERSION=5.1|LUA_VERSION=$LUA_VERSION|" \ - Makefile - -LIBDIRSUFFIX=$( uname -m | grep -o 64 ) - -make LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/$LUA_VERSION \ - LUA_SHAREDIR=/usr/share/lua/$LUA_VERSION \ - PREFIX=/usr CFLAGS="$SLKCFLAGS" -make LUA_LIBDIR=/usr/lib$LIBDIRSUFFIX/lua/$LUA_VERSION \ - LUA_SHAREDIR=/usr/share/lua/$LUA_VERSION \ - DESTDIR=$PKG install - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (Lua Filesystem libraries) -$PRGNAM: -$PRGNAM: A set of pure Lua libraries focusing on input data handling (such as -$PRGNAM: reading configuration files), functional programming (such as map, -$PRGNAM: reduce, placeholder expressions,etc), and OS path management. Much of -$PRGNAM: the functionality is inspired by the Python standard libraries. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/keplerproject/luafilesystem -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/lua/penlight/SlackBuild b/UNUSED/lua/penlight/SlackBuild deleted file mode 100755 index 2ac1ffb2..00000000 --- a/UNUSED/lua/penlight/SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -if [ -z "$ARCH" ]; then -case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; -esac -fi - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -elif [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -rm -rf $PKG $TMP/$PRGNAM -mkdir -p $PKG -cd $TMP - -[ ! -e $REPOSITORY ] && git clone https://github.com/stevedonovan/Penlight.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $PRGNAM -cd $PRGNAM - -LUA_VERSION=$(lua -v 2>&1 | grep -o "5\..") - -mkdir -p $PKG/usr/share/lua/$LUA_VERSION - -cp -R lua/pl $PKG/usr/share/lua/$LUA_VERSION/ - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (Lua libs) -$PRGNAM: -$PRGNAM: A set of pure Lua libraries focusing on input data handling (such as -$PRGNAM: reading configuration files), functional programming (such as map, -$PRGNAM: reduce, placeholder expressions,etc), and OS path management. Much of -$PRGNAM: the functionality is inspired by the Python standard libraries. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://stevedonovan.github.com/Penlight/ -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/FreshRSS/SlackBuild b/UNUSED/n/FreshRSS/SlackBuild deleted file mode 100755 index a1bd635e..00000000 --- a/UNUSED/n/FreshRSS/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -VHOSTROOT=/var/www/${VHOST} -DOCROOT=${DOCROOT:-/var/www/${VHOST}htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$VHOSTROOT - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -[ ! -e $REPOSITORY ] && git clone https://github.com/FreshRSS/FreshRSS $REPOSITORY -( cd $REPOSITORY - git pull ) - -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs - -rm -fr $PKG/$VHOSTROOT/htdocs/.git -find $PKG/$VHOSTROOT/htdocs -name .git\* -exec rm -fr {} \; -find $PKG/$VHOSTROOT/htdocs -name .travis.yml -exec rm -fr {} \; - -cd $PKG/$VHOSTROOT/htdocs -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -for i in *.md *.txt; do - [ -e $i ] && cp -a $i $PKG/usr/doc/$PRGNAM -done - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT -chmod 0750 $PKG/$DOCROOT - -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A free, self-hostable aggregator…) -$PRGNAM: -$PRGNAM: FreshRSS is a self-hosted RSS feed aggregator such as Leed or Kriss Feed. -$PRGNAM: It is at the same time lightweight, easy to work with, powerful and customizable. -$PRGNAM: It is a multi-user application with an anonymous reading mode. It supports -$PRGNAM: PubSubHubbub for instant notifications from compatible Web sites. There is an API -$PRGNAM: for (mobile) clients, and a Command-Line Interface. Finally, it supports -$PRGNAM: extensions for further tuning. -$PRGNAM: -$PRGNAM: https://freshrss.org -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/PluXml/SlackBuild b/UNUSED/n/PluXml/SlackBuild deleted file mode 100755 index 29f1d0b2..00000000 --- a/UNUSED/n/PluXml/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repository/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/pluxml/PluXml.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a changelog.txt version $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install/ -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Blog ou CMS Ă  l'Xml) -$PRGNAM: -$PRGNAM: . Simple et lĂ©ger -$PRGNAM: . Sans base de donnĂ©es -$PRGNAM: . Collaboratif -$PRGNAM: . Thèmes -$PRGNAM: . Plugins -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.pluxml.org -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/Shaarli/SlackBuild b/UNUSED/n/Shaarli/SlackBuild deleted file mode 100755 index b38126e2..00000000 --- a/UNUSED/n/Shaarli/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repository/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/sebsauvage/Shaarli.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a README.md COPYING $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (The personal, minimalist, super-fast, no-database delicious clone.) -$PRGNAM: -$PRGNAM: You want to share the links you discover ? Shaarli is a minimalist delicious -$PRGNAM: clone you can install on your own website. It is designed to be personal -$PRGNAM: (single-user), fast and handy. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://blog.slucas.fr/en/oss/calibre-opds-php-server -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/ampache/SlackBuild b/UNUSED/n/ampache/SlackBuild deleted file mode 100755 index 6ac5b7ff..00000000 --- a/UNUSED/n/ampache/SlackBuild +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-3.8.2} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -VHOSTROOT=/var/www/${VHOST} -DOCROOT=${DOCROOT:-/var/www/${VHOST}htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$VHOSTROOT - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -[ ! -e $REPOSITORY ] && git clone https://github.com/ampache/ampache $REPOSITORY -( cd $REPOSITORY - git pull - git submodule init - git submodule update ) - -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs -rm -fr $PKG/$VHOSTROOT/htdocs/.git - -cd $PKG/$VHOSTROOT/htdocs -composer install --prefer-source --no-interaction - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a README* $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT -chmod 0750 $PKG/$DOCROOT - -mkdir -p $PKG/install/ -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A web based audio/video streaming application and file manager) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://ampache.org/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/artillery/SlackBuild b/UNUSED/n/artillery/SlackBuild deleted file mode 100755 index efbfd268..00000000 --- a/UNUSED/n/artillery/SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=noarch - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - svn co http://svn.secmaniac.com/artillery $REPOSITORY -else - ( cd $REPOSITORY - svn update - ) -fi - -mkdir -p $PKG/{var/,etc/rc.d/,usr/doc/$PRGNAM/} -cp -R $REPOSITORY $PKG/var/ -cd $PKG/var/$PRGNAM -find . -name .svn -exec rm -fr {} \; -mv README readme/ install.py $PKG/usr/doc/$PRGNAM/ - -cat < $PKG/etc/rc.d/rc.$PRGNAM -#!/bin/bash -case "\$1" in - 'start') - python /var/$PRGNAM/$PRGNAM.py & - echo \$! > /var/run/$PRGNAM.pid - ;; - 'stop') - [ -e /var/run/$PRGNAM.pid ] && kill \$(cat /var/run/$PRGNAM.pid) && rm /var/run/$PRGNAM.pid - ;; - 'restart') - \$0 stop - sleep 1 - \$0 start - ;; -esac -EOF - -#chmod +x $PKG/etc/rc.d/rc.$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -#!/bin/sh - -grep -q "/etc/rc.d/rc.$PRGNAM" /etc/rc.d/rc.local || cat <> /etc/rc.d/rc.local - -[ -x /etc/rc.d/rc.$PRGNAM ] && /etc/rc.d/rc.$PRGNAM start -FOE -EOF -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Network Security tool) -$PRGNAM: -$PRGNAM: Artillery is a combination of a honeypot, file monitoring and -$PRGNAM: integrity, alerting, and brute force prevention tool. It’s extremely -$PRGNAM: light weight, has multiple different methods for detecting specific -$PRGNAM: attacks and eventually will also notify you of insecure nix -$PRGNAM: configurations. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.secmaniac.com/blog/2011/10/14/new-tool-release-artillery-for-linux-protection/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/blerg/SlackBuild b/UNUSED/n/blerg/SlackBuild deleted file mode 100755 index 47e3407b..00000000 --- a/UNUSED/n/blerg/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -BASEURL="http://localhost/blerg" - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone http://git.bytex64.net/blerg.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -[ ! -e $CWD/blerg.dominionofawesome.com ] && (cd $CWD ; wget -c -p http://blerg.dominionofawesome.com/doc/ ) - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - make - mkdir -p $PKG/srv/www/htdocs/$PRGNAM $PKG$PREFIX/doc/$PRGNAM - cp -R ./* $PKG/srv/www/htdocs/$PRGNAM - cp -R $CWD/blerg.dominionofawesome.com $PKG$PREFIX/doc/$PRGNAM -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (blogging platform of some sort) -$PRGNAM: -$PRGNAM: BlĂ«rg is a microblogging platform. Or maybe a miniblogging platform. -$PRGNAM: BlĂ«rg is not sure. BlĂ«rg is a lot like Twitter, but aims to fix some -$PRGNAM: of its idiosyncracies. BlĂ«rg does not want to be a full blogging -$PRGNAM: platform like Wordpress or Livejournal. BlĂ«rg is also an open source -$PRGNAM: tagged text database engine written in C that does the back-end work. -$PRGNAM: -$PRGNAM: http://blerg.dominionofawesome.com/ -$PRGNAM: http://blerg.dominionofawesome.com/doc/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/cops/SlackBuild b/UNUSED/n/cops/SlackBuild deleted file mode 100755 index 4c9a6385..00000000 --- a/UNUSED/n/cops/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/seblucas/cops.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a CHANGELOG COPYING $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Calibre OPDS (and HTML) PHP Server) -$PRGNAM: -$PRGNAM: light alternative to Calibre content server / Calibre2OPDS -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://blog.slucas.fr/en/oss/calibre-opds-php-server -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/eZServerMonitor/SlackBuild b/UNUSED/n/eZServerMonitor/SlackBuild deleted file mode 100755 index b15651b7..00000000 --- a/UNUSED/n/eZServerMonitor/SlackBuild +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-2.1} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -[ ! -e $CWD/$PRGNAM-$VERSION.zip ] && wget -c http://ezservermonitor.com/esm-web/downloads/version/$VERSION -O $CWD/$PRGNAM-$VERSION.zip -unzip $CWD/$PRGNAM-$VERSION.zip - -mv $PRGNAM-$VERSION $PRGNAM -cd $PRGNAM - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (The personal, minimalist, super-fast, no-database delicious clone.) -$PRGNAM: -$PRGNAM: You want to share the links you discover ? Shaarli is a minimalist delicious -$PRGNAM: clone you can install on your own website. It is designed to be personal -$PRGNAM: (single-user), fast and handy. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://blog.slucas.fr/en/oss/calibre-opds-php-server -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/ec2-ami-tools/SlackBuild b/UNUSED/n/ec2-ami-tools/SlackBuild deleted file mode 100755 index 8fcc0032..00000000 --- a/UNUSED/n/ec2-ami-tools/SlackBuild +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -TAG=gwh -TMP=${TMP:-/tmp/gwh} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -VERSION=${VERSION:-PLACEHOLDER} -ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -PREFIX=/usr - -set -e - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/{opt,etc/profile.d} - -cd $PKG/opt -[ -e $CWD/$PRGNAM.zip ] && mv $CWD/$PRGNAM.zip $CWD/$PRGNAM.zip.bkp -wget -c http://s3.amazonaws.com/ec2-downloads/$PRGNAM.zip -O $CWD/$PRGNAM.zip -unzip $CWD/$PRGNAM.zip || exit 1 -VERSION=$(ls | sed "s|$PRGNAM-||") - -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -chmod +x bin/* - -mkdir -p $PKG$PREFIX/bin -( cd $PKG$PREFIX/bin - for b in $PKG/opt/$PRGNAM-$VERSION/bin/* ; do - ln -s /opt/$PRGNAM-$VERSION/bin/$(basename $b) $(basename $b) - done -) -cat < $PKG/etc/profile.d/$PRGNAM.sh -#!/bin/sh - -export EC2_AMITOOL_HOME=/opt/$PRGNAM-$VERSION -EOF - -cat < $PKG/etc/profile.d/$PRGNAM.csh -#!/bin/csh - -setenv EC2_AMITOOL_HOME /opt/$PRGNAM-$VERSION -EOF - -chmod +x $PKG/etc/profile.d/$PRGNAM.* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv *.txt $PKG/usr/doc/$PRGNAM-$VERSION - -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Amazon EC2 Machine Image Command line tools) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://aws.amazon.com/developertools/368 -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/ec2-api-tools/SlackBuild b/UNUSED/n/ec2-api-tools/SlackBuild deleted file mode 100755 index e6371816..00000000 --- a/UNUSED/n/ec2-api-tools/SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -TAG=gwh -TMP=${TMP:-/tmp/gwh} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -VERSION=${VERSION:-PLACEHOLDER} -ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -PREFIX=/usr - -set -e - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/{opt,etc/profile.d} - -cd $PKG/opt -[ -e $CWD/$PRGNAM.zip ] && mv $CWD/$PRGNAM.zip $CWD/$PRGNAM.zip.bkp -wget -c http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip -O $CWD/$PRGNAM.zip -unzip $CWD/$PRGNAM.zip || exit 1 -VERSION=$(ls | sed "s|$PRGNAM-||") - -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -#no need to keep DOS/Windows batch files around -rm bin/*.cmd - -chmod +x bin/* - -mkdir -p $PKG$PREFIX/bin -( cd $PKG$PREFIX/bin - for b in $PKG/opt/$PRGNAM-$VERSION/bin/* ; do - ln -s /opt/$PRGNAM-$VERSION/bin/$(basename $b) $(basename $b) - done -) -cat < $PKG/etc/profile.d/$PRGNAM.sh -#!/bin/sh - -# see http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/setting-up-your-tools.html -# for documentation - -# See the output of \$(ec2-describe-regions) to set this: -export EC2_URL=https://ec2.ap-southeast-1.amazonaws.com - -# export EC2_PRIVATE_KEY=~/.ec2/pk-*.pem -# export EC2_CERT=~/.ec2/cert-*.pem - -export EC2_HOME=/opt/$PRGNAM-$VERSION -EOF - -cat < $PKG/etc/profile.d/$PRGNAM.csh -#!/bin/csh - -# see http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/setting-up-your-tools.html -# for documentation - -# See the output of \$(ec2-describe-regions) to set this: -setenv EC2_URL https://ec2.ap-southeast-1.amazonaws.com - -# setenv EC2_PRIVATE_KEY ~/.ec2/pk-*.pem -# setenv EC2_CERT ~/.ec2/cert-*.pem - -setenv EC2_HOME /opt/$PRGNAM-$VERSION -EOF - -chmod +x $PKG/etc/profile.d/$PRGNAM.* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv THIRDPARTYLICENSE.TXT license.txt notice.txt $PKG/usr/doc/$PRGNAM-$VERSION - -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Amazon EC2 Command line tools) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/setting-up-your-tools.html -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/kanboard/SlackBuild b/UNUSED/n/kanboard/SlackBuild deleted file mode 100755 index 32f5ff48..00000000 --- a/UNUSED/n/kanboard/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repository/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/fguillot/kanboard.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a LICENSE README.markdown $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Simple visual task board) -$PRGNAM: -$PRGNAM: Kanboard is a simple visual task board web application. -$PRGNAM: Inspired by the Kanban methodology -$PRGNAM: Get a visual and clear overview of your project -$PRGNAM: Multiple boards with the ability to drag and drop tasks -$PRGNAM: Minimalist software, focus only on essential features (Less is more) -$PRGNAM: Open source and self-hosted -$PRGNAM: Super simple installation -$PRGNAM: http://kanboard.net -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/kriss_feed/SlackBuild b/UNUSED/n/kriss_feed/SlackBuild deleted file mode 100755 index c262805c..00000000 --- a/UNUSED/n/kriss_feed/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -VHOSTROOT=/var/www/${VHOST} -DOCROOT=${DOCROOT:-/var/www/${VHOST}htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$VHOSTROOT - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -[ ! -e $REPOSITORY ] && git clone https://github.com/tontof/kriss_feed $REPOSITORY -( cd $REPOSITORY - git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -[ ! -e $CWD/user.css ] && wget -c https://raw.githubusercontent.com/tontof/kriss_feed/master/style/orangina-rouge/user.css -O $CWD/user.css - -mkdir -p $PKG/usr/doc/ -cp -R $REPOSITORY $PKG/usr/doc/$PRGNAM - -rm -fr $PKG/usr/doc/$PRGNAM/.git -find $PKG/usr/doc/$PRGNAM -name .git\* -exec rm -fr {} \; - -mkdir -p $PKG/$DOCROOT -cp $PKG/usr/doc/$PRGNAM/src/index.php $PKG/$DOCROOT - -mkdir -p $PKG/$DOCROOT/inc -cp $CWD/user.css $PKG/$DOCROOT/inc/ - -cd $PKG/$VHOSTROOT/htdocs -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT -chmod 0750 $PKG/$DOCROOT - -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A simple and smart (or stupid) feed reader) -$PRGNAM: -$PRGNAM: A simple and smart (or stupid) feed reader. -$PRGNAM: An example is available on tontof.net. -$PRGNAM: This is an alternative to Google Reader or other RSS feed readers: -$PRGNAM: It does not require SQL or database. -$PRGNAM: It works with PHP 5.2 -$PRGNAM: -$PRGNAM: -$PRGNAM: http://tontof.net/kriss/feed -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/kriss_feed/user.css b/UNUSED/n/kriss_feed/user.css deleted file mode 100644 index 790f3319..00000000 --- a/UNUSED/n/kriss_feed/user.css +++ /dev/null @@ -1,658 +0,0 @@ -/* Custom Gwh, based on OranginaRouge, based on P3ter (but mainly on the theme greader - but no source) - * Version 20180314 - * - * Development Version of KrISS Feed is needed - * https://github.com/tontof/kriss_feed/blob/master/src/index.php - * - * http://p3ter.fr (CC-BY-V3) for the base - * http://orangina-rouge.org (CC-0) - * https://gwenhael.le-moine.org (CC-0) - */ - -.menu-ico:before { - display: inline-block; -} - -.menu-text { - display: none; -} - -.ico { - margin-left: 8px; - margin-right: 0px; - vertical-align: top; -} - -.ico-b-disc { - background-color: #444; - border-radius: 0px !important; -} - -.ico-b-disc:hover { - background-color: #AAA; -} - -#paging-up, #paging-down { - margin-left: 1px; -} - -ul.inline > li, ol.inline > li { - padding: 0 10px 7px 0; -} - -.btn-group > .btn:first-child, -.btn .btn-info .previous-item, -.btn .btn-info .next-item, -.btn-group > .btn:last-child, .btn-group > .dropdown-toggle, -.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover, -input-append .add-on, .input-append .btn, .input-append .btn-group, -input-prepend.input-append .add-on:first-child, .input-prepend.input-append .btn:first-child, -input-prepend.input-append .add-on:last-child, .input-prepend.input-append .btn:last-child, - -* { - line-height: 142%; -} - -html, body { - font-size: 100%; -} - -body { - font-family: "Segoe UI","Segoe UI Web Regular","Segoe UI Symbol","Helvetica Neue","BBAlpha Sans","S60 Sans",Arial,"sans-serif"; - /* font-size: 88%; */ - font-size: 16px; - direction: ltr; - color: #000; -} - -ol, ul { - cursor: pointer; -} - -a:hover { - text-decoration: none; -} - -.collapse { - height: 0; -} - -.collapse.in { - height: inherit; -} - -.row-fluid .span12 { - width: 100%; -} - -.row-fluid .span9 { - width: 80%; -} - -.row-fluid .span3 { - width: 20%; -} - -.navbar { - margin: 5px 10px 15px 10px; - border: 1px solid #DDD; - box-shadow: 0 0 4px #E3E5EB; - background-color: #FFF; - border-radius: 0px; -} - -.btn, button { - border: 1px solid #DCDCDC; - background-color: #F5F5F5; - border-radius: 2px 2px 2px 2px; - margin: 0 5px; - color: #999999; - background-image: -moz-linear-gradient(center top , #F5F5F5, #F1F1F1); -} - -.btn:hover { - border: 1px solid #444444; - color: #444444; - background-image: -moz-linear-gradient(center top , #F8F8F8, #F1F1F1); - -} - -li.feed { - padding: 5px 5px 0px 30px; - font-size: 80%; - margin: 0; -} - -li.feed.has-unread a{ - color: #000; -} - -li.feed.has-unread a:hover{ - color: #000; -} - -li.folder > h4 { - border: none; - border-radius: 0px; - padding: 2px; - margin: 5px 5px 0px 5px; -} - -li.folder > h5 { - border: none; - border-radius: 0px; - padding: 2px; - margin: 5px 5px 0px 5px; -} - -ul#list-items { - border-top: 1px solid #DDDDDD; -} - -li.item-list { - line-height: 142%; - min-height: 27px; - cursor: pointer; - margin: 0; - overflow: hidden; - padding: 0; - position: relative; - width: auto; - border-left: 1px solid #FFF; -} - -li.item-list.current { - border-left: 1px solid #4D90F0; - background: #EEE; -} - -.item-favicon { - display: inline-block; -} - -.current, .current-feed, .current-folder > h5, .current-folder > h4 { - background-color: #FFF; -} - -dl, dt, dd { - line-height: 152%; - white-space: normal; -} - -dl.dl-horizontal { - float: none; - margin: 0 0 0 0 !important; - padding: 5px 0 0 5px; - overflow: hidden; - height: 26px; -} - -dt.item-feed { - margin: 0 0 0 0; - padding-top: 0; - width: auto; - white-space: normal; - float: left; - clear: none; - display: inline; - max-width: 12em; - text-align: left; -} - -dd.item-info { - left: 0; - margin: 0 5em 0 13em; - padding: 0; - overflow: hidden; - position: absolute; - white-space: normal; - width: auto; - float: left; - clear: none; -} - -span.item-title { - display: inline; - white-space: normal; - position: static; - width: auto; - padding: 0; - margin: 0; -} - -div.item-title { - padding: 20px 20px 0 20px; - font-size: 100%; -} - -span.item-description { - white-space: normal; - float: none; - position: static; - width: auto; - margin: 0; - padding: 0; -} - -.item-title a { - font-family: "Segoe UI Web Semibold","Segoe UI Web Regular","Segoe UI","Segoe UI Symbol","Helvetica Neue",Arial; - font-weight: 600; -} - -.well { - display: block; - border: 1px solid #DDD; - box-shadow: 0 0 4px #E3E5EB; - margin: 10px 10px 40px 10px; - background-color: #FFF; - z-index: 1000; - position: relative; - border-radius: 0; - padding: 0; -} - -.well.current { - border-left: 1px solid #4D90F0; -} - -.item-list .well, .item-list .well.current { - box-shadow: 0 0 4px #E3E5EB; - border: 1px solid #DDD; - margin: 0 10px 10px 10px; -} - -.item-toggle { - height: 26px; - padding: 5px 0 0 0; -} - -.item-content { - padding: 0 20px; - text-align: justify; -} - -.item-info-end { - float: none; - background-color: #FAFAFA; - border-top: 1px solid #EBEBEB; - padding: 15px 20px; - text-align: right; -} - -.item-info-time, .item-info-author, .item-info-authors { - float: left; - padding: 0 20px; - background: none; - border: none; - font-size: 80%; - height: 26px; - line-height: 26px; - text-align: left; - vertical-align: middle; -} - -.item-info-author, .item-info-authors { - padding: 0px; -} - -.label, -.badge { - margin: 0px; -} - -@media (min-width: 768px) { - .nav-collapse.collapse { - display: block; -} -} - -.form-horizontal { - background: none repeat scroll 0 0 #F1F1F1; - border: 1px solid #E5E5E5; - margin: 12px; - padding: 20px 5px 0px 5px; -} - -.form-horizontal fieldset { - border: none; -} - -.form-horizontal legend{ - font-size: 25px; - font-weight: normal; - line-height: 25px; - margin: 0 0 0.5em; - position: relative; - color: #DD4B39; -} - -.btn { - display: inline-block; - min-width: 46px; - text-align: center; - color: #444; - padding: 0 8px; - line-height: 27px; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - -webkit-transition: all 0.218s; - -moz-transition: all 0.218s; - -ms-transition: all 0.218s; - -o-transition: all 0.218s; - transition: all 0.218s; - border: 1px solid #dcdcdc; - background-color: #f5f5f5; - background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1)); - background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1); - background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1); - background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1); - background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1); - background-image: linear-gradient(top,#f5f5f5,#f1f1f1); - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; - cursor: default; -} - -.btn:hover { - border: 1px solid #c6c6c6; - color: #333; - text-decoration: none; - -webkit-transition: all 0.0s; - -moz-transition: all 0.0s; - -ms-transition: all 0.0s; - -o-transition: all 0.0s; - transition: all 0.0s; - background-color: #f8f8f8; - background-image: -webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#f1f1f1)); - background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1); - background-image: -moz-linear-gradient(top,#f8f8f8,#f1f1f1); - background-image: -ms-linear-gradient(top,#f8f8f8,#f1f1f1); - background-image: -o-linear-gradient(top,#f8f8f8,#f1f1f1); - background-image: linear-gradient(top,#f8f8f8,#f1f1f1); - -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1); - -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1); - box-shadow: 0 1px 1px rgba(0,0,0,0.1); -} - -.btn:active { - background-color: #f6f6f6; - background-image: -webkit-gradient(linear,left top,left bottom,from(#f6f6f6),to(#f1f1f1)); - background-image: -webkit-linear-gradient(top,#f6f6f6,#f1f1f1); - background-image: -moz-linear-gradient(top,#f6f6f6,#f1f1f1); - background-image: -ms-linear-gradient(top,#f6f6f6,#f1f1f1); - background-image: -o-linear-gradient(top,#f6f6f6,#f1f1f1); - background-image: linear-gradient(top,#f6f6f6,#f1f1f1); - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); -} - -.btn:visited { - color: #666; -} - -button[type="submit"] { - border: 1px solid #3079ed; - color: #fff; - padding: 2px 15px; - font-size: 16px; - text-shadow: 0 1px rgba(0,0,0,0.1); - background-color: #4d90fe; - background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed)); - background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed); - background-image: -moz-linear-gradient(top,#4d90fe,#4787ed); - background-image: -ms-linear-gradient(top,#4d90fe,#4787ed); - background-image: -o-linear-gradient(top,#4d90fe,#4787ed); - background-image: linear-gradient(top,#4d90fe,#4787ed); -} - -button[type="submit"]:hover { - border: 1px solid #2f5bb7; - color: #fff; - text-shadow: 0 1px rgba(0,0,0,0.3); - background-color: #357ae8; - background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8)); - background-image: -webkit-linear-gradient(top,#4d90fe,#357ae8); - background-image: -moz-linear-gradient(top,#4d90fe,#357ae8); - background-image: -ms-linear-gradient(top,#4d90fe,#357ae8); - background-image: -o-linear-gradient(top,#4d90fe,#357ae8); - background-image: linear-gradient(top,#4d90fe,#357ae8); -} - -button[type="submit"]:active { - background-color: #357ae8; - background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8)); - background-image: -webkit-linear-gradient(top,#4d90fe,#357ae8); - background-image: -moz-linear-gradient(top,#4d90fe,#357ae8); - background-image: -ms-linear-gradient(top,#4d90fe,#357ae8); - background-image: -o-linear-gradient(top,#4d90fe,#357ae8); - background-image: linear-gradient(top,#4d90fe,#357ae8); - -webkit-box-shadow: inset 0 1px 2px rgb a(0,0,0,0.3); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); -} - -.btn2 { - padding: 0 8px !important; - font-size: 14px !important; -} - -input[type=password], -input[type=text] { - -webkit-appearance: none; - appearance: none; - display: inline-block; - height: 32px; - font-size: 15px; - margin: 0; - padding: 0 8px; - background: #fff; - border: 1px solid #d9d9d9; - border-top: 1px solid #c0c0c0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; -} - -input[type=password]:hover, -input[type=text]:hover{ - border: 1px solid #b9b9b9; - border-top: 1px solid #a0a0a0; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); -} - -input[type=password]:focus, -input[type=text]:focus { - outline: none; - border: 1px solid #4d90fe; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); - box-shadow: inset 0 1px 2px rgba(0,0,0,0.3); -} - -input[type=password][disabled=disabled], -input[type=text][disabled=disabled]{ - border: 1px solid #e5e5e5; - background: #f1f1f1; -} - -input[type=password][disabled=disabled]:hover, -input[type=text][disabled=disabled]:hover{ - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -input[type=password][readonly=readonly], -input[type=text][readonly=readonly]{ - border: 1px solid #d9d9d9; -} - -input[type=password][readonly=readonly]:focus, -input[type=text][readonly=readonly]:focus{ - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -input[type=password].form-error, -input[type=text].form-error{ - border: 1px solid #dd4b39; -} - -input[type=checkbox] { - appearance: none; - width: 13px; - height: 13px; - margin: 0; - cursor: pointer; - vertical-align: bottom; - background: #fff; - border: 1px solid #dcdcdc; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - position: relative; -} - -input[type=checkbox]:active { - border-color: #c6c6c6; - background: #ebebeb; -} - -input[type=checkbox]:hover { - border-color: #c6c6c6; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); - box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); -} - -input[type=checkbox]:checked { - background: #fff; -} - -input[type=checkbox]:focus { - outline: none; - border-color:#4d90fe; -} - -.input-mini { - width: 40px !important; - font-size: 12px !important; -} - - - - -@media (min-width: 768px) { - .nav-collapse.collapse { - display: block; - } -} - -@media screen and (max-width: 768px) { - html, body { - height: 100%; - } - - .full-height { - - } - - #index, .row-fluid { - - } - - #paging-up .inline, #paging-down .inline{ - display: none; - } - - .navbar { - margin: 5px 0 15px 0; - } - - .row-fluid .span9 { - width: 100%; - } - - .row-fluid .span3 { - width: 100%; - } - - #main-container { - margin: 0; - width: 100%; - } - - #minor-container { - margin: 10px 0 0 0; - width: 100%; - } - - .item-top > .label, .item-shaarli > .label, .item-mark-as > .label, .item-starred > .label { - margin: 0px 2px; - display: inline-block; - float: none; - } - - .label { - border-radius: 1px !important; - padding: 2px !important; - color: #000 !important; - background: none !important; - } - - li.item-list { - border-left: 1px none #FFF; - padding-bottom: 0; - } - - li.item-list.current { - border-left: 1px none #FFF; - } - - dd.item-info { - margin: 0 5em 0 3em; - } - - .item-list .well, .well, .well.current, .item-list .well.current { - margin: 0px; - box-shadow: none; - border-left: none; - border-right: none; - padding: 0; - } - - div.item-title { - padding: 20px 5px 0 5px; - } - - span.item-title a.item-mark-as { - display: none; - } - - div.item-info-end { - padding: 15px; - margin: 0; - line-height: 10px; - } - - div.item-content { - padding: 0 5px 5px 5px; - } - - span.item-author { - display: none; - } - -} diff --git a/UNUSED/n/mongrel2/SlackBuild b/UNUSED/n/mongrel2/SlackBuild deleted file mode 100755 index ff43244b..00000000 --- a/UNUSED/n/mongrel2/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -TAG=gwh -TMP=${TMP:-/tmp/gwh} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -VERSION=${VERSION:-$(echo $PRGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -PREFIX=/usr - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT - -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 -[ ! -e $PRGNAM-$VERSION ] && mv ${PRGNAM}_* $PRGNAM-$VERSION - -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# for some reason Slackware needs -ldl to explicitely be added -sed -i 's|-lsqlite3|-lsqlite3 -ldl|' Makefile tools/m2sh/Makefile -# hmmm, no. -sed -i 's|sudo ||g' Makefile - -# launching tests hangs, so we don't run them -.- -make bin/mongrel2 PREFIX=$PREFIX - -mkdir -p $PKG$PREFIX/bin -make install PREFIX=$PKG$PREFIX - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE docs/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION - -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Web server) -$PRGNAM: -$PRGNAM: Mongrel2 is an application, language, and network architecture agnostic -$PRGNAM: web server that focuses on web applications over serving files using -$PRGNAM: modern browser technologies. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://mongrel2.org -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/mopidy/SlackBuild b/UNUSED/n/mopidy/SlackBuild deleted file mode 100755 index a27c0a3b..00000000 --- a/UNUSED/n/mopidy/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -DOCS="AUTHORS LICENSE README.rst dev-requirements.txt" - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -REPOSITORIES=/home/installs/SlackBuilds/repositories -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone https://github.com/mopidy/mopidy.git $REPOSITORIES/${PRGNAM} -else - ( cd $REPOSITORIES/${PRGNAM} - git pull - ) -fi -cp -R $REPOSITORIES/${PRGNAM} $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION - -# installation -python ./setup.py install --root=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (extensible music server written in Python.) -$PRGNAM: -$PRGNAM: Mopidy is an extensible music server that plays music from local disk, Spotify, -$PRGNAM: SoundCloud, Google Play Music, and more. You edit the playlist from any phone, -$PRGNAM: tablet, or computer using a range of MPD and web clients. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://www.mopidy.com/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/newsbeuter/SlackBuild b/UNUSED/n/newsbeuter/SlackBuild deleted file mode 100755 index 3f5255c9..00000000 --- a/UNUSED/n/newsbeuter/SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -# Slackware build script for newsbeuter -# Written by slakmagik -# Released under the WTFPL - -PRGNAM=newsbeuter -VERSION=${VERSION:-2.5} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && \ - wget -c http://www.newsbeuter.org/downloads/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ - make prefix=/usr docdir=/usr/doc/$PRGNAM-$VERSION mandir=/usr/man - -make prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION \ - mandir=$PKG/usr/man install - -find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done -) - -cp -a [ACLRT]* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -newsbeuter: Newsbeuter (RSS feedreader) -newsbeuter: -newsbeuter: Newsbeuter is an RSS feedreader. RSS is a number of widely-used -newsbeuter: XML formats to transmit, publish and syndicate articles, for -newsbeuter: example news or blog articles. Newsbeuter is designed to be used -newsbeuter: on text terminals on Unix or Unix-like systems such as Linux, -newsbeuter: BSD or Mac OS X. -newsbeuter: -newsbeuter: Homepage: http://www.newsbeuter.org/ -newsbeuter: -newsbeuter: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/nextcloud-breeze-dark/SlackBuild b/UNUSED/n/nextcloud-breeze-dark/SlackBuild deleted file mode 100755 index e6bdd61e..00000000 --- a/UNUSED/n/nextcloud-breeze-dark/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/vhosts/nextcloud-server/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -REPOSITORIES=/home/installs/SlackBuilds/repositories - -set -eu - -APPNAM=${PRGNAM#nextcloud-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/themes/ -cd $PKG/$DOCROOT/themes/ - -[ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/mwalbeck/nextcloud-breeze-dark.git $REPOSITORIES/$PRGNAM - -( cd $REPOSITORIES/$PRGNAM - git pull -) - -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORIES/$PRGNAM $APPNAM - -cd $APPNAM -rm -fr .git .travis.yml - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/ -chmod 0750 $PKG/$DOCROOT/themes/$APPNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A Breeze Dark theme for Nextcloud) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/mwalbeck/nextcloud-breeze-dark -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/nextcloud-nextnote/SlackBuild b/UNUSED/n/nextcloud-nextnote/SlackBuild deleted file mode 100755 index c1a95c0c..00000000 --- a/UNUSED/n/nextcloud-nextnote/SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/vhosts/nextcloud-server/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -REPOSITORIES=/home/installs/SlackBuilds/repositories - -set -eu - -APPNAM=${PRGNAM#nextcloud-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/apps/ -cd $PKG/$DOCROOT/apps/ - -[ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/brantje/nextnote.git $REPOSITORIES/$PRGNAM - -( cd $REPOSITORIES/$PRGNAM - git pull -) - -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORIES/$PRGNAM $APPNAM - -cd $APPNAM -rm -fr .git .travis.yml -#VERSION=$(cat appinfo/info.xml | grep -i version\> | sed 's|||g' | tr -d \ | sed 's|\t||g' ) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a COPYING README.md AUTHORS.md $PKG/usr/doc/$PRGNAM - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/ -chmod 0750 $PKG/$DOCROOT/apps/$APPNAM - - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A full Evernote / OneNote style WYSIWYG note editor for Nextcloud) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/brantje/nextnote -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud-apps-appframework/SlackBuild b/UNUSED/n/owncloud-apps-appframework/SlackBuild deleted file mode 100755 index f8991860..00000000 --- a/UNUSED/n/owncloud-apps-appframework/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -FILENAME=158433-appframework.zip -APPNAM=${PRGNAM#owncloud-apps-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/owncloud/apps/ -cd $PKG/$DOCROOT/owncloud/apps/ - -[ ! -e $CWD/$FILENAME ] && wget -c http://apps.owncloud.com/CONTENT/content-files/$FILENAME -O $CWD/$FILENAME -unzip $CWD/$FILENAME - -rm $CWD/$FILENAME - -cd $APPNAM -VERSION=$(cat appinfo/info.xml | grep -i version\> | sed 's|||g' | tr -d \ | sed 's|\t||g' ) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a AUTHORS COPYING README.rst $PKG/usr/doc/$PRGNAM - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/owncloud -chmod 0750 $PKG/$DOCROOT/owncloud/apps/$APPNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (app framework for ownCloud) -$PRGNAM: -$PRGNAM: Built to ease developers pain and make testing possible -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/owncloud/appframework#readme -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud-apps-bookmarks/SlackBuild b/UNUSED/n/owncloud-apps-bookmarks/SlackBuild deleted file mode 100755 index 7a364db3..00000000 --- a/UNUSED/n/owncloud-apps-bookmarks/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -REPOSITORIES=/home/installs/SlackBuilds/repositories - -set -eu - -APPNAM=${PRGNAM#owncloud-apps-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/owncloud/apps/ -cd $PKG/$DOCROOT/owncloud/apps/ - -if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - git clone https://github.com/owncloud/bookmarks.git $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -cp -R $REPOSITORIES/$PRGNAM $APPNAM - -cd $APPNAM -rm -fr .git .travis.yml -#VERSION=$(cat appinfo/info.xml | grep -i version\> | sed 's|||g' | tr -d \ | sed 's|\t||g' ) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a COPYING README.md CONTRIBUTING.md $PKG/usr/doc/$PRGNAM - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/owncloud -chmod 0750 $PKG/$DOCROOT/owncloud/apps/$APPNAM - - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Bookmarks manager for ownCloud) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://apps.owncloud.com/content/show.php/Bookmarks?content=168710 -$PRGNAM: https://github.com/owncloud/bookmarks#readme -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud-apps-epubviewer/SlackBuild b/UNUSED/n/owncloud-apps-epubviewer/SlackBuild deleted file mode 100755 index d69cfa00..00000000 --- a/UNUSED/n/owncloud-apps-epubviewer/SlackBuild +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -FILENAME=157609-files_epubviewer_oc5.tar.gz -APPNAM=files_epubviewer - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/owncloud/apps/ -cd $PKG/$DOCROOT/owncloud/apps/ - -[ ! -e $CWD/$FILENAME ] && wget -c http://apps.owncloud.com/CONTENT/content-files/$FILENAME -O $CWD/$FILENAME -tar xf $CWD/$FILENAME - -rm $CWD/$FILENAME - -cd $APPNAM -VERSION=$(cat appinfo/version) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/owncloud -chmod 0750 $PKG/$DOCROOT/owncloud/apps/$APPNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (EPUB viewer for ownCloud) -$PRGNAM: -$PRGNAM: let you read your ebooks online ! -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://apps.owncloud.com/content/show.php/EPub+online+reader+%28oc5%29?content=157609 -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud-apps-gsync/SlackBuild b/UNUSED/n/owncloud-apps-gsync/SlackBuild deleted file mode 100755 index 6f7540d5..00000000 --- a/UNUSED/n/owncloud-apps-gsync/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -FILENAME=151488-gsync.tar.gz -APPNAM=${PRGNAM#owncloud-apps-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/owncloud/apps/ -cd $PKG/$DOCROOT/owncloud/apps/ - -[ ! -e $CWD/$FILENAME ] && wget -c http://apps.owncloud.com/CONTENT/content-files/$FILENAME -O $CWD/$FILENAME -tar xf $CWD/$FILENAME - -rm $CWD/$FILENAME - -cd $APPNAM -VERSION=$(cat appinfo/info.xml | grep -i version\> | sed 's|||g' | tr -d \ | sed 's|\t||g' ) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# mkdir -p $PKG/usr/doc/$PRGNAM -# cp -a AUTHORS COPYING README.rst $PKG/usr/doc/$PRGNAM - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/owncloud -chmod 0750 $PKG/$DOCROOT/owncloud/apps/$APPNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Google sync for ownCloud) -$PRGNAM: -$PRGNAM: Sync with Google apps. -$PRGNAM: Google Contacts import to ownCloud is ready to use. -$PRGNAM: -$PRGNAM: Please note that automode is experimental. Carefully read README for details. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://apps.owncloud.com/content/show.php/EPub+online+reader+%28oc5%29?content=157609 -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud-apps-music/SlackBuild b/UNUSED/n/owncloud-apps-music/SlackBuild deleted file mode 100755 index 45ca12da..00000000 --- a/UNUSED/n/owncloud-apps-music/SlackBuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=v0.1.7-beta -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -FILENAME=$PRGNAM-$VERSION.tar.gz -APPNAM=${PRGNAM#owncloud-apps-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/owncloud/apps/ -cd $PKG/$DOCROOT/owncloud/apps/ - -[ ! -e $CWD/$FILENAME ] && wget -c https://github.com/owncloud/music/releases/download/$VERSION/music.tar.gz -O $CWD/$FILENAME -tar xvf $CWD/$FILENAME - -cd $APPNAM -#VERSION=$(cat appinfo/info.xml | grep -i version\> | sed 's|||g' | tr -d \ | sed 's|\t||g' | tr - _ ) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# mkdir -p $PKG/usr/doc/$PRGNAM -# cp -a AUTHORS COPYING README.rst $PKG/usr/doc/$PRGNAM - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/owncloud -chmod 0750 $PKG/$DOCROOT/owncloud/apps/$APPNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (music app for owncloud) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: Built to ease developers pain and make testing possible -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud-apps-news/SlackBuild b/UNUSED/n/owncloud-apps-news/SlackBuild deleted file mode 100755 index b4258f49..00000000 --- a/UNUSED/n/owncloud-apps-news/SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -FILENAME=158434-news.zip -APPNAM=${PRGNAM#owncloud-apps-} - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT/owncloud/apps/ -cd $PKG/$DOCROOT/owncloud/apps/ - -[ ! -e $CWD/$FILENAME ] && wget -c http://apps.owncloud.com/CONTENT/content-files/$FILENAME -O $CWD/$FILENAME -unzip $CWD/$FILENAME - -rm $CWD/$FILENAME - -cd $APPNAM -VERSION=$(cat appinfo/info.xml | grep -i version\> | sed 's|||g' | tr -d \ | sed 's|\t||g' ) - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a AUTHORS.md CHANGELOG COPYING README.rst $PKG/usr/doc/$PRGNAM - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/owncloud -chmod 0750 $PKG/$DOCROOT/owncloud/apps/$APPNAM - - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (RSS/Atom feed aggregator for ownCloud) -$PRGNAM: -$PRGNAM: The News app is a an RSS/Atom feed aggregator. -$PRGNAM: It offers a RESTful API for app developers. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/owncloud/news#readme -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/owncloud/SlackBuild b/UNUSED/n/owncloud/SlackBuild deleted file mode 100755 index 814dec47..00000000 --- a/UNUSED/n/owncloud/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -#VERSION=${VERSION:-daily-master} -VERSION=${VERSION:-8.0.0} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -DOCROOT=${DOCROOT:-/var/www/${VHOST}htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.bz2 ] && wget -c http://download.owncloud.org/community/$PRGNAM-$VERSION.tar.bz2 -O $CWD/$PRGNAM-$VERSION.tar.bz2 -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a AUTHORS COPYING-AGPL $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM -chmod 0770 $PKG/$DOCROOT/$PRGNAM/{config,apps} - -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -#!/bin/sh -chown -R $PHPUSER:$PHPGROUP $DOCROOT/$PRGNAM/apps - -grep -q "/var/www/${VHOST}htdocs/owncloud/cron.php" /var/spool/cron/crontabs/apache || echo "*/15 * * * * php -f /var/www/${VHOST}htdocs/owncloud/cron.php" >> /var/spool/cron/crontabs/apache - -echo "Upgrading database and applications" -( cd /var/www/${VHOST}htdocs/owncloud/ -sudo -u $PHPUSER php ./occ upgrade -) -echo "Post-installation process completed" -EOF - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (self-hosted cloud platform) -$PRGNAM: -$PRGNAM: Access. Sync. Share. -$PRGNAM: ownCloud provides universal access to your files via the web, your computer -$PRGNAM: or your mobile devices — wherever you are. -$PRGNAM: It also provides a platform to easily view & sync your contacts, calendars -$PRGNAM: and bookmarks across all your devices and enables basic editing right on -$PRGNAM: the web. -$PRGNAM: -$PRGNAM: http://owncloud.org -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)_$(date +%F | tr - .)-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/piwik/SlackBuild b/UNUSED/n/piwik/SlackBuild deleted file mode 100644 index 986a809a..00000000 --- a/UNUSED/n/piwik/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repository/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/piwik/piwik.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a README.md LEGALNOTICE $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Web Analytics Server) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://piwik.org -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/poche/SlackBuild b/UNUSED/n/poche/SlackBuild deleted file mode 100755 index 74fc4fde..00000000 --- a/UNUSED/n/poche/SlackBuild +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repository/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/inthepoche/poche.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a *.md $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -#!/bin/sh -chown -R $PHPUSER:$PHPGROUP $DOCROOT/$PRGNAM/apps -EOF - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (open source self hostable read-it-later web app) -$PRGNAM: -$PRGNAM: Abandon Pocket, Instapaper and other Readability service : -$PRGNAM: adopt poche. It is the same, but it is free (like in freedom) -$PRGNAM: and open source. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.inthepoche.com/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/rutorrent/SlackBuild b/UNUSED/n/rutorrent/SlackBuild deleted file mode 100755 index 7de3a1ba..00000000 --- a/UNUSED/n/rutorrent/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-3.6} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ENABLE_PLUGINS=${ENABLE_PLUGINS:-false} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c http://dl.bintray.com/novik65/generic/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM - -if [ "$ENABLE_PLUGINS" = "true" ]; then - [ ! -e $CWD/plugins-$VERSION.tar.gz ] && wget -c http://dl.bintray.com/novik65/generic/plugins-$VERSION.tar.gz -O $CWD/plugins-$VERSION.tar.gz - tar xvf $CWD/plugins-$VERSION.tar.gz -fi - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Yet another web front-end for rTorrent) -$PRGNAM: -$PRGNAM: ruTorrent is a front-end for the popular Bittorrent client rTorrent. -$PRGNAM: Main features: -$PRGNAM: . Lightweight server side, so it can be installed on old and low-end servers -$PRGNAM: and even on some SOHO routers -$PRGNAM: . Extensible - there are several plugins and everybody can create his own one -$PRGNAM: . Nice look ;) -$PRGNAM: -$PRGNAM: https://code.google.com/p/rutorrent/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/selfoss/SlackBuild b/UNUSED/n/selfoss/SlackBuild deleted file mode 100755 index 938df2a2..00000000 --- a/UNUSED/n/selfoss/SlackBuild +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -#VERSION=${VERSION:-$(date +%F | tr - .)} -VERSION=${VERSION:-$(curl -s https://api.github.com/repos/SSilence/selfoss/releases/latest | grep tag_name | grep -o "[0-9.]*")} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -VHOSTROOT=/var/www/${VHOST} -DOCROOT=${DOCROOT:-/var/www/${VHOST}htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$VHOSTROOT $PKG/$DOCROOT/ - -[ ! -e $CWD/selfoss-${VERSION}.zip ] && wget -c https://github.com/SSilence/selfoss/releases/download/${VERSION}/selfoss-${VERSION}.zip -O $CWD/selfoss-${VERSION}.zip - -cd $PKG/$DOCROOT/ -unzip $CWD/selfoss-${VERSION}.zip - -# rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -mv README.md $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/ -chmod 0750 $PKG/$DOCROOT/ - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (rss reader) -$PRGNAM: -$PRGNAM: The multipurpose rss reader, live stream, mashup, aggregation -$PRGNAM: web application -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://selfoss.aditu.de -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/sonerezh/SlackBuild b/UNUSED/n/sonerezh/SlackBuild deleted file mode 100755 index 212f0d2c..00000000 --- a/UNUSED/n/sonerezh/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -DOCROOT=${DOCROOT:-/var/www/htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$DOCROOT -cd $PKG/$DOCROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repository/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/Sonerezh/sonerezh.git $REPOSITORY -fi - -cp -R $REPOSITORY $PRGNAM - -cd $PRGNAM -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -chmod 644 *.md *.txt -cp -a *.md *.txt $PKG/usr/doc/$PRGNAM - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM -chmod 0750 $PKG/$DOCROOT/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A self-hosted, web-based application for stream your music, everywhere.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://www.sonerezh.bzh/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/syncthing/SlackBuild b/UNUSED/n/syncthing/SlackBuild deleted file mode 100755 index 86388114..00000000 --- a/UNUSED/n/syncthing/SlackBuild +++ /dev/null @@ -1,146 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-0.10.25} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-3} -TAG=${TAG:-gwh} - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -PREFIX=/usr - -USERNAME=gwh - -echo $ARCH | grep -q arm && SRC_ARCH=arm -echo $ARCH | grep -q 86 && SRC_ARCH=386 -echo $ARCH | grep -q 64 && SRC_ARCH=amd64 - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf ${PRGNAM}-linux-${SRC_ARCH}-v${VERSION} -[ ! -e $CWD/${PRGNAM}-linux-${SRC_ARCH}-v${VERSION}.tar.gz ] && wget -c "https://github.com/${PRGNAM}/${PRGNAM}/releases/download/v${VERSION}/${PRGNAM}-linux-${SRC_ARCH}-v${VERSION}.tar.gz" -O $CWD/${PRGNAM}-linux-${SRC_ARCH}-v${VERSION}.tar.gz -tar xvf $CWD/${PRGNAM}-linux-${SRC_ARCH}-v${VERSION}.tar.gz - -cd ${PRGNAM}-linux-${SRC_ARCH}-v${VERSION} -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -mkdir -p $PKG$PREFIX/bin/ -mv ${PRGNAM} $PKG$PREFIX/bin/ -chown $USERNAME $PKG$PREFIX/bin/${PRGNAM} - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt etc/ $PKG/usr/doc/$PRGNAM-$VERSION - -mkdir -p $PKG/etc/rc.d/ -cat < $PKG/etc/rc.d/rc.$PRGNAM -#!/bin/bash -#Slackware startup deamon script - -# Name of Service -NAME="Syncthing Daemon" - -# Command to run -CMD="/usr/bin/syncthing" - -# Process name of daemon, for killing it. -PROCESSNAME=\$CMD - -# The name of the user that should run Transmission. -# It's RECOMENDED to run Transmission in it's own user, -# by default, this is set to 'transmission'. -# For the sake of security you shouldn't set a password -# on this user -USERNAME="$USERNAME" - -# Option to run with deamon -OPTIONS=" -home=/home/\$USERNAME/ " - -func_stop() { - if [ "\$(ps aux | grep \$PROCESSNAME | grep -v grep)" ]; then - echo -n "Stopping \$NAME ... " - killall \$PROCESSNAME - sleep 2 - fi - - if [ ! "\$(ps aux | grep \$PROCESSNAME | grep -v grep)" ]; then - echo "Done!" - else - echo "Error!" - fi -} - -func_start() { - echo -n "Starting \$NAME ... " - su - \$USERNAME -c "\$CMD \$OPTIONS" & - sleep 2 - - if [ "\$(ps aux | grep \$PROCESSNAME | grep -v grep)" ]; then - echo "Done!" - else - echo "Error!" - fi -} - - -case \$1 in - "start") - func_start - ;; - - "stop") - func_stop - ;; - - "restart") - func_stop - sleep 2 - func_start - ;; - *) - echo "Usage; start|stop|restart" - ;; -esac -EOF -chmod +x $PKG/etc/rc.d/rc.$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------------| -$PRGNAM: $PRGNAM (Open Source Continuous File Synchronization) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://discourse.syncthing.net/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/syncthing/rc.syncthing b/UNUSED/n/syncthing/rc.syncthing deleted file mode 100644 index 71031f78..00000000 --- a/UNUSED/n/syncthing/rc.syncthing +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/bash -#Slackware startup deamon script - -# Name of Service -NAME="Syncthing Daemon" - -# Command to run -CMD="/usr/bin/syncthing" - -# Process name of daemon, for killing it. -PROCESSNAME=$CMD - -# The name of the user that should run Transmission. -# It's RECOMENDED to run Transmission in it's own user, -# by default, this is set to 'transmission'. -# For the sake of security you shouldn't set a password -# on this user -USERNAME="gwh" - -# Option to run with deamon -OPTIONS=" -home=/home/gwh/ " - -func_stop() { - if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then - echo -n "Stopping $NAME ... " - killall $PROCESSNAME - sleep 2 - fi - - if [ ! "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then - echo "Done!" - else - echo "Error!" - fi -} - -func_start() { - echo -n "Starting $NAME ... " - su - $USERNAME -c "$CMD $OPTIONS" & - sleep 2 - - if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then - echo "Done!" - else - echo "Error!" - fi -} - - -case $1 in - "start") - func_start - ;; - - "stop") - func_stop - ;; - - "restart") - func_stop - sleep 2 - func_start - ;; - *) - echo "Usage; start|stop|restart" - ;; -esac diff --git a/UNUSED/n/tt-rss/SlackBuild b/UNUSED/n/tt-rss/SlackBuild deleted file mode 100755 index 9f8579ac..00000000 --- a/UNUSED/n/tt-rss/SlackBuild +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-master} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -VHOSTROOT=/var/www/${VHOST} -SUBDIR=${SUBDIR:-""} -DOCROOT=${DOCROOT:-${VHOSTROOT}htdocs/${SUBDIR}} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG $PRGNAM-$VERSION -mkdir -p $TMP $OUTPUT $PKG/$(dirname $DOCROOT) - -REPOSITORIES=/home/installs/SlackBuilds/repositories -REPOSITORY=${REPOSITORIES}/$PRGNAM - -[ ! -e $REPOSITORY ] && git clone https://tt-rss.org/git/tt-rss.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $PKG$DOCROOT - -# 3rd party themes and plugins -# - clean-greader -REPOSITORY=${REPOSITORIES}/clean-greader - -[ ! -e $REPOSITORY ] && git clone https://github.com/naeramarth7/clean-greader $REPOSITORY -( cd $REPOSITORY && git pull ) - -cp -R $REPOSITORY $PKG$DOCROOT/themes.local/ -rm -fr $PKG$DOCROOT/themes.local/clean-greader/.git -# ( cd $PKG$DOCROOT/themes.local/ -# ln -s ./clean-greader/clean-greader.css ) - -# - tt-rss-feedly-theme -REPOSITORY=${REPOSITORIES}/tt-rss-feedly-theme - -[ ! -e $REPOSITORY ] && git clone https://github.com/levito/tt-rss-feedly-theme $REPOSITORY -( cd $REPOSITORY && git pull ) - -cp -R $REPOSITORY $PKG$DOCROOT/themes.local/ -rm -fr $PKG$DOCROOT/themes.local/tt-rss-feedly-theme/.git -( cd $PKG$DOCROOT/themes.local/ - ln -s ./tt-rss-feedly-theme/feedly/ - ln -s ./tt-rss-feedly-theme/feedly.css ) - -# - tt-rss_reeder_theme -REPOSITORY=${REPOSITORIES}/tt-rss_reeder_theme - -[ ! -e $REPOSITORY ] && git clone https://github.com/tschinz/tt-rss_reeder_theme $REPOSITORY -( cd $REPOSITORY && git pull ) - -cp -R $REPOSITORY $PKG$DOCROOT/themes.local/ -rm -fr $PKG$DOCROOT/themes.local/tt-rss_reeder_theme/.git -( cd $PKG$DOCROOT/themes.local/ - ln -s ./tt-rss_reeder_theme/reeder/ - ln -s ./tt-rss_reeder_theme/reeder.css ) - -# - clean-greader -REPOSITORY=${REPOSITORIES}/clean-greader - -[ ! -e $REPOSITORY ] && git clone https://github.com/naeramarth7/clean-greader $REPOSITORY -( cd $REPOSITORY && git pull ) - -cp -R $REPOSITORY $PKG$DOCROOT/themes.local/ -rm -fr $PKG$DOCROOT/themes.local/clean-greader/.git -( cd $PKG$DOCROOT/themes.local/ - ln -s ./clean-greader/clean-greader.css ) - -# /back to standard SlackBuild - -cd $PKG$DOCROOT -rm -fr .git .gitignore -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -mv $PKG$DOCROOT/README.md $PKG/usr/doc/$PRGNAM - -mkdir -p $PKG/etc/rc.d -cp $CWD/rc.tt-rss $PKG/etc/rc.d/ -chmod 755 $PKG/etc/rc.d/rc.tt-rss - -# Change ownership and perms and create a link. -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT -chmod 0750 $PKG/$DOCROOT - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (rss reader) -$PRGNAM: -$PRGNAM: Web-based news feed aggregator, designed to allow you to read news from -$PRGNAM: any location, while feeling as close to a real desktop application as possible. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://tt-rss.org -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/n/tt-rss/rc.tt-rss b/UNUSED/n/tt-rss/rc.tt-rss deleted file mode 100644 index 3324f64f..00000000 --- a/UNUSED/n/tt-rss/rc.tt-rss +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -NAME="Tiny Tiny RSS" - -USER="apache" -COMMAND="php /srv/www/vhosts/tt-rss/htdocs/update_daemon2.php" -PID_FILE="/tmp/tt-rss.pid" # $USER needs to have writing right - -func_start() { - echo -n "Starting $NAME..." - if [ ! -e $PID_FILE ]; then - sudo -u $USER $COMMAND 2>&1 > /dev/null & - echo "$!" > $PID_FILE - else - echo "$NAME already started" - fi -} - -func_stop() { - if [ -e $PID_FILE ];then - kill $(cat $PID_FILE) && rm $PID_FILE - else - echo "$NAME not running" - fi -} - -func_status() { - if [ -e $PID_FILE ];then - echo "$NAME running" - else - echo "$NAME not running" - fi -} - -case $1 in - "start") - func_start - ;; - - "stop") - func_stop - ;; - - "restart") - func_stop - sleep 2 - func_start - ;; - "status") - func_status - ;; - *) - echo "Usage; start|stop|restart|status" - ;; -esac diff --git a/UNUSED/n/varnish/SlackBuild b/UNUSED/n/varnish/SlackBuild deleted file mode 100755 index e6fbb5e6..00000000 --- a/UNUSED/n/varnish/SlackBuild +++ /dev/null @@ -1,148 +0,0 @@ -#!/bin/sh -# -# Slackware build script for varnish -# -# Copyright 2008 Cherife Li -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# adapted by Gwenhael Le Moine - -PRGNAM=varnish -VERSION=${VERSION:-3.0.1} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/gwh} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc/varnish \ - --localstatedir=/var \ - --mandir=/usr/man \ - --libdir=/usr/lib$(echo "$ARCH" | grep -o 64) \ - --enable-static=no \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/etc/{varnish,rc.d} -cat etc/default.vcl > $PKG/etc/varnish/default.vcl.new -cat etc/zope-plone.vcl > $PKG/etc/varnish/zope-plone.vcl.new -cat $CWD/rc.varnishd > $PKG/etc/rc.d/rc.varnishd.new - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog INSTALL LICENSE README doc/*.{xml,xsl,html,css} $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -config() { - NEW="\$1" - OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r \$OLD ]; then - mv \$NEW \$OLD - elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then - # toss the redundant copy - rm \$NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -# Keep same perms on rc.varnishd.new: -if [ -e etc/rc.d/rc.varnishd ]; then - cp -a etc/rc.d/rc.varnishd etc/rc.d/rc.varnishd.new.incoming - cat etc/rc.d/rc.varnishd.new > etc/rc.d/rc.varnishd.new.incoming - mv etc/rc.d/rc.varnishd.new.incoming etc/rc.d/rc.varnishd.new -fi - -config etc/rc.d/rc.varnishd.new -config etc/varnish/default.vcl.new -config etc/varnish/zope-plone.vcl.new -EOF - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -varnish: VARNISH (high-performance HTTP accelerator) -varnish: -varnish: Varnish is targeted primarily at the FreeBSD 6 and -varnish: Linux 2.6 platforms, and will take full advantage -varnish: of the virtual memory system and advanced I/O -varnish: features offered by these operating systems. -varnish: -varnish: Homepage: http://varnish.projects.linpro.no/ -varnish: -varnish: -varnish: - -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/varnish/rc.varnishd b/UNUSED/n/varnish/rc.varnishd deleted file mode 100755 index 14df954d..00000000 --- a/UNUSED/n/varnish/rc.varnishd +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh -# -# Varnish daemon control script. -# Written for Slackware Linux by Cherife Li . - -if [ -e /etc/default/varnish ] ; then - source /etc/default/varnish ; -else - VARNISH_VCL_CONF=/etc/varnish/default.vcl - VARNISH_PIDFILE=/var/run/varnish.pid - VARNISH_LOCKFILE=/var/lock/subsys/varnish - VARNISH_DAEMON=/usr/sbin/varnishd - VARNISH_PARAM="-p thread_pool_max=1500 -p thread_pools=5 -p listen_depth=512" - - VARNISH_LOG_PIDFILE=/var/run/varnishlog.pid - VARNISH_LOG_LOCKFILE=/var/lock/subsys/varnishlog - VARNISH_LOG_DAEMON=/usr/bin/varnishlog - LOGFILE=/var/log/varnish.log - VARNISH_LOG_OPTS="-a -w ${LOGFILE} -D -P ${VARNISH_LOG_PIDFILE}" - -# Default address and port to bind to -# Blank address means all IPv4 and IPv6 interfaces, otherwise specify -# a host name, an IPv4 dotted quad, or an IPv6 address in brackets. - VARNISH_LISTEN_ADDRESS= - VARNISH_LISTEN_PORT=80 - -# Telnet admin interface listen address and port - VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1 - VARNISH_ADMIN_LISTEN_PORT=6082 - -# The minimum number of worker threads to start - VARNISH_MIN_THREADS=1 - -# The Maximum number of worker threads to start - VARNISH_MAX_THREADS=100 - -# Idle timeout for worker threads - VARNISH_THREAD_TIMEOUT=120 - -# Cache file location - VARNISH_STORAGE_FILE=/var/lib/varnish_storage.bin - -# Cache file size: in bytes, optionally using k / M / G / T suffix, -# or in percentage of available disk space using the % suffix. - VARNISH_STORAGE_SIZE=1G - -# Backend storage specification - VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}" - -# Default TTL used when the backend does not specify one - VARNISH_TTL=120 - -# VARNISH_DAEMON_OPTS is used by the init script. If you add or remove options, make -# sure you update this section, too. - VARNISH_DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \ - -f ${VARNISH_VCL_CONF} \ - -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \ - -t ${VARNISH_TTL} \ - -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \ - -u nobody -g nobody \ - -P ${VARNISH_PIDFILE} \ - -s ${VARNISH_STORAGE}" -fi - -case "$1" in -'start') - echo -n "Starting varnish daemon..." - $VARNISH_DAEMON $VARNISH_DAEMON_OPTS $VARNISH_PARAM > /dev/null 2>&1 - $VARNISH_LOG_DAEMON $VARNISH_LOG_OPTS - touch $VARNISH_LOCKFILE $VARNISH_LOG_LOCKFILE - echo - ;; -'stop') - echo -n "Stopping varnish daemon..." - kill -9 $(cat $VARNISH_PIDFILE) - kill -9 $(cat $VARNISH_LOG_PIDFILE) - rm -f $VARNISH_PIDFILE $VARNISH_LOG_PIDFILE $VARNISH_LOCKFILE $VARNISH_LOG_LOCKFILE - killall varnishd 2> /dev/null - echo - ;; -'restart') - $0 stop - sleep 3 - $0 start - ;; -*) - echo "usage $0 {start|stop|restart}" - exit 1 -esac - -exit 0 diff --git a/UNUSED/n/w3m/SlackBuild b/UNUSED/n/w3m/SlackBuild deleted file mode 100755 index f8ecf768..00000000 --- a/UNUSED/n/w3m/SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -# Slackware build script for w3m -# Written by slakmagik -# Released under the WTFPL - -PRGNAM=w3m -VERSION=0.5.3 -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c "http://downloads.sourceforge.net/project/$PRGNAM/$PRGNAM/$PRGNAM-$VERSION/$PRGNAM-$VERSION.tar.gz?use_mirror=nchc" -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; - -# Fix segfaulting bug -patch -p1 < $CWD/w3m-0.5.2-gpm_fix-1.patch - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - --enable-keymap=lynx \ - --enable-gopher \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux - -make -make DESTDIR=$PKG install - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a [ACNT]* doc/* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild -find $PKG/usr/man/ -type f -exec gzip -9 {} \; - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------------| -w3m: w3m (text-mode browser) -w3m: -w3m: w3m is a World Wide Web (WWW) text based client. It has English and -w3m: Japanese help files and an option menu and can be configured to use -w3m: either language. It will display hypertext markup language (HTML) -w3m: documents containing links to files residing on the local system, as -w3m: well as files residing on remote systems. It can display HTML tables, -w3m: frames, and images, and supports tabbed browsing. In addition, it can -w3m: be used as a "pager" in much the same manner as "more" or "less". -w3m: -w3m: Homepage: http://w3m.sourceforge.net/ -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/n/w3m/w3m-0.5.2-gpm_fix-1.patch b/UNUSED/n/w3m/w3m-0.5.2-gpm_fix-1.patch deleted file mode 100644 index 74c645d3..00000000 --- a/UNUSED/n/w3m/w3m-0.5.2-gpm_fix-1.patch +++ /dev/null @@ -1,124 +0,0 @@ -diff -urN w3m-0.5.2/configure.ac w3m-0.5.2.fixed/configure.ac ---- w3m-0.5.2/configure.ac 2004-04-29 00:19:25.000000000 +0600 -+++ w3m-0.5.2.fixed/configure.ac 2005-09-24 16:39:11.000000000 +0600 -@@ -97,6 +97,7 @@ - AC_SUBST(USE_W3M) - AC_CHECK_LIB(gpm, Gpm_Open, [AC_DEFINE(USE_GPM) - W3M_LIBS="$W3M_LIBS -lgpm"]) -+ AC_CHECK_LIB(gpm, Gpm_Wgetch, AC_DEFINE(HAVE_GPM_WGETCH)) - AC_SUBST(USE_SYSMOUSE) - AC_TRY_CPP([#include - MOUSE_GETINFO], [AC_DEFINE(USE_SYSMOUSE)]) -diff -urN w3m-0.5.2/gpm-libcurses.c w3m-0.5.2.fixed/gpm-libcurses.c ---- w3m-0.5.2/gpm-libcurses.c 1970-01-01 05:00:00.000000000 +0500 -+++ w3m-0.5.2.fixed/gpm-libcurses.c 2005-09-24 18:18:30.000000000 +0600 -@@ -0,0 +1,84 @@ -+/* -+ * libcurses.c - client library - curses level (gpm-Linux) -+ * -+ * Copied from GPM by Alexander E. Patrakov -+ * Copyright 1994,1995 rubini@linux.it (Alessandro Rubini) -+ * Copyright 2002 nico@schottelius.org (Nico Schottelius) -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License as published by -+ * the Free Software Foundation; either version 2 of the License, or -+ * (at your option) any later version. -+ * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ * GNU General Public License for more details. -+ * -+ * You should have received a copy of the GNU General Public License -+ * along with this program; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -+ ********/ -+ -+#include -+#include -+#include /* select(); */ -+#include /* timeval */ -+#include /* socket() */ -+ -+#include "config.h" -+#if defined(USE_GPM) && !defined(HAVE_GPM_WGETCH) -+ -+extern int getch(); -+ -+#include -+#include -+ -+#define SELECT_TIME 86400 /* one day */ -+ -+int Gpm_Wgetch(void * dummy) -+{ -+fd_set selSet; -+int max, flag, result; -+int fd=STDIN_FILENO; -+static Gpm_Event ev; -+ -+ if (!gpm_flag || gpm_fd==-1) return getch(); -+ if (gpm_morekeys) return (*gpm_handler)(&ev,gpm_data); -+ gpm_hflag=0; -+ -+ max = (gpm_fd>fd) ? gpm_fd : fd; -+ -+/*...................................................................*/ -+ if (gpm_fd>=0) /* linux */ -+ while(1) -+ { -+ if (gpm_visiblepointer) GPM_DRAWPOINTER(&ev); -+ do -+ { -+ FD_ZERO(&selSet); -+ FD_SET(fd,&selSet); -+ FD_SET(gpm_fd,&selSet); -+ gpm_timeout.tv_sec=SELECT_TIME; -+ errno = 0; -+ flag=select(max+1,&selSet,(fd_set *)NULL,(fd_set *)NULL,&gpm_timeout); -+ } -+ while (!flag); -+ -+ if (flag==-1) -+ continue; -+ -+ if (FD_ISSET(fd,&selSet)) -+ return getch(); -+ -+ if (Gpm_GetEvent(&ev) && gpm_handler -+ && (result=(*gpm_handler)(&ev,gpm_data))) -+ { -+ gpm_hflag=1; -+ return result; -+ } -+ } -+ return 0; -+} -+#endif -+ -diff -urN w3m-0.5.2/Makefile.in w3m-0.5.2.fixed/Makefile.in ---- w3m-0.5.2/Makefile.in 2004-04-26 23:04:48.000000000 +0600 -+++ w3m-0.5.2.fixed/Makefile.in 2005-09-24 16:48:54.000000000 +0600 -@@ -85,11 +85,11 @@ - SRCS=main.c file.c buffer.c display.c etc.c search.c linein.c table.c local.c \ - form.c map.c frame.c rc.c menu.c mailcap.c image.c \ - symbol.c entity.c terms.c url.c ftp.c mimehead.c regex.c news.c \ -- func.c cookie.c history.c backend.c $(KEYBIND_SRC) -+ func.c cookie.c history.c backend.c gpm-libcurses.c $(KEYBIND_SRC) - OBJS=main.o file.o buffer.o display.o etc.o search.o linein.o table.o local.o\ - form.o map.o frame.o rc.o menu.o mailcap.o image.o \ - symbol.o entity.o terms.o url.o ftp.o mimehead.o regex.o news.o \ -- func.o cookie.o history.o backend.o $(KEYBIND_OBJ) -+ func.o cookie.o history.o backend.o gpm-libcurses.o $(KEYBIND_OBJ) - LSRCS=anchor.c parsetagx.c tagtable.c istream.c - LOBJS=anchor.o parsetagx.o tagtable.o istream.o - LLOBJS=version.o -diff -urN w3m-0.5.2/config.h.in w3m-0.5.2.fixed/config.h.in ---- w3m-0.5.2/config.h.in 2004-04-04 22:47:20.000000000 +0600 -+++ w3m-0.5.2.fixed/config.h.in 2005-09-24 16:50:43.000000000 +0600 -@@ -231,3 +231,4 @@ - #define INFLATE_NAME "inflate" - -+#undef HAVE_GPM_WGETCH - #endif /* CONFIG_H_SEEN */ diff --git a/UNUSED/n/wallabag/SlackBuild b/UNUSED/n/wallabag/SlackBuild deleted file mode 100755 index 25a5bbac..00000000 --- a/UNUSED/n/wallabag/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} -ARCH="noarch" # hardcode ARCH -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -VHOST=${VHOST:-vhosts/$PRGNAM/} -VHOSTROOT=/var/www/${VHOST} -DOCROOT=${DOCROOT:-/var/www/${VHOST}htdocs} - -PHPUSER=${PHPUSER:-apache} -PHPGROUP=${PHPGROUP:-apache} - -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -eu - -rm -rf $PKG -mkdir -p $TMP $OUTPUT $PKG/$VHOSTROOT -cd $PKG/$VHOSTROOT/ -rm -rf $PRGNAM-$VERSION - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -if [ -e $REPOSITORY ]; then - (cd $REPOSITORY; git pull) -else - git clone https://github.com/$PRGNAM/$PRGNAM.git $REPOSITORY -fi - -cp -R $REPOSITORY htdocs - -cd htdocs - -# Change ownership and perms -chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT -chmod 0750 $PKG/$DOCROOT - -sudo -u $PHPUSER 'SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist' - -rm -fr .git .gitignore -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ - -exec chmod 750 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 -o -perm 644 \) \ - -exec chmod 640 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a *.md $PKG/usr/doc/$PRGNAM - -mkdir -p $PKG/install/ -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (open source self hostable read-it-later web app) -$PRGNAM: -$PRGNAM: Abandon Pocket, Instapaper and other Readability service : -$PRGNAM: adopt poche. It is the same, but it is free (like in freedom) -$PRGNAM: and open source. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.wallabag.com/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} diff --git a/UNUSED/themes/adapta-gtk-theme/SlackBuild b/UNUSED/themes/adapta-gtk-theme/SlackBuild deleted file mode 100755 index d3d65df4..00000000 --- a/UNUSED/themes/adapta-gtk-theme/SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-0.6.4} - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -mkdir -p $TMP - -# Cleaning -rm -fr $PRGNAM $PKG - -# Fetching sources -[ ! -e $REPOSITORY ] && git clone https://github.com/adapta-project/adapta-gtk-theme.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM - -# Preparation -cd $TMP/$PRGNAM -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Configuration -./autogen.sh -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o "64") \ - --sysconfdir=/etc \ - --disable-gnome \ - --disable-cinnamon \ - --disable-flashback \ - --disable-mate \ - --disable-openbox - -# Building -make - -# Installation -make install DESTDIR=$PKG - -mkdir -p $PKG$PREFIX/share/$PRGNAM -cd $PKG$PREFIX/share/$PRGNAM -cp $TMP/$PRGNAM/ROMs/*rom*.bz2 . -find . -name "*.bz2" -exec bunzip2 {} \; - -# Cleaning -cd $PKG -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 - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (An adaptive Gtk+ theme based on Material Design Guidelines.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/adapta-project/adapta-gtk-theme -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/themes/base16-xresources/SlackBuild b/UNUSED/themes/base16-xresources/SlackBuild deleted file mode 100755 index 7fcef402..00000000 --- a/UNUSED/themes/base16-xresources/SlackBuild +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BUILD=1 -TAG=gwh -ARCH=noarch - -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -mkdir -p $TMP - -# Cleaning -rm -fr $PRGNAM $PKG - -# Fetching sources -[ ! -e $REPOSITORY ] && git clone https://github.com/chriskempson/base16-xresources.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Installation -mkdir -p $PKG$PREFIX/{doc,share}/$PRGNAM -cp -R $REPOSITORY/xresources/ $PKG$PREFIX/share/$PRGNAM -cp -R $REPOSITORY/{*.md,templates/} $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -cd $PKG -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Base16 for X Windows) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/chriskempson/base16-xresources -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/themes/nord-xresources/SlackBuild b/UNUSED/themes/nord-xresources/SlackBuild deleted file mode 100755 index 56ea0287..00000000 --- a/UNUSED/themes/nord-xresources/SlackBuild +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BUILD=1 -TAG=gwh -ARCH=noarch - -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -mkdir -p $TMP - -# Cleaning -rm -fr $PRGNAM $PKG - -# Fetching sources -[ ! -e $REPOSITORY ] && git clone https://github.com/arcticicestudio/nord-xresources.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Installation -mkdir -p $PKG$PREFIX/{doc,share}/$PRGNAM -cp $REPOSITORY/src/nord $PKG$PREFIX/share/$PRGNAM/nord.Xresources -cp -r $REPOSITORY/* $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -cd $PKG -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (An arctic, north-bluish clean and elegant Xresources color theme.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://git.io/nord-xresources -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/themes/shades-of-gray/SlackBuild b/UNUSED/themes/shades-of-gray/SlackBuild deleted file mode 100755 index afcbd59f..00000000 --- a/UNUSED/themes/shades-of-gray/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-0.6.4} - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -rm -fr $PKG - -# Fetching sources -[ ! -e $REPOSITORY ] && git clone https://github.com/WernerFP/Shades-of-gray-theme.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Preparation -mkdir -p $PKG$PREFIX/share/ -cd $PKG$PREFIX/share/ -cp -R $REPOSITORY themes -cd themes -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv LICENSE Readme $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -cd $PKG -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -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 - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (A flat dark GTK-theme with ergonomic contrasts) -$PRGNAM: -$PRGNAM: It supports Gnome, Cinnamon, Xfce4, Mate and Openbox. Theme customizations -$PRGNAM: for Firefox, Thunderbird and Inkscape are additionally included. -$PRGNAM: Shades-of-gray is available in seven color variants: -$PRGNAM: Gray, Arch, Cerulean, Firebrick, Harvest, Orient, Patina -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://www.gnome-look.org/p/1244058/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/themes/solarized-xresources/SlackBuild b/UNUSED/themes/solarized-xresources/SlackBuild deleted file mode 100755 index 44611376..00000000 --- a/UNUSED/themes/solarized-xresources/SlackBuild +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BUILD=1 -TAG=gwh -ARCH=noarch - -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -mkdir -p $TMP - -# Cleaning -rm -fr $PRGNAM $PKG - -# Fetching sources -[ ! -e $REPOSITORY ] && git clone https://github.com/solarized/xresources.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# Installation -mkdir -p $PKG$PREFIX/{doc,share}/$PRGNAM -cp $REPOSITORY/X* $PKG$PREFIX/share/$PRGNAM -cp $REPOSITORY/{LICENSE,README.md} $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -cd $PKG -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Solarized for X Windows) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/solarized/xresources -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/web/52fw/52fw_beta_0.5.zip b/UNUSED/web/52fw/52fw_beta_0.5.zip deleted file mode 100644 index eff90453..00000000 Binary files a/UNUSED/web/52fw/52fw_beta_0.5.zip and /dev/null differ diff --git a/UNUSED/web/52fw/SlackBuild b/UNUSED/web/52fw/SlackBuild deleted file mode 100755 index ea0a080f..00000000 --- a/UNUSED/web/52fw/SlackBuild +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=beta_0.5 -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -# [ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -# ( cd $REPOSITORIES -# if [ -e $REPOSITORIES/$PRGNAM ] ; then -# ( cd $REPOSITORIES/$PRGNAM -# git pull -# ) -# else -# git clone http://github.com/bauhouse/fluid960gs.git $REPOSITORIES/$PRGNAM -# fi -# ) - -mkdir -p $PKG/srv/www/htdocs/$PRGNAM -#cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -[ ! -e $CWD/${PRGNAM}_$VERSION.zip ] && ( cd $CWD ; wget -c http://52framework.com/download/${PRGNAM}_$VERSION.zip ) -( cd $PKG/srv/www/htdocs/$PRGNAM - unzip $CWD/${PRGNAM}_$VERSION.zip -) -#find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (HTML5 & CSS3 framework) -$PRGNAM: -$PRGNAM: The 52framework was started by the enavu network as a way to expedite the process -$PRGNAM: of the usage of the latest standards in web development, and the love of the -$PRGNAM: number 52. The 52framework provides an easy way to get started using html5 and -$PRGNAM: css3 while still supporting all modern browsers (including ie6). -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://52framework.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/better-web-readability-project/SlackBuild b/UNUSED/web/better-web-readability-project/SlackBuild deleted file mode 100755 index 52b617d9..00000000 --- a/UNUSED/web/better-web-readability-project/SlackBuild +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -[ ! -e $CWD/Better-Web-Readability-Project-CSS-Library.zip ] && ( cd $CWD ; \ - wget -c http://better-web-readability-project.googlecode.com/files/Better-Web-Readability-Project-CSS-Library.zip ; ) - -mkdir -p $PKG/srv/www/htdocs -( cd $PKG/srv/www/htdocs ; - unzip $CWD/Better-Web-Readability-Project-CSS-Library.zip -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (CSS library) -$PRGNAM: -$PRGNAM: The main purpose of this project is to contribute to better reading experience -$PRGNAM: on the screen by using CSS typography library. -$PRGNAM: All about this solution: -$PRGNAM: http://www.vcarrer.com/2009/05/how-we-read-on-web-and-how-can-we.html -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/better-web-readability-project/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/fatfree/SlackBuild b/UNUSED/web/fatfree/SlackBuild deleted file mode 100755 index 6074b196..00000000 --- a/UNUSED/web/fatfree/SlackBuild +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=trunk$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - svn up - ) - else - svn co https://fatfree.svn.sourceforge.net/svnroot/fatfree $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs $PKG$PREFIX/doc/ -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.svn\* -exec rm -fr {} \; - -if [ ! -e $CWD/fatfree.sourceforge.net ]; then - ( cd $CWD - wget -cpk http://fatfree.sourceforge.net/ - ) -fi -cp -R $CWD/fatfree.sourceforge.net $PKG$PREFIX/doc/$PRGNAM - -mkdir -p $PKG$PREFIX/doc/$PRGNAM/demos $CWD/demos/ -for i in fatfree-url.zip fatfree-oop.zip fatfree-ini.zip fatfree-i18n.zip fatfree-blog.zip; do - wget -c http://sourceforge.net/projects/fatfree/files/$i/download -O $CWD/demos/$i - cp $CWD/demos/$i $PKG$PREFIX/doc/$PRGNAM/demos -done - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (PHP Web framwork) -$PRGNAM: -$PRGNAM: FAT-FREE is a powerful and lightweight PHP 5.3+ Web application framework -$PRGNAM: designed to help you build dynamic and robust Web sites - fast! Unlike -$PRGNAM: other PHP frameworks, Fat-Free aims to be usable - not usual. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://fatfree.sourceforge.net/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/fluid960gs/SlackBuild b/UNUSED/web/fluid960gs/SlackBuild deleted file mode 100755 index ef339e2e..00000000 --- a/UNUSED/web/fluid960gs/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%F | tr -d -) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/bauhouse/fluid960gs.git $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (CSS framework) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.designinfluences.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/html5-boilerplate/SlackBuild b/UNUSED/web/html5-boilerplate/SlackBuild deleted file mode 100755 index eb9e773e..00000000 --- a/UNUSED/web/html5-boilerplate/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone "http://github.com/paulirish/html5-boilerplate.git" $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (website skeleton) -$PRGNAM: -$PRGNAM: This is a set of files that a front-end developer can use to get started -$PRGNAM: on a website -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://html5boilerplate.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/html5reset/SlackBuild b/UNUSED/web/html5reset/SlackBuild deleted file mode 100755 index 9e78e0b7..00000000 --- a/UNUSED/web/html5reset/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=latest -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -find $CWD -name "$PRGNAM-*.zip" -exec mv {} {}.bkp \; -( cd $CWD - lftp -c "open http://html5reset.org/-/downloads/ ; mget *.zip" -) - -VERSION=$(basename $(ls $CWD/html5reset-barebones-*.zip) | sed 's|html5reset-barebones-||' | sed 's|\.zip||') - -mkdir -p $PKG/srv/www/htdocs/$PRGNAM -( cd $PKG/srv/www/htdocs/$PRGNAM - for z in $CWD/html5reset-*.zip ; do - unzip $z - done - rm -fr __MACOSX - # find . -type d -name "-" -exec mv {} _ \; -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (HTML5 skeleton and reset) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://html5reset.org -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/invisibleframework/SlackBuild b/UNUSED/web/invisibleframework/SlackBuild deleted file mode 100755 index 5574e278..00000000 --- a/UNUSED/web/invisibleframework/SlackBuild +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=2.0 -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -mkdir -p $PKG/srv/www/htdocs/$PRGNAM - -[ ! -e $CWD/${PRGNAM}_$VERSION.zip ] && ( cd $CWD ; wget -c http://edge.launchpad.net/invisible/$VERSION/$VERSION/+download/${PRGNAM}-$VERSION.zip ) -( cd $PKG/srv/www/htdocs/$PRGNAM - unzip $CWD/${PRGNAM}-$VERSION.zip -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (CSS framework) -$PRGNAM: -$PRGNAM: Invisible is a simple and modular CSS framework. -$PRGNAM: Invisible is not complex. -$PRGNAM: It provides a reset, a base resizable layout and some other stuff. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://launchpad.net/invisible -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/iui/SlackBuild b/UNUSED/web/iui/SlackBuild deleted file mode 100755 index 664f0ec5..00000000 --- a/UNUSED/web/iui/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) - else - hg clone https://iui.googlecode.com/hg/ $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.hg\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (iPhone User Interface Framework) -$PRGNAM: iUI is a framework consisting of a JavaScript library, CSS, and images for -$PRGNAM: developing iPhone webapps. -$PRGNAM: Makes WebApps Look and Feel Like iPhone Native Apps -$PRGNAM: iUI has the following features: -$PRGNAM: * Create Navigational Menus and iPhone interfaces from standard HTML -$PRGNAM: * Use or knowledge of JavaScript is not required to create basic iPhone pages -$PRGNAM: * Ability to handle phone orientation changes -$PRGNAM: * Provide a more "iPhone-like" experience to Web apps (on or off the iPhone) -$PRGNAM: -$PRGNAM: http://code.google.com/p/iui/ -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/jquery/SlackBuild b/UNUSED/web/jquery/SlackBuild deleted file mode 100755 index 3f8bc267..00000000 --- a/UNUSED/web/jquery/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=jquery -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/$PRGNAM/$PRGNAM.git $REPOSITORIES/$PRGNAM - fi -) - -# mkdir -p $PKG/srv/www/htdocs -# cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -# find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; -mkdir -p $TMP -cp -R $REPOSITORIES/$PRGNAM $TMP -( cd $TMP/$PRGNAM - make PREFIX=$PKG/srv/www/htdocs - mkdir -p $PKG$PREFIX/doc/$PRGNAM - cp -R *-LICENSE.txt README.md version.txt test speed $PKG$PREFIX/doc/$PRGNAM -) - -VERSION=$(cat $PKG$PREFIX/doc/$PRGNAM/version.txt)_$VERSION - -( cd $PKG - # Amis, nettoyons un tantinet la zone - find $PKG -name \.git\* -exec rm -fr {} \; - - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (New Wave Javascript) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://jquery.com/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/klein.php/SlackBuild b/UNUSED/web/klein.php/SlackBuild deleted file mode 100755 index 9e50d1fa..00000000 --- a/UNUSED/web/klein.php/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone "https://github.com/chriso/klein.php.git" $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (A lightning fast router for PHP5.3+) -$PRGNAM: -$PRGNAM: klein.php is a lightning fast router for PHP 5.3+. In < 600 lines you get -$PRGNAM: Sinatra-like routing -$PRGNAM: Almost no overhead = as much speed as you can possibly squeeze from PHP -$PRGNAM: (2200 requests/second+) -$PRGNAM: A set of boilerplate methods for rapidly building web apps -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/chriso/klein.php -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/web/modernizr/SlackBuild b/UNUSED/web/modernizr/SlackBuild deleted file mode 100755 index 1ec25482..00000000 --- a/UNUSED/web/modernizr/SlackBuild +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=latest -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -find $CWD -name "$PRGNAM-*.js" -exec mv {} {}.bkp \; -wget -c http://www.modernizr.com/downloadfulljs/ -O $CWD/$PRGNAM-VERSIONPLACEHOLDER.js -wget -c http://www.modernizr.com/downloadjs/ -O $CWD/$PRGNAM-VERSIONPLACEHOLDER.min.js - -VERSION=$(grep "var version" $CWD/$PRGNAM-VERSIONPLACEHOLDER.js | grep -o "[0-9.]*") - -mv $CWD/$PRGNAM-VERSIONPLACEHOLDER.min.js $CWD/$PRGNAM-$VERSION.min.js -mv $CWD/$PRGNAM-VERSIONPLACEHOLDER.js $CWD/$PRGNAM-$VERSION.js - -mkdir -p $PKG/srv/www/htdocs/$PRGNAM -cp $CWD/$PRGNAM-*.js $PKG/srv/www/htdocs/$PRGNAM - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (HTML5/CSS3 javascript library) -$PRGNAM: -$PRGNAM: Modernizr is a small and simple JavaScript library that helps you take -$PRGNAM: advantage of emerging web technologies (CSS3, HTML 5) while still -$PRGNAM: maintaining a fine level of control over older browsers that may not yet -$PRGNAM: support these new technologies. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://modernizr.com -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/movicon/SlackBuild b/UNUSED/web/movicon/SlackBuild deleted file mode 100755 index 17c14620..00000000 --- a/UNUSED/web/movicon/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=trunk$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone git://gitorious.org/movicon//movicon.git $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (MVC PHP Web framework) -$PRGNAM: -$PRGNAM: Movicon is a very simple implementation of the MVC framework for web applications -$PRGNAM: written in PHP. Unlike other famous implementations, it aims to be simple, -$PRGNAM: straightforward and particularly easy to tweak and deploy. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://movicon.dyndns.org/ -$PRGNAM: -$PRGNAM: http://gitorious.org/movicon/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/phpPgAdmin/SlackBuild b/UNUSED/web/phpPgAdmin/SlackBuild deleted file mode 100755 index 756fa348..00000000 --- a/UNUSED/web/phpPgAdmin/SlackBuild +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=5.0-beta2 -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -mkdir -p $PKG/srv/www/htdocs/ - -[ ! -e $CWD/${PRGNAM}-$VERSION.tar.bz2 ] && wget -c http://downloads.sourceforge.net/phppgadmin/${PRGNAM}-$VERSION.tar.bz2 -O $CWD/${PRGNAM}-$VERSION.tar.bz2 -( cd $PKG/srv/www/htdocs/ - tar xf $CWD/${PRGNAM}-$VERSION.tar.bz2 - mv ${PRGNAM}-$VERSION $PRGNAM -) - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (web-based administration tool for PostgreSQL) -$PRGNAM: -$PRGNAM: phpPgAdmin is a web-based administration tool for PostgreSQL. -$PRGNAM: It is perfect for PostgreSQL DBAs, newbies and hosting services. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://phppgadmin.sourceforge.net -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/processing.js/SlackBuild b/UNUSED/web/processing.js/SlackBuild deleted file mode 100755 index a195aedf..00000000 --- a/UNUSED/web/processing.js/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=cyco -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/jeresig/processing-js.git $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (an open programming language) -$PRGNAM: -$PRGNAM: Processing.js is an open programming language for people who want to program -$PRGNAM: images, animation, and interactions for the web without using Flash or Java -$PRGNAM: applets. Processing.js uses Javascript to draw shapes and manipulate images -$PRGNAM: on the HTML5 Canvas element. The code is light-weight, simple to learn and -$PRGNAM: makes an ideal tool for visualizing data, creating user-interfaces and -$PRGNAM: developing web-based games. -$PRGNAM: -$PRGNAM: http://processingjs.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/recaptcha/SlackBuild b/UNUSED/web/recaptcha/SlackBuild deleted file mode 100755 index b4100443..00000000 --- a/UNUSED/web/recaptcha/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - svn up - ) - else - svn checkout http://recaptcha.googlecode.com/svn/trunk/ $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.svn\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Plugins and libraries for the reCAPTCHA API) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://recaptcha.net/ -$PRGNAM: http://code.google.com/p/recaptcha/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/rickshaw/SlackBuild b/UNUSED/web/rickshaw/SlackBuild deleted file mode 100755 index 5392e92d..00000000 --- a/UNUSED/web/rickshaw/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=noarch - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone http://github.com/shutterstock/rickshaw $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (JavaScript toolkit for creating interactive real-time graphs) -$PRGNAM: -$PRGNAM: Rickshaw is a JavaScript toolkit for creating interactive real-time graphs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/shutterstock/rickshaw -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/right.js/SlackBuild b/UNUSED/web/right.js/SlackBuild deleted file mode 100755 index 734d15c5..00000000 --- a/UNUSED/web/right.js/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=cyco -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -function pull_or_clone() { - NAM=$1 - if [ -e $REPOSITORIES/$NAM ] ; then - ( cd $REPOSITORIES/$NAM - git pull - ) - else - git clone http://github.com/rightjs/$NAM.git $REPOSITORIES/$NAM - fi -} - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - pull_or_clone rightjs-core - pull_or_clone rightjs-ui - pull_or_clone rightjs-goods - pull_or_clone rightjs-home -) - -mkdir -p $PKG/srv/www/htdocs/$PRGNAM -cp -R $REPOSITORIES/rightjs-core $PKG/srv/www/htdocs/$PRGNAM -cp -R $REPOSITORIES/rightjs-ui $PKG/srv/www/htdocs/$PRGNAM -cp -R $REPOSITORIES/rightjs-goods $PKG/srv/www/htdocs/$PRGNAM -cp -R $REPOSITORIES/rightjs-home $PKG/srv/www/htdocs/$PRGNAM - -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (The Right JavaScript Framework) -$PRGNAM: -$PRGNAM: RightJS is a new JavaScript framework. It takes many old, battle proven -$PRGNAM: features, wraps them nicely, mixes with some new ideas and features, -$PRGNAM: and as the result provides a tiny, fast and easy to use tool. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://rightjs.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/scms/SlackBuild b/UNUSED/web/scms/SlackBuild deleted file mode 100755 index 4f332c67..00000000 --- a/UNUSED/web/scms/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone "https://github.com/d4sh/scms.git" $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (PHP5 web framework) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://scms.za.net/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/web/simple-php-framework/SlackBuild b/UNUSED/web/simple-php-framework/SlackBuild deleted file mode 100755 index 4da77897..00000000 --- a/UNUSED/web/simple-php-framework/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -cd $REPOSITORIES -if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -else - git clone "http://github.com/tylerhall/simple-php-framework.git" $REPOSITORIES/$PRGNAM -fi - - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (The Simple PHP Framework) -$PRGNAM: -$PRGNAM: The Simple PHP Framework is a pragmatic approach to building websites with PHP 5. -$PRGNAM: It’s geared towards web design shops and freelance programmers looking for a -$PRGNAM: common foundation to quickly bring web projects to life. Without getting too -$PRGNAM: technical, SPF follows the no-framework Framework method coined by Rasmus -$PRGNAM: Lerdorf — with a little Active Record thrown in for good measure. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://clickontyler.com/simple-php-framework/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/web/slim/SlackBuild b/UNUSED/web/slim/SlackBuild deleted file mode 100755 index 69eea0c1..00000000 --- a/UNUSED/web/slim/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - else - git clone "http://github.com/codeguy/Slim.git" $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (A PHP5 Sinatra Clone) -$PRGNAM: -$PRGNAM: What is Slim? -$PRGNAM: I wanted a way to launch a simple PHP web service with minimum fuss. -$PRGNAM: There are plenty of respectable PHP frameworks, but many of them are -$PRGNAM: too robust for my needs. So I created Slim, a simple DSL for creating -$PRGNAM: PHP web service -$PRGNAM: -$PRGNAM: http://slim.joshlockhart.com/index.html -$PRGNAM: http://github.com/codeguy/Slim -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/underscore.php/underscore.php.Slackbuild b/UNUSED/web/underscore.php/underscore.php.Slackbuild deleted file mode 100755 index e880c4dd..00000000 --- a/UNUSED/web/underscore.php/underscore.php.Slackbuild +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -else - git clone "https://github.com/brianhaveri/Underscore.php.git" $REPOSITORIES/$PRGNAM -fi - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.git\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Functional programming library for PHP5.3+) -$PRGNAM: -$PRGNAM: Underscore.php is a PHP port of Underscore.js. -$PRGNAM: In addition to porting Underscore's functionality, Underscore.php includes -$PRGNAM: matching unit tests. -$PRGNAM: For docs, license, tests, and downloads, see: -$PRGNAM: http://brianhaveri.github.com/Underscore.php -$PRGNAM: -$PRGNAM: Thanks to Jeremy Ashkenas and all contributors to Underscore.js. -$PRGNAM: -$PRGNAM: -EOF - -chown -R root:root * - -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/web/wordpress/SlackBuild b/UNUSED/web/wordpress/SlackBuild deleted file mode 100755 index d256130c..00000000 --- a/UNUSED/web/wordpress/SlackBuild +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=trunk$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - svn up - ) - else - svn co http://core.svn.wordpress.org/trunk/ $REPOSITORIES/$PRGNAM - fi -) - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.svn\* -exec rm -fr {} \; - -( cd $PKG - mkdir -p install - cat < install/slack-desc -$PRGNAM: $PRGNAM (Blog/CMs engine) -$PRGNAM: -$PRGNAM: WordPress is web software you can use to create a beautiful website or blog. -$PRGNAM: We like to say that WordPress is both free and priceless at the same time. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://wordpress.org/ -$PRGNAM: -EOF - - chown -R root:root * - - makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/web/yii/SlackBuild b/UNUSED/web/yii/SlackBuild deleted file mode 100755 index d407560e..00000000 --- a/UNUSED/web/yii/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# cleaning -rm -fr $PKG - -# get sources -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - svn update - ) -else - svn checkout "http://yii.googlecode.com/svn/trunk/" $REPOSITORIES/$PRGNAM -fi -cd $REPOSITORIES/$PRGNAM -VERSION=r$(LANG=C svn info|grep Revision | sed 's|Revision: \([0-9]*\)|\1|') - -mkdir -p $PKG/srv/www/htdocs -cp -R $REPOSITORIES/$PRGNAM $PKG/srv/www/htdocs/ -find $PKG/srv/www/htdocs -name \.svn\* -exec rm -fr {} \; - -mkdir -p $PKG/usr/bin -cat < $PKG/usr/bin/yiic -#!/bin/sh - -cd /srv/www/htdocs/$PRGNAM/framework/ -exec yiic -EOF -chmod +x $PKG/usr/bin/yiic - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (The Fast, Secure and Professional PHP Framework) -$PRGNAM: -$PRGNAM: Yii is a high-performance PHP framework best for developing Web 2.0 applications. -$PRGNAM: -$PRGNAM: Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, -$PRGNAM: authentication and role-based access control, scaffolding, testing, etc. It can -$PRGNAM: reduce your development time significantly. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.yiiframework.com/ -$PRGNAM: -EOF - -chown -R root:root * - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/x/GfxTablet/SlackBuild b/UNUSED/x/GfxTablet/SlackBuild deleted file mode 100755 index b9b02de8..00000000 --- a/UNUSED/x/GfxTablet/SlackBuild +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/rfc2822/GfxTablet.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM/driver-uinput - -make - -mkdir -p $PKG$PREFIX/bin -cp networktablet $PKG$PREFIX/bin - -cd .. -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R LICENSE.md README.md app-android doc/ $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Draw on your PC via your Android device) -$PRGNAM: -$PRGNAM: GfxTablet shall make it possible to use your Android device -$PRGNAM: (especially tablets) like a graphics tablet. -$PRGNAM: It consists of two components: -$PRGNAM: the GfxTablet Android app -$PRGNAM: the input driver for your PC -$PRGNAM: The GfxTablet app sends motion and touch events via UDP to a specified -$PRGNAM: host on port 40118. -$PRGNAM: -$PRGNAM: https://github.com/rfc2822/GfxTablet -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/x/grandr/SlackBuild b/UNUSED/x/grandr/SlackBuild deleted file mode 100755 index 0d8d8047..00000000 --- a/UNUSED/x/grandr/SlackBuild +++ /dev/null @@ -1,85 +0,0 @@ -#!/bin/sh - -# variables -VERSION=git$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=grandr -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - ( cd $(dirname $REPOSITORY) - git clone git://anongit.freedesktop.org/xorg/app/grandr $PRGNAM - ) -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - - ./autogen.sh \ - --prefix=$PREFIX# #\ - # --mandir=$PREFIX/man \ - # --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) - make - - make PREFIX=$PREFIX DESTDIR=$PKG INSTALL_ROOT=$PKG install -) - -# correction -( cd $PKG - chown -R root:root * - - [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -) - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (xrandr GUI) -$PRGNAM: -$PRGNAM: RandR user interface using GTK+ libraries -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://cgit.freedesktop.org/xorg/app/grandr/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/x/libdrm/SlackBuild b/UNUSED/x/libdrm/SlackBuild deleted file mode 100755 index 039420a9..00000000 --- a/UNUSED/x/libdrm/SlackBuild +++ /dev/null @@ -1,153 +0,0 @@ -#!/bin/sh - -# Modified by Gwenhael Le Moine - -# Copyright 2006, 2007, 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PKGNAM=libdrm -VERSION=${VERSION:-git$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-x86_64} -NUMJOBS=${NUMJOBS:-" -j3 "} -BUILD=${BUILD:-1gwh} - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-${PKGNAM} - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -rm -rf $PKG -mkdir -p $TMP $PKG -cd $TMP -rm -rf ${PKGNAM}-${VERSION} -#tar xvf $CWD/${PKGNAM}-$VERSION.tar.xz || exit 1 - -[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES -( cd $REPOSITORIES - if [ -e $REPOSITORIES/drm ] ; then - ( cd $REPOSITORIES/drm - git pull - ) - else - git clone git://anongit.freedesktop.org/git/mesa/drm/ $REPOSITORIES/drm - fi -) - -( cd $TMP - cp -R $REPOSITORIES/drm $PKGNAM-$VERSION -) -cd ${PKGNAM}-$VERSION - -# Make sure ownerships and permissions are sane: -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Configure: - ./autogen.sh -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --enable-udev \ - --enable-nouveau-experimental-api \ - --build=$ARCH-slackware-linux - -# Build and install: -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -# Strip binaries: -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -# Compress and link manpages, if any: -if [ -d $PKG/usr/man ]; then - ( cd $PKG/usr/man - for manpagedir in $(find . -type d -name "man*") ; do - ( cd $manpagedir - for eachpage in $( find . -type l -maxdepth 1) ; do - ln -s $( readlink $eachpage ).gz $eachpage.gz - rm $eachpage - done - gzip -9 *.? - ) - done - ) -fi - -# Compress info files, if any: -if [ -d $PKG/usr/info ]; then - ( cd $PKG/usr/info - rm -f dir - gzip -9 * - ) -fi - -# Add a documentation directory: -mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION -cp -a \ - README \ - $PKG/usr/doc/${PKGNAM}-$VERSION - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -libdrm: libdrm (A library to support Direct Rendering) -libdrm: -libdrm: This library implements an interface to the kernel's DRM services. -libdrm: It is used to support hardware accelerated 3-D rendering. -libdrm: -libdrm: -libdrm: -libdrm: -libdrm: -libdrm: -libdrm: -EOF - -cd $TMP/pkg-${PKGNAM} -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz - diff --git a/UNUSED/x/xf86-input-evtouch/SlackBuild b/UNUSED/x/xf86-input-evtouch/SlackBuild deleted file mode 100755 index 87ccdcb6..00000000 --- a/UNUSED/x/xf86-input-evtouch/SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=0.8.8 - -EXT=tar.xz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-O2 $(echo "$ARCH" | grep -q "64" && echo -fPIC)" - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -if [ ! -e $CWD/xf86-input-evtouch-$VERSION.tar.bz2 ] ; then - ( cd $CWD - wget -c http://www.conan.de/touchscreen/xf86-input-evtouch-$VERSION.tar.bz2 - ) -fi - -cd $TMP -tar xf $CWD/xf86-input-evtouch-$VERSION.tar.bz2 -cd $TMP/$PRGNAM-$VERSION - -patch -p1 -i $CWD/hacks.diff - -# configuration -CFLAGS="$SLCKFLAGS" \ -CPPFLAGS="$SLCKFLAGS" \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o "64") \ - --enable-udevinstall \ - --enable-evcalibrate - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG -mkdir -p $PKG$PREFIX/bin -( cd $PKG$PREFIX/bin - ln -s ../lib$(echo "$ARCH" | grep -o "64")/xf86-input-evtouch/ev_calibrate ev_calibrate - ln -s ../lib$(echo "$ARCH" | grep -o "64")/xf86-input-evtouch/calibrate.sh calibrate.sh -) - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (Linux-Touchscreen Driver for X) -$PRGNAM: -$PRGNAM: Evtouch is a Touchscreen-Driver for X. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.conan.de/touchscreen/evtouch.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/x/xf86-input-evtouch/hacks.diff b/UNUSED/x/xf86-input-evtouch/hacks.diff deleted file mode 100644 index 515781fc..00000000 --- a/UNUSED/x/xf86-input-evtouch/hacks.diff +++ /dev/null @@ -1,59 +0,0 @@ -diff -Nur xf86-input-evtouch-0.8.8/evtouch.c xf86-input-evtouch-0.8.8-patched/evtouch.c ---- xf86-input-evtouch-0.8.8/evtouch.c 2008-11-11 15:47:55.000000000 +0700 -+++ xf86-input-evtouch-0.8.8-patched/evtouch.c 2010-03-04 16:32:40.670484045 +0700 -@@ -30,8 +30,8 @@ - - #define _evdev_touch_C_ - --#include --#if XF86_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0) -+#include -+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(3,9,0,0,0) - #define XFREE86_V4 - #endif - -@@ -74,11 +74,11 @@ - #include "xf86_OSproc.h" - #include "xf86Xinput.h" - #include "exevents.h" --#include "xf86OSmouse.h" -+//#include "xf86OSmouse.h" - #include "randrstr.h" - --#ifndef NEED_XF86_TYPES --#define NEED_XF86_TYPES /* for xisb.h when !XFree86LOADER */ -+#ifndef NEED_XORG_TYPES -+#define NEED_XORG_TYPES /* for xisb.h when !XFree86LOADER */ - #endif - - #define DBG(lvl, f) {if ((lvl) <= debug_level) f;} -@@ -139,7 +139,7 @@ - "Kenan Esau", - MODINFOSTRING1, - MODINFOSTRING2, -- XF86_VERSION_CURRENT, -+ XORG_VERSION_CURRENT, - 0, 8, 8, - ABI_CLASS_XINPUT, - ABI_XINPUT_VERSION, -@@ -653,8 +653,8 @@ - * Device reports motions on 2 axes in absolute coordinates. - * Axes min and max values are reported in raw coordinates. - */ -- if (InitValuatorClassDeviceStruct(dev, 2, xf86GetMotionEvents, -- local->history_size, Absolute) == FALSE) -+ if (InitValuatorClassDeviceStruct(dev, 2, (int)xf86GetMotionEvents, -+ local->history_size) == FALSE) - { - ErrorF ("Unable to allocate EVTouch touchscreen ValuatorClassDeviceStruct\n"); - return !Success; -@@ -673,6 +673,9 @@ - xf86InitValuatorDefaults(dev, 1); - #else - xf86InitValuatorAxisStruct(dev, 0, priv->min_x, priv->max_x, -+ 1024, -+ EV_AXIS_MIN_RES /* min_res */ , -+ EV_AXIS_MAX_RES /* max_res */ ); - xf86InitValuatorDefaults(dev, 1); - #endif - diff --git a/UNUSED/x/xf86-input-plpevtch/SlackBuild b/UNUSED/x/xf86-input-plpevtch/SlackBuild deleted file mode 100755 index c75751a8..00000000 --- a/UNUSED/x/xf86-input-plpevtch/SlackBuild +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=0.4.0 - -EXT=tar.xz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -if [ ! -e $CWD/xf86-input-plpevtch-$VERSION.tar.bz2 ] ; then - ( cd $CWD - wget -c http://download.plop.at/files/plpevtch/xf86-input-plpevtch-$VERSION.tar.gz - ) -fi - -cd $TMP -tar xf $CWD/xf86-input-plpevtch-$VERSION.tar.gz -cd $TMP/$PRGNAM-$VERSION - -patch -p1 -i $CWD/hacks.diff - -# configuration -CFLAGS="$SLCKFLAGS" \ -CPPFLAGS="$SLCKFLAGS" \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o "64") - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (Xorg Evdev Touchscreen Driver) -$PRGNAM: -$PRGNAM: The plpevtch driver is an eventdevice driver for touchscreens under Xorg 7.x. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.plop.at/en/touchscreen.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/Copy/SlackBuild b/UNUSED/xap/Copy/SlackBuild deleted file mode 100755 index f0d57970..00000000 --- a/UNUSED/xap/Copy/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%Y.%m.%d)} -ARCH=$(uname -m) -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=/usr -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -rm -rf $PKG -mkdir -p $TMP $PKG/usr $OUTPUT -cd $TMP || exit 1 - -[ ! -e $CWD/Copy.tgz ] && wget -c https://copy.com/install/linux/Copy.tgz -O $CWD/Copy.tgz - -tar xvf $CWD/$PRGNAM.tgz || exit 1 -cd copy || exit 1 -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -mkdir -p $PKG$PREFIX/{bin,lib$LIBSUFFIX,doc/$PRGNAM} -mv README $PKG$PREFIX/doc/$PRGNAM -if [ "$LIBSUFFIX" == "64" ]; then - cd x86_64 -else - cd x86 -fi - -#This is not actually the version reported in the GUI, so we keep the date -#VERSION=$(strings CopyAgent | grep -i "Copy version" | grep -o "[0-9.]*" | grep \\\.) - -mv CopyAgent CopyCmd CopyConsole copyext.rcc $PKG$PREFIX/bin -mv libBrt.so libCloudMount.so libCloudSync.so libGui.so libcaja-copy.so libnautilus-copy.so $PKG$PREFIX/lib$LIBSUFFIX - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A cloud for people, friends, and companies.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://www.copy.com/home/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/DroidAtScreen1/SlackBuild b/UNUSED/xap/DroidAtScreen1/SlackBuild deleted file mode 100755 index 20235c9a..00000000 --- a/UNUSED/xap/DroidAtScreen1/SlackBuild +++ /dev/null @@ -1,84 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) - -BUILD=1 - -ARCH=java -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG -mkdir -p $TMP - -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone https://github.com/ribomation/DroidAtScreen1.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -# Preparation -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -mvn package - -# Installation -VERSION=$(ls target/droidAtScreen-*.jar | grep -o "[0-9.]*.jar" | sed 's|.jar||g') - - mkdir -p $PKG$PREFIX/doc/$PRGNAM $PKG$PREFIX/{bin/,libexec/} - mv target/droidAtScreen-$VERSION.jar $PKG$PREFIX/libexec/ - mv README.md $PKG$PREFIX/doc/$PRGNAM - cat < $PKG$PREFIX/bin/$PRGNAM -#!/bin/sh -java -jar $PREFIX/libexec/droidAtScreen-$VERSION.jar -EOF - -chown -R root:root $PKG -find $PKG -type f -exec chmod 644 {} \; -chmod +x $PKG$PREFIX/bin/* - -# Packaging -cd $PKG -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (Show the screen of a real Android device on a PC) -$PRGNAM: -$PRGNAM: Droid@Screen is a stand-alone Java program that show the device screen of -$PRGNAM: an Android phone at a computer. It's typically used for demo and training. -$PRGNAM: -$PRGNAM: (requires Java) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://blog.ribomation.com/droid-at-screen/ -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/xap/OmegaT/SlackBuild b/UNUSED/xap/OmegaT/SlackBuild deleted file mode 100755 index cea42167..00000000 --- a/UNUSED/xap/OmegaT/SlackBuild +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh -# - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=2.2.3_04_Beta_Without_JRE -RELEASE="2.2.3%20update%204" -ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -rm -rf $PKG -mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT - -cd $PKG/opt/$PRGNAM - -[ ! -e $CWD/OmegaT_$VERSION.zip ] && \ - wget -c "http://downloads.sourceforge.net/project/omegat/OmegaT%20-%20Latest/OmegaT%20$RELEASE/OmegaT_$VERSION.zip" \ - -O $CWD/OmegaT_$VERSION.zip -unzip $CWD/OmegaT_$VERSION.zip - -mkdir -p $PKG/usr/bin -cat < $PKG/usr/bin/$PRGNAM -#!/bin/sh -cd /opt/$PRGNAM/ -./$PRGNAM $* -EOF - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (The free (GPL) translation memory tool) -$PRGNAM: -$PRGNAM: OmegaT is a free translation memory application written in Java. It is -$PRGNAM: a tool intended for professional translators. It does not translate for you! -$PRGNAM: (Software that does this is called "machine translation", and you will have -$PRGNAM: to look elsewhere for it.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://omegat.org/ -$PRGNAM: -EOF - -cd $PKG -chown -R root:root . -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; - -chmod 755 $PKG/opt/$PRGNAM/$PRGNAM $PKG/usr/bin/* - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} - diff --git a/UNUSED/xap/aqemu/SlackBuild b/UNUSED/xap/aqemu/SlackBuild deleted file mode 100755 index db5adff4..00000000 --- a/UNUSED/xap/aqemu/SlackBuild +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -BRANCH=master -VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -SLCKFLAGS="" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -SRC_PATH=$REPOSITORIES/$PRGNAM -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - SRC_PATH=. - cd $TMP/$PRGNAM-$VERSION -else - if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone git://aqemu.git.sourceforge.net/gitroot/aqemu/aqemu $REPOSITORIES/$PRGNAM - else - ( cd $REPOSITORIES/$REPO_NAME - git pull - ) - fi - rm -fr $TMP/$PRGNAM-$VERSION - mkdir -p $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION -fi - -sed -i "s|/usr/local|$PREFIX|g" main.cpp - -# configuration -cmake \ - -DPREFIX=$PREFIX \ - -DCMAKE_INSTALL_PREFIX=$PREFIX \ - -DSYSCONFDIR=/etc \ - -DMAN_PAGE_COMPRESSOR=gzip \ - $SRC_PATH - - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install PREFIX=$PREFIX DESTDIR=$PKG - -# 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 -( cd $PKG - 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 (Graphic frontend for qemu) -$PRGNAM: -$PRGNAM: AQEMU is GUI to QEMU and KVM emulators, written in Qt4. The program have -$PRGNAM: user-friendly interface and allows to set up the majority of QEMU and KVM -$PRGNAM: options. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://aqemu.sourceforge.net/ -$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 -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/arandr/SlackBuild b/UNUSED/xap/arandr/SlackBuild deleted file mode 100755 index 66552893..00000000 --- a/UNUSED/xap/arandr/SlackBuild +++ /dev/null @@ -1,61 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=hg$(date +%Y.%m.%d_%H.%M) -BUILD=1 - - -ARCH=$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORIES=$HOME/projets/packages/repositories - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -( cd $TMP - if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - else - if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone git://anonscm.debian.org/arandr/arandr.git $REPOSITORIES/$PRGNAM - else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - fi - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - fi -) - -( cd $TMP/$PRGNAM-$VERSION - python setup.py install --root $PKG - - mv $PKG/usr/share/man $PKG/usr - - mkdir -p $PKG/install - cat < $PKG/install -$PRGNAM: $PRGNAM (Another XRandR GUI) -$PRGNAM: -$PRGNAM: Provide a simple visual front end for XRandR 1.2+. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://christian.amsuess.com/tools/arandr/ -EOF -) - -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/xap/bgs/SlackBuild b/UNUSED/xap/bgs/SlackBuild deleted file mode 100755 index 250f6faf..00000000 --- a/UNUSED/xap/bgs/SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone https://github.com/Gottox/bgs $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -else - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi - -cd $TMP/$PRGNAM-$VERSION - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG PREFIX=$PREFIX MANPREFIX=$PREFIX/man - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (simple background setter based on imlib2) -$PRGNAM: -$PRGNAM: bgs is an extremely fast and small background setter for X. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/Gottox/bgs -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/chromium/SlackBuild b/UNUSED/xap/chromium/SlackBuild deleted file mode 100755 index d6a5a24c..00000000 --- a/UNUSED/xap/chromium/SlackBuild +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/sh -# -# Slackware build script for Google Chrome - -# Copyright 2009-2010 Erik Hanson, Minneapolis, MN, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Adapted by Gwenhael Le Moine for Chromium snapshot - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=snapshot -REVISION=${REVISION:-} -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -# Just in case: -case "$ARCH" in - i?86) REL="chromium-rel-linux" ; LIBDIRSUFFIX="" ; ARCH=i386 ;; - x86_64) REL="chromium-rel-linux-64" ; LIBDIRSUFFIX="64" ;; - arm*) REL="chromium-rel-arm"; LIBDIRSUFFIX="" ; ARCH=arm ;; -esac - -#set -eu - -rm -rf $PKG -mkdir -p $TMP $PKG/opt $OUTPUT - -cd $PKG/opt -if [ "x$REVISION" == "x" ]; then -#get latest revision number - [ -e ./LATEST ] && rm ./LATEST - wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST - REVISION=$(cat ./LATEST) - rm ./LATEST] -fi -VERSION=${VERSION}_$REVISION - -#get chromium -[ -e chrome-linux.zip ] && rm chrome-linux.zip -wget -c http://build.chromium.org/buildbot/snapshots/$REL/$REVISION/chrome-linux.zip -unzip ./chrome-linux.zip && rm ./chrome-linux.zip - -cd .. - -# We need bits of Moz, do this as dynamically as possible: -MISSING_LIBS=$(ldd opt/chrome-linux/chrome | grep "not found" | cut -d\ -f1 | xargs) -for MLIB in $MISSING_LIBS ; do - ln -s /usr/lib${LIBDIRSUFFIX}/seamonkey/${MLIB%.?d} opt/chrome-linux/$MLIB -done - -mkdir -p $PKG/usr/man/man1/ -mv $PKG/opt/chrome-linux/chrome.1 $PKG/usr/man/man1/ -gzip -9 $PKG/usr/man/man?/*.? - -mkdir -p $PKG/usr/bin -cat < $PKG/usr/bin/$PRGNAM -#!/bin/sh -cd /opt/chrome-linux/ -LD_LIBRARY_PATH=/opt/chrome-linux/:\$LD_LIBRARY_PATH ./chrome --proxy-server="socks://localhost:9050" \$* -EOF - -# ( cd $PKG/usr/bin/ -# ln -s $PRGNAM chrome -# ln -s $PRGNAM google-chrome -# ) - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Web browser) -$PRGNAM: -$PRGNAM: Chromium is an open-source browser project that aims to build a safer, -$PRGNAM: faster, and more stable way for all users to experience the web. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://chromium.org -$PRGNAM: -EOF - -cd $PKG -chown -R root:root . -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; - -chmod 755 $PKG/opt/chrome-linux/{chrome,chrome_sandbox,xdg-settings,chrome-wrapper} $PKG/usr/bin/* -chmod +s $PKG/opt/chrome-linux/chrome_sandbox - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} - diff --git a/UNUSED/xap/comix/SlackBuild b/UNUSED/xap/comix/SlackBuild deleted file mode 100755 index 4b34f7fa..00000000 --- a/UNUSED/xap/comix/SlackBuild +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -# Slackware build script for comix -# Written by Brian Reichert - -PRGNAM=comix -VERSION=4.0.4 -ARCH=noarch -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -rm -rf $PKG -mkdir -p $TMP $PKG/usr $OUTPUT -cd $TMP || exit 1 -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -python install.py install --dir $PKG/usr --no-mime #--no-balloon || exit 1 - -# Correct manpage location -mv $PKG/usr/share/man $PKG/usr - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -comix: Comix (GTK Comic Book Viewer) -comix: -comix: Comix is a user-friendly, customizable image viewer. It is -comix: specifically designed to handle comic books, but also serves as a -comix: generic viewer. It reads images in ZIP, RAR or tar archives (also -comix: gzip or bzip2 compressed) as well as plain image files. It is -comix: written in Python and uses GTK+ through the PyGTK bindings. -comix: -comix: Homepage: http://comix.sourceforge.net -comix: -comix: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/UNUSED/xap/conkeror/SlackBuild b/UNUSED/xap/conkeror/SlackBuild deleted file mode 100755 index 7025779e..00000000 --- a/UNUSED/xap/conkeror/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=git_$(date +%Y.%m.%d_%H.%M) -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -if [ -e $REPOSITORIES/$PRGNAM ] ; then - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -else - git clone http://repo.or.cz/r/conkeror.git $REPOSITORIES/$PRGNAM -fi - -rm -fr $PKG - -mkdir -p $PKG$PREFIX/libexec/ -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/libexec/ -cd $PKG$PREFIX/libexec/$PRGNAM -make conkeror-spawn-helper -rm -fr .git .gitignore - -mkdir -p $PKG$PREFIX/bin -cd $PKG$PREFIX/bin -ln -s ../libexec/$PRGNAM/conkeror-spawn-helper conkeror-spawn-helper - -# "Firefox 3 and later ships with a private XULRunner package, which can run any compatible XULRunner application using the -app switch." -- https://developer.mozilla.org/en-US/docs/XULRunner -cat < $PKG$PREFIX/bin/conkeror -#!/bin/sh -exec /usr/bin/firefox -app $PREFIX/libexec/$PRGNAM/application.ini "\$@" -EOF -chmod 755 $PKG$PREFIX/bin/conkeror - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cd $PKG$PREFIX/doc/$PRGNAM -for d in COPYING CREDITS INSTALL help ; do - ln -s ../../libexec/$PRGNAM/$d $d -done - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Web browser) -$PRGNAM: -$PRGNAM: Conkeror is a keyboard-oriented, highly-customizable, highly-extensible -$PRGNAM: web browser based on Mozilla XULRunner, written mainly in JavaScript, and -$PRGNAM: inspired by exceptional software such as Emacs and vi. Conkeror features -$PRGNAM: a sophisticated keyboard system, allowing users to run commands and interact -$PRGNAM: with content in powerful and novel ways. It is self-documenting, featuring a -$PRGNAM: powerful interactive help system. -$PRGNAM: -$PRGNAM: http://conkeror.org/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/eviacam/SlackBuild b/UNUSED/xap/eviacam/SlackBuild deleted file mode 100755 index f7d3f178..00000000 --- a/UNUSED/xap/eviacam/SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - - - -TAG=gwh -TMP=${TMP:-/tmp/$TAG} - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -VERSION=git$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -REPOSITORIES=/home/installs/SlackBuilds/repositories - -NUMJOBS=${NUMJOBS:-" -j2 "} - -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone git://eviacam.git.sourceforge.net/gitroot/eviacam/eviacam $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi - -cd $TMP -[ -e $PRGNAM-$VERSION ] && rm -rf $PRGNAM-$VERSION -rsync -HPa --exclude .git\* $REPOSITORIES/$PRGNAM . -mv $PRGNAM $PRGNAM-$VERSION -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM \ - --build=$ARCH-slackware-linux - -make $NUMJOBS || make || exit 1 -make install DESTDIR=$PKG || exit 1 - -mv $PKG/usr/share/man $PKG/usr/ -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -a \ - ABOUT-NLS AGRAIMENTS.txt AUTHORS COPYING ChangeLog INSTALL NEWS README README.ca \ - THANKS TODO doc/ \ - $PKG/usr/doc/$PRGNAM - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (a cross-platform webcam based mouse emulator) -$PRGNAM: -$PRGNAM: Enable Viacam (aka eViacam) is a mouse replacement software that moves the -$PRGNAM: pointer as you move your head. It works on standard PCs equipped with a web -$PRGNAM: camera. No additional hardware is required. Based on the award winning Facial -$PRGNAM: Mouse software.Enable Viacam (aka eViacam) is a mouse replacement software that -$PRGNAM: moves the pointer as you move your head. It works on standard PCs equipped with a -$PRGNAM: web camera. No additional hardware is required. Based on the award winning Facial -$PRGNAM: Mouse software. -$PRGNAM: -$PRGNAM: http://viacam.org -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/flashplayer-plugin.sh b/UNUSED/xap/flashplayer-plugin.sh deleted file mode 100755 index 503ebd24..00000000 --- a/UNUSED/xap/flashplayer-plugin.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -cp -a /home/installs/mirrors/slackware64-current/extra/flashplayer-plugin/ /tmp/ -( cd /tmp/flashplayer-plugin - ./flashplayer-plugin.SlackBuild -) -rm -r /tmp/flashplayer-plugin - -upgradepkg --install-new --reinstall /tmp/flashplayer-plugin-*.txz -/root/clean-tmp.sh diff --git a/UNUSED/xap/fslint/SlackBuild b/UNUSED/xap/fslint/SlackBuild deleted file mode 100755 index ac3cdf60..00000000 --- a/UNUSED/xap/fslint/SlackBuild +++ /dev/null @@ -1,68 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=svn$(date +%Y.%m.%d_%H.%M) -BUILD=1 - - -ARCH=$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORIES=$HOME/projets/packages/repositories - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -mkdir -p $PKG/usr/libexec/ - -# Put files in place -cd $PKG/usr/libexec/ -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - svn co http://fslint.googlecode.com/svn/trunk/ $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - svn update - ) -fi -cp -R $REPOSITORIES/$PRGNAM . -cd $PRGNAM/po - -make - -# Install -mkdir $PKG/usr/bin -cat < $PKG/usr/bin/$PRGNAM -#!/bin/sh - -cd $PKG/usr/libexec/$PRGNAM -./fslint-gui -EOF -chmod +x $PKG/usr/bin/$PRGNAM - -find $PKG/usr/libexec/$PRGNAM -type d -name \.svn -print0 | xargs -0 rm -fr - -mkdir -p $PKG/install -cat < $PKG/install -$PRGNAM: $PRGNAM (filesystem utility) -$PRGNAM: -$PRGNAM: FSlint is a utility to find and clean various forms of lint on a filesystem. -$PRGNAM: I.E. unwanted or problematic cruft in your files or file names. -$PRGNAM: For example, one form of lint it finds is duplicate files. -$PRGNAM: It has both GUI and command line modes. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.pixelbeat.org/fslint/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/fvkbd/SlackBuild b/UNUSED/xap/fvkbd/SlackBuild deleted file mode 100755 index 94543a5f..00000000 --- a/UNUSED/xap/fvkbd/SlackBuild +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=master_$(date +"%Y.%m.%d_%H.%M") - -BUILD=1 - -ARCH=$(uname -m) -#LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - if [ ! -e $REPOSITORIES/$PRGNAM ] ; then - mkdir -p $REPOSITORIES - cd $REPOSITORIES - git clone git://gitorious.org/fvkbd/fvkbd.git $PRGNAM - fi - - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - - # [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - # wget -c http://www.complang.tuwien.ac.at/forth/gforth/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz - # tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - - sed -i "s|lib/|lib$LIBSUFFIX/|g" $(grep -l "lib/" * -r) - [ ! -e configure ] && ./autogen.sh - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --sysconfdir=/etc \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --libexecdir=$PREFIX/libexec -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -( cd $TMP/$PRGNAM-$VERSION - make install DESTDIR=$PKG - - mkdir -p $PKG$PREFIX/doc/$PRGNAM - cp -R AUTHORS BUGS COPYING* ChangeLog INSTALL* NEWS* README* TAGS ToDo $PKG$PREFIX/doc/$PRGNAM -) - -# Cleaning -( cd $PKG - 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 - - find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - - cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Virtual keyboard) -$PRGNAM: -$PRGNAM: Fvkbd is a free and flexible Virtual Keyboard aims to provide fancy UI -$PRGNAM: and easy to config layouts. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://gitorious.org/fvkbd -$PRGNAM: -EOF - - makepkg -l n -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/xap/gimp-git/SlackBuild b/UNUSED/xap/gimp-git/SlackBuild deleted file mode 100755 index 2ccd30a6..00000000 --- a/UNUSED/xap/gimp-git/SlackBuild +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/sh - -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -VERSION=git$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-x86_64} -BUILD=${BUILD:-1gwh} - -NUMJOBS=${NUMJOBS:-" -j3 "} - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-gimp -REPOSITORIES=/home/installs/SlackBuilds/repositories - -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -cd $TMP -rm -rf gimp-$VERSION -( cd $REPOSITORIES/gimp - git pull -) -cp -R $REPOSITORIES/gimp gimp-$VERSION -cd gimp-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -./autogen.sh \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/gimp-$VERSION \ - --disable-static \ - --enable-gimp-remote \ - --without-gvfs \ - --with-libcurl \ - --build=$ARCH-slackware-linux - -make $NUMJOBS || make || exit 1 -mkdir -p $PKG/usr/share/applications $PKG/usr/share/application-registry -make install DESTDIR=$PKG || exit 1 - -( cd $PKG/usr/bin - ln -s gimp-remote-2.? gimp-remote - ln -s gimp-console-2.? gimp-console - ln -s gimp-2.? gimp - ln -s gimptool-2.? gimptool -) - -# Add a manpage symlink for POLA-compliance -( cd $PKG/usr/man/man1 ; ln -sf gimptool-2.?.1 gimptool.1 ) - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) - -mkdir -p $PKG/usr/doc/gimp-$VERSION -cp -a \ - AUTHORS COPYING HACKING INSTALL LICENSE NEWS README* docs/Wilber* \ - $PKG/usr/doc/gimp-$VERSION -( cd $PKG/usr/doc/gimp-$VERSION - for i in \ - libgimp libgimpbase libgimpcolor libgimpconfig libgimpmath \ - libgimpmodule libgimpthumb libgimpwidgets ; do \ - ln -s /usr/share/gtk-doc/html/$i $i-html ; - done -) - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/gimp-$VERSION-$ARCH-$BUILD.txz - diff --git a/UNUSED/xap/gimp-git/slack-desc b/UNUSED/xap/gimp-git/slack-desc deleted file mode 100644 index 9f9aca38..00000000 --- a/UNUSED/xap/gimp-git/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -gimp: gimp (The GNU Image Manipulation Program) -gimp: -gimp: The GIMP is a powerful tool for the preparation and manipulation of -gimp: digital images. The GIMP provides the user with a wide variety of -gimp: image manipulation, painting, processing, and rendering tools. The -gimp: GIMP's open design and extensible architecture make for a very -gimp: powerful end product for photo and image retouching, web graphics -gimp: design, or digital illustration. -gimp: -gimp: -gimp: diff --git a/UNUSED/xap/gnash/SlackBuild b/UNUSED/xap/gnash/SlackBuild deleted file mode 100755 index b6917d74..00000000 --- a/UNUSED/xap/gnash/SlackBuild +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=git$(date +%Y.%m.%d_%H.%M) -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1gwh} -REPOSITORIES=/home/installs/SlackBuilds/repositories - -NUMJOBS=${NUMJOBS:-" -j2 "} - -rm -rf $PKG -mkdir -p $TMP $PKG - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone git://git.sv.gnu.org/gnash.git $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi - -cd $TMP -[ -e $PRGNAM-$VERSION ] && rm -rf $PRGNAM-$VERSION -rsync -HPa --exclude .git\* $REPOSITORIES/$PRGNAM . -mv $PRGNAM $PRGNAM-$VERSION -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -./autogen.sh - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --enable-gui=gtk \ - --enable-write \ - --enable-ssh \ - --enable-ssl \ - --enable-doublebuf \ - --enable-offscreen \ - --enable-hwaccel=vaapi \ - --with-plugins-install=system \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --mandir=/usr/man \ - --infodir=/usr/info \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make $NUMJOBS || make || exit 1 -make install install-plugins DESTDIR=$PKG || exit 1 - -mv $PKG/usr/share/man $PKG/usr/ -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog-0.8.0 ChangeLog-0.8.1 ChangeLog-0.8.2 \ - ChangeLog-0.8.3 ChangeLog-0.8.4 ChangeLog-0.8.5 ChangeLog-0.8.6 ChangeLog-0.8.7 \ - ChangeLog-0.8.8 ChangeLog.gameswf INSTALL NEWS README README.dump-gnash README.git \ - README_bzr TODO doc/ \ - $PKG/usr/doc/$PRGNAM-$VERSION - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (GNU SWF movie player) -$PRGNAM: -$PRGNAM: Gnash is the GNU SWF movie player, which can be run standalone on the desktop -$PRGNAM: or an embedded device, as well as as a plugin for several browsers. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.gnashdev.org/ -$PRGNAM: [needs agg from SBo] -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.txz - diff --git a/UNUSED/xap/goldendict/SlackBuild b/UNUSED/xap/goldendict/SlackBuild deleted file mode 100755 index 1e055767..00000000 --- a/UNUSED/xap/goldendict/SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM="goldendict" -VERSION="1.0.1" -BUILD=1 - - -ARCH=$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -mkdir $TMP -mkdir $TMP/$PRGNAM-$VERSION -cp $PRGNAM-$VERSION-src.tar.bz2 $TMP/$PRGNAM-$VERSION -cp *.patch $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -bzip2 -cd $PRGNAM-$VERSION-src.tar.bz2 | tar xvf - -patch < processwrapper.cc.patch -cp qtlocalpeer.cpp.patch qtsingleapplication/src -(cd qtsingleapplication/src && patch < qtlocalpeer.cpp.patch) - -qmake -sed -i 's|usr/local|usr|g' Makefile -make -make install INSTALL_ROOT=$PKG - -mkdir -p $PKG/install -cat < $PKG/install -$PRGNAM: $PRGNAM (dictionary lookup program) -$PRGNAM: -$PRGNAM: A feature-rich dictionary lookup program, supporting multiple dictionary -$PRGNAM: formats (StarDict/Babylon/Lingvo/Dictd) and online dictionaries, featuring -$PRGNAM: perfect article rendering with the complete markup, illustrations and other -$PRGNAM: content retained, and allowing you to type in words without any accents or -$PRGNAM: correct case. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://goldendict.org/ -$PRGNAM: -EOF - - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/xap/goldendict/processwrapper.cc.patch b/UNUSED/xap/goldendict/processwrapper.cc.patch deleted file mode 100644 index daaaecae..00000000 --- a/UNUSED/xap/goldendict/processwrapper.cc.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- goldendict-1.0.1-src/processwrapper.cc 2010-12-04 00:12:46.000000000 +0300 -+++ goldendict-1.0.1-src.new/processwrapper.cc 2015-06-22 18:53:56.087395804 +0300 -@@ -94,6 +94,9 @@ - - #else - -+#include -+#include -+ - unsigned int ProcessWrapper::currentProcessId() - { - return getpid(); diff --git a/UNUSED/xap/goldendict/qtlocalpeer.cpp.patch b/UNUSED/xap/goldendict/qtlocalpeer.cpp.patch deleted file mode 100644 index deea8b93..00000000 --- a/UNUSED/xap/goldendict/qtlocalpeer.cpp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- goldendict-1.0.1-src/qtsingleapplication/src/qtlocalpeer.cpp 2010-12-04 00:12:46.000000000 +0300 -+++ goldendict-1.0.1-src.new/qtsingleapplication/src/qtlocalpeer.cpp 2015-06-22 19:01:35.233399706 +0300 -@@ -50,6 +50,8 @@ - #endif - #if defined(Q_OS_UNIX) - #include -+#include -+#include - #endif - - namespace QtLP_Private { diff --git a/UNUSED/xap/google-musicmanager/SlackBuild b/UNUSED/xap/google-musicmanager/SlackBuild deleted file mode 100755 index bb74d919..00000000 --- a/UNUSED/xap/google-musicmanager/SlackBuild +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh - -# Slackware build script for google-musicmanager - -# Modified by Gwenhael Le Moine -# Written by Steven Pledger -# Based on google-chrome.SlackBuild from Slackware - -# Copyright 2009-2010 Erik Hanson, Minneapolis, MN, USA -# Copyright 2011 Patrick J. Volkerding, Sebeka, MN, USA -# Copyright 2011 Steven Pledger, Vacaville, CA, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=google-musicmanager -RELEASE=${RELEASE:-beta} # stable, beta, or unstable - -CWD=$(pwd) -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -case "$(uname -m)" in - i?86) DEBARCH="i386" ; LIBDIRSUFFIX="" ; ARCH=i386 ;; - x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;; - *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;; -esac - -[ ! -e $CWD/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb ] && wget -c http://dl.google.com/linux/direct/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb -O $CWD/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb - -VERSION=$(ar p $CWD/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb control.tar.gz 2> /dev/null | tar zxO ./control 2> /dev/null | grep Version | awk '{print $2}' | cut -d- -f1) - -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $PKG -ar p $CWD/$PRGNAM-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Make sure top-level perms are correct: -chmod 0755 . - -# The cron job is for Debian/Ubuntu only: -rm -rf etc - -# Nothing in here -rm -rf usr/share/man - -# Install a .desktop launcher: -sed -i -e "s#Icon=google-musicmanager#Icon=/opt/google/musicmanager/product_logo_128.png#" \ - $PKG/opt/google/musicmanager/google-musicmanager.desktop -mkdir -p $PKG/usr/share/applications -ln -s /opt/google/musicmanager/google-musicmanager.desktop \ - $PKG/usr/share/applications/google-musicmanager.desktop - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/SlackBuild - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -google-musicmanager: google-musicmanager (Music uploader for Google Music) -google-musicmanager: -google-musicmanager: Google MusicManager is a simple application for adding music files -google-musicmanager: to your Google Music library. -google-musicmanager: -google-musicmanager: Homepage: http://music.google.com/ -google-musicmanager: -google-musicmanager: -google-musicmanager: -google-musicmanager: -google-musicmanager: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD${TAG}.${PKGTYPE:-txz} diff --git a/UNUSED/xap/gorilla/SlackBuild b/UNUSED/xap/gorilla/SlackBuild deleted file mode 100755 index 71cd5241..00000000 --- a/UNUSED/xap/gorilla/SlackBuild +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -e - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -ARCH=noarch #$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -PREFIX=/usr - -REPOSITORIES=/home/installs/SlackBuilds/repositories/ - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $TMP -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -cd $TMP -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone https://github.com/zdia/gorilla.git $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - -cd $TMP/$PRGNAM-$VERSION - -# don't hardcode version -sed -i 's|tclsh8.5|tclsh|g' $(ag -l tclsh8\\\.5) - -mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM,libexec} -mv sources $PKG$PREFIX/libexec/$PRGNAM -( cd $PKG$PREFIX/bin - ln -s ..//libexec/$PRGNAM/gorilla.tcl $PRGNAM -) -mv * $PKG$PREFIX/doc/$PRGNAM - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (passwordsafe compatible graphical manager) -$PRGNAM: -$PRGNAM: Password Gorilla manages passwords -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/zdia/gorilla -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/guile-wm/SlackBuild b/UNUSED/xap/guile-wm/SlackBuild deleted file mode 100755 index 39f916a9..00000000 --- a/UNUSED/xap/guile-wm/SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -# variables -VERSION=$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone https://github.com/mwitmer/guile-wm.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info -make -make install DESTDIR=$PKG - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv $PKG$PREFIX/share/wm-init-sample.scm $PKG$PREFIX/doc/$PRGNAM/ - -mkdir -p $PKG/etc/X11/xinit/ -cp $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/ -chmod +x $PKG/etc/X11/xinit/xinitrc.$PRGNAM - -# correction -cd $PKG -chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -# Compress info pages if they exist (and remove the dir file) -if [ -d $PKG/usr/info ]; then - gzip -9 $PKG/usr/info/*.info - rm -f $PKG/usr/info/dir -fi - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A Window Manager Toolkit for Guile Scheme) -$PRGNAM: -$PRGNAM: Guile-WM is a framework for creating an X window manager (or any other -$PRGNAM: X application, really) and a set of useful modules designed for that -$PRGNAM: purpose. Users are encouraged to pick and choose from ones presently -$PRGNAM: available and contribute their own as well! -$PRGNAM: Guile-WM relies /heavily/ on its user init file. In fact, it won't do -$PRGNAM: anything on its own without one. The intention is to provide something -$PRGNAM: 100% configurable. -$PRGNAM: -$PRGNAM: https://github.com/mwitmer/guile-wm -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/guile-wm/xinitrc.guile-wm b/UNUSED/xap/guile-wm/xinitrc.guile-wm deleted file mode 100755 index 7388ab3f..00000000 --- a/UNUSED/xap/guile-wm/xinitrc.guile-wm +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ - -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -# merge in defaults and keymaps -[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources -[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap -[ -f $userresources ] && /usr/bin/xrdb -merge $userresources -[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap - -if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then - eval $(dbus-launch --sh-syntax --exit-with-session) -fi - -# Start the window manager: -if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then - exec ck-launch-session /usr/bin/guile-wm -else - exec /usr/bin/guile-wm -fi diff --git a/UNUSED/xap/heimdall/SlackBuild b/UNUSED/xap/heimdall/SlackBuild deleted file mode 100755 index e79e9736..00000000 --- a/UNUSED/xap/heimdall/SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone git://github.com/Benjamin-Dobell/Heimdall.git $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM -cd $TMP/$PRGNAM - -cd libpit -./autogen.sh -./configure --prefix=/usr -make - -cd ../heimdall -./autogen.sh -./configure --prefix=/usr -make -make install DESTDIR=$PKG - -cd ../heimdall-frontend/ -qmake heimdall-frontend.pro -make -cd ../Linux/ - -cp heimdall-frontend $PKG$PREFIX/bin/ - -mkdir -p $PKG$PREFIX/doc/$PRGNAM/ -cp README $PKG$PREFIX/doc/$PRGNAM/ - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -# Strip binaries -( cd $PKG - 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 (Samsung Galaxy Note tool) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/Benjamin-Dobell/Heimdall -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/hptalx/SlackBuild b/UNUSED/xap/hptalx/SlackBuild deleted file mode 100755 index 5b683f7f..00000000 --- a/UNUSED/xap/hptalx/SlackBuild +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=hptalx -PKG=$TMP/pkg-$PRGNAM - -VERSION=1.3.1a - -EXT=tar.bz2 - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=x86_64 -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -tar xf $CWD/$PRGNAM-$VERSION.$EXT -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib64 - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (one line description here) -$PRGNAM: -$PRGNAM: More verbose description here, usually from the README file. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/i3blocks-contrib/SlackBuild b/UNUSED/xap/i3blocks-contrib/SlackBuild deleted file mode 100755 index 7313d911..00000000 --- a/UNUSED/xap/i3blocks-contrib/SlackBuild +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -PREFIX=/usr - -[ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/vivien/i3blocks-contrib $REPOSITORIES/$PRGNAM -( cd $REPOSITORIES/$PRGNAM - git pull -) -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# nettoyage préalable -rm -fr $PKG - -mkdir -p $PKG$PREFIX/libexec/ - -# installation -cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/libexec/ -cd $PKG$PREFIX/libexec/$PRGNAM/ -rm .gitignore -rm -fr .git - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv *.md *.adoc config.example $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Official repository for community contributed blocklets) -$PRGNAM: -$PRGNAM: This repository contains a set of scripts (a.k.a. blocklets) for i3blocks, -$PRGNAM: contributed by the community. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/vivien/i3blocks-contrib -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/key-mon/SlackBuild b/UNUSED/xap/key-mon/SlackBuild deleted file mode 100755 index 0b471770..00000000 --- a/UNUSED/xap/key-mon/SlackBuild +++ /dev/null @@ -1,59 +0,0 @@ - #!/bin/sh - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=hg$(date +%Y.%m.%d_%H.%M) -BUILD=1 - - -ARCH=$(uname -m) - -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORIES=$HOME/projets/packages/repositories - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -( cd $TMP - if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - else - if [ ! -e $REPOSITORIES/$PRGNAM ]; then - hg clone https://$PRGNAM.googlecode.com/hg/ $REPOSITORIES/$PRGNAM - else - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) - fi - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - fi -) - -( cd $TMP/$PRGNAM-$VERSION - python setup.py install --root $PKG - - mkdir -p $PKG/install - cat < $PKG/install -$PRGNAM: $PRGNAM (Keyboard monitor) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/key-mon/ -EOF -) - -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/xap/matchbox-keyboard/SlackBuild b/UNUSED/xap/matchbox-keyboard/SlackBuild deleted file mode 100755 index 7ae19b02..00000000 --- a/UNUSED/xap/matchbox-keyboard/SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=matchbox-keyboard -PKG=$TMP/pkg-$PRGNAM - -VERSION=0.1 - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=$(uname -m) -BUILD=1 - - -PREFIX=/usr - -case $ARCH in - x86_64) - SLCKFLAGS="-fPIC -O2" - ;; - *) - SLCKFLAGS="-O2" -esac - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) \ - --enable-cairo \ - --enable-examples - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (on-screen keyboard) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://matchbox-project.org/ -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/mozilla-firefox-nightly/SlackBuild b/UNUSED/xap/mozilla-firefox-nightly/SlackBuild deleted file mode 100755 index 9ebbbdd8..00000000 --- a/UNUSED/xap/mozilla-firefox-nightly/SlackBuild +++ /dev/null @@ -1,110 +0,0 @@ -#!/bin/sh - -KEEP_TAR=${KEEP_TAR:-"NO"} - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-mozilla-firefox - -# This is not a source build script. Rather, it builds a Slackware -# package from the official binary tarball available from mozilla.org. -# Using the official binaries seems like the most direct way to satify -# the Mozilla project's concerns about quality control (and thus to -# provide the most quality-certified package possible), and therefore -# be able to use the official trademarks and logos. -# -# Thanks to the folks at the Mozilla Foundation for permission to -# distribute this, and for all the great work! :-) - -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -BRANCH=${BRANCH:=latest-mozilla-central} -TIMESTAMP=$(date +%F | tr - .) - -if [ $KEEP_TAR == "YES" ]; then - [ -e firefox-*.en-US.linux-x86_64.tar.bz2 ] && for f in firefox-*.en-US.linux-x86_64.tar.bz2 ; do mv $f $f.orig ; done -else - [ -e firefox-*.en-US.linux-x86_64.tar.bz2 ] && rm firefox-*.en-US.linux-x86_64.tar.bz2 -fi -WHICH_TAR=$(lftp http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/$BRANCH/ -e "cls --date *.en-US.linux-x86_64.tar.bz2 ; quit" | awk '{print $4}' | sort | tail -n1) -wget -c http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/$BRANCH/$WHICH_TAR || exit -1 - -VERSION=$(ls -ut firefox-*.tar.bz2 | head -n1 | cut -d - -f 2 | sed 's|.en||') - -LIBSUFFIX=$(echo "$ARCH" | grep -o "64") - -mkdir -p $TMP - -rm -rf $PKG -mkdir -p $PKG/usr/lib$LIBSUFFIX -( cd $PKG/usr/lib$LIBSUFFIX - tar xf $CWD/firefox-$VERSION.en-US.linux-$ARCH.tar.bz2 || exit 1 - mv firefox firefox-$VERSION - ln -sf firefox-$VERSION firefox - cd firefox-$VERSION - sed -i -e "s/usr\/local/usr/" firefox - rm -f defaults/pref/firefox.js.orig - ln -s ../mozilla/plugins -) || exit 1 -if [ ! "/usr/lib$LIBSUFFIX" == "/usr/lib" ]; then - mkdir -p $PKG/usr/lib - ( cd $PKG/usr/lib - ln -s ../lib$LIBSUFFIX/mozilla mozilla - ) -fi - -mkdir -p $PKG/usr/bin -( cd $PKG/usr/bin - ln -sf /usr/lib$LIBSUFFIX/firefox-$VERSION/firefox . -) -mkdir -p $PKG/usr/lib$LIBSUFFIX/mozilla/plugins -mkdir -p $PKG/usr/share/applications -cat $CWD/mozilla-firefox.desktop > $PKG/usr/share/applications/mozilla-firefox.desktop -mkdir -p $PKG/usr/share/pixmaps -cat $CWD/firefox.png > $PKG/usr/share/pixmaps/firefox.png - -# These files/directories are usually created if Firefox is run as root, which on many -# systems might (and possibly should) be never. Therefore, if we don't see them we'll -# put stubs in place to prevent startup errors. -( cd $PKG/usr/lib$LIBSUFFIX/firefox-$VERSION - if [ -d extensions/talkback\@mozilla.org ]; then - if [ ! -r extensions/talkback\@mozilla.org/chrome.manifest ]; then - echo > extensions/talkback\@mozilla.org/chrome.manifest - fi - fi - if [ ! -d updates ]; then - mkdir -p updates/0 - fi -) - -mkdir $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser) -mozilla-firefox: -mozilla-firefox: This project is a redesign of the Mozilla browser component written -mozilla-firefox: using the XUL user interface language. Firefox empowers you to -mozilla-firefox: browse faster, more safely and more efficiently than with any other -mozilla-firefox: browser. -mozilla-firefox: -mozilla-firefox: Visit the Mozilla Firefox project online: -mozilla-firefox: http://www.mozilla.org/projects/firefox/ -mozilla-firefox: -mozilla-firefox: -EOF - -#VERSION=$(echo $BRANCH | sed 's|latest-mozilla-||g')_${VERSION} - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/mozilla-firefox-${VERSION}_$TIMESTAMP-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/mozilla-firefox-nightly/mozilla-firefox.desktop b/UNUSED/xap/mozilla-firefox-nightly/mozilla-firefox.desktop deleted file mode 100644 index 23be26f3..00000000 --- a/UNUSED/xap/mozilla-firefox-nightly/mozilla-firefox.desktop +++ /dev/null @@ -1,80 +0,0 @@ -[Desktop Entry] -Exec=firefox %u -Icon=firefox -Type=Application -Categories=Network; -Name=Firefox -Name[bn]=ফায়ারফকà§à¦¸ -Name[eo]=Mozilo Fajrovulpo -Name[fi]=Mozilla Firefox -Name[pa]=ਫਾਇਰਫੋਕਸ -Name[tg]=Đ Ó¯Đ±Đ¾̉³Đ¸ Đ¾Ñ‚Đ°ÑˆĐ¸Đ½ -GenericName=Web Browser -GenericName[af]=Web Blaaier -GenericName[ar]=متصÙØ­ ÙˆÙب -GenericName[az]=Veb SÉ™yyahı -GenericName[bg]=Đ‘Ñ€Đ°ÑƒĐ·ÑÑ€ -GenericName[bn]=ওয়েব বà§à¦°à¦¾à¦‰à¦œà¦¾à¦° -GenericName[br]=Furcher ar Gwiad -GenericName[bs]=WWW Preglednik -GenericName[ca]=Fullejador web -GenericName[cs]=WWW prohlĂ­Å¾eÄ -GenericName[cy]=Porydd Gwe -GenericName[da]=Browser -GenericName[de]=Web-Browser -GenericName[el]=ΠεÏιηγητής Î™ÏƒÏ„Î¿Ï -GenericName[eo]=TTT-legilo -GenericName[es]=Navegador web -GenericName[et]=Veebilehitseja -GenericName[eu]=Web arakatzailea -GenericName[fa]=مرورگر وب -GenericName[fi]=WWW-selain -GenericName[fo]=AlnĂ³tsfar -GenericName[fr]=Navigateur web -GenericName[gl]=Navegador Web -GenericName[he]=דפדפן ×ינטרנט -GenericName[hi]=वेब बà¥à¤°à¤¾à¤‰à¤œà¤¼à¤° -GenericName[hr]=Web preglednik -GenericName[hu]=WebböngĂ©szÅ‘ -GenericName[is]=Vafri -GenericName[it]=Browser Web -GenericName[ja]=ă‚¦ă‚§ăƒ–ăƒ–ăƒ©ă‚¦ă‚¶ -GenericName[ko]=́›¹ 브ë¼́°́ € -GenericName[lo]=ເວັàºàºàº£àº²àº§à»€àºàºµ -GenericName[lt]=Žiniatinklio narÅ¡yklÄ— -GenericName[lv]=Web PÄrlÅ«ks -GenericName[mk]=ĐŸÑ€ĐµĐ»Đ¸ÑÑ‚ÑƒĐ²Đ°Ñ‡ Đ½Đ° Đ˜Đ½Ñ‚ĐµÑ€Đ½ĐµÑ‚ -GenericName[mn]=Веб-Đ¥Ó©Ñ‚Ó©Ñ‡ -GenericName[nb]=Nettleser -GenericName[nds]=Nettkieker -GenericName[nl]=Webbrowser -GenericName[nn]=Nettlesar -GenericName[nso]=Seinyakisi sa Web -GenericName[pa]=ਵੈਬ à¨à¨²à¨•à¨¾à¨°à¨¾ -GenericName[pl]=PrzeglÄ…darka WWW -GenericName[pt]=Navegador Web -GenericName[pt_BR]=Navegador Web -GenericName[ro]=Navigator de web -GenericName[ru]=Веб-Đ±Ñ€Đ°ÑƒĐ·ĐµÑ€ -GenericName[se]=FierpmĂ¡datlogan -GenericName[sk]=WebovĂ½ prehliadaÄ -GenericName[sl]=Spletni brskalnik -GenericName[sr]=Веб Đ¿Ñ€ĐµÑ‚Ñ€Đ°Đ¶Đ¸Đ²Đ°Ñ‡ -GenericName[sr@Latn]=Veb pretraživaÄ -GenericName[ss]=Ibrawuza yeWeb -GenericName[sv]=Webbläsare -GenericName[ta]=வலை உலாவி -GenericName[tg]=Đ¢Đ°Ñ„ÑĐ¸Ñ€Đ³Đ°Ñ€Đ¸ Đ²Ñб -GenericName[th]=เว็à¸à¸à¸£à¸²à¸§à¹€à¸‹à¸­à¸£à¹Œ -GenericName[tr]=Web Tarayıcı -GenericName[uk]=ĐĐ°Đ²Ñ–Đ³Đ°Ñ‚Đ¾Ñ€ Đ¢ĐµĐ½ĐµÑ‚ -GenericName[uz]=Веб-Đ±Ñ€Đ°ÑƒĐ·ĐµÑ€ -GenericName[ven]=Buronza ya Webu -GenericName[vi]=Trình duyệt Web -GenericName[wa]=Betchteu waibe -GenericName[xh]=Umkhangeli zincwadi we Web -GenericName[zh_CN]=网页æµè§ˆå™¨ -GenericName[zh_TW]=網é ç€è¦½å™¨ -GenericName[zu]=Umcingi we-Web -MimeType=text/html; -X-KDE-StartupNotify=true diff --git a/UNUSED/xap/mozilla-firefox-stable/SlackBuild b/UNUSED/xap/mozilla-firefox-stable/SlackBuild deleted file mode 100755 index b70dc5fa..00000000 --- a/UNUSED/xap/mozilla-firefox-stable/SlackBuild +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/sh - -KEEP_TAR=${KEEP_TAR:-"NO"} - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-mozilla-firefox - -# This is not a source build script. Rather, it builds a Slackware -# package from the official binary tarball available from mozilla.org. -# Using the official binaries seems like the most direct way to satify -# the Mozilla project's concerns about quality control (and thus to -# provide the most quality-certified package possible), and therefore -# be able to use the official trademarks and logos. -# -# Thanks to the folks at the Mozilla Foundation for permission to -# distribute this, and for all the great work! :-) - -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -VERSION=$(ls -ut firefox-*.tar.bz2 | head -n1 | cut -d - -f 2 | sed 's|.tar.bz2||') - -LIBSUFFIX=$(echo "$ARCH" | grep -o "64") - -if [ ! -d $TMP ]; then - mkdir -p $TMP -fi -rm -rf $PKG -mkdir -p $PKG/usr/lib$LIBSUFFIX -( cd $PKG/usr/lib$LIBSUFFIX - tar xf $CWD/firefox-$VERSION.tar.bz2 || exit 1 - mv firefox firefox-$VERSION - ln -sf firefox-$VERSION firefox - cd firefox-$VERSION - sed -i -e "s/usr\/local/usr/" firefox - rm -f defaults/pref/firefox.js.orig - ln -s ../mozilla/plugins -) || exit 1 -mkdir -p $PKG/usr/bin -( cd $PKG/usr/bin - ln -sf /usr/lib$LIBSUFFIX/firefox-$VERSION/firefox . -) -mkdir -p $PKG/usr/lib$LIBSUFFIX/mozilla/plugins -mkdir -p $PKG/usr/share/applications -cat $CWD/mozilla-firefox.desktop > $PKG/usr/share/applications/mozilla-firefox.desktop -mkdir -p $PKG/usr/share/pixmaps -cat $CWD/firefox.png > $PKG/usr/share/pixmaps/firefox.png - -# These files/directories are usually created if Firefox is run as root, which on many -# systems might (and possibly should) be never. Therefore, if we don't see them we'll -# put stubs in place to prevent startup errors. -( cd $PKG/usr/lib$LIBSUFFIX/firefox-$VERSION - if [ -d extensions/talkback\@mozilla.org ]; then - if [ ! -r extensions/talkback\@mozilla.org/chrome.manifest ]; then - echo > extensions/talkback\@mozilla.org/chrome.manifest - fi - fi - if [ ! -d updates ]; then - mkdir -p updates/0 - fi -) - -mkdir $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser) -mozilla-firefox: -mozilla-firefox: This project is a redesign of the Mozilla browser component written -mozilla-firefox: using the XUL user interface language. Firefox empowers you to -mozilla-firefox: browse faster, more safely and more efficiently than with any other -mozilla-firefox: browser. -mozilla-firefox: -mozilla-firefox: Visit the Mozilla Firefox project online: -mozilla-firefox: http://www.mozilla.org/projects/firefox/ -mozilla-firefox: -mozilla-firefox: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/mozilla-firefox-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/mozilla-firefox-stable/mozilla-firefox.desktop b/UNUSED/xap/mozilla-firefox-stable/mozilla-firefox.desktop deleted file mode 100644 index 23be26f3..00000000 --- a/UNUSED/xap/mozilla-firefox-stable/mozilla-firefox.desktop +++ /dev/null @@ -1,80 +0,0 @@ -[Desktop Entry] -Exec=firefox %u -Icon=firefox -Type=Application -Categories=Network; -Name=Firefox -Name[bn]=ফায়ারফকà§à¦¸ -Name[eo]=Mozilo Fajrovulpo -Name[fi]=Mozilla Firefox -Name[pa]=ਫਾਇਰਫੋਕਸ -Name[tg]=Đ Ó¯Đ±Đ¾̉³Đ¸ Đ¾Ñ‚Đ°ÑˆĐ¸Đ½ -GenericName=Web Browser -GenericName[af]=Web Blaaier -GenericName[ar]=متصÙØ­ ÙˆÙب -GenericName[az]=Veb SÉ™yyahı -GenericName[bg]=Đ‘Ñ€Đ°ÑƒĐ·ÑÑ€ -GenericName[bn]=ওয়েব বà§à¦°à¦¾à¦‰à¦œà¦¾à¦° -GenericName[br]=Furcher ar Gwiad -GenericName[bs]=WWW Preglednik -GenericName[ca]=Fullejador web -GenericName[cs]=WWW prohlĂ­Å¾eÄ -GenericName[cy]=Porydd Gwe -GenericName[da]=Browser -GenericName[de]=Web-Browser -GenericName[el]=ΠεÏιηγητής Î™ÏƒÏ„Î¿Ï -GenericName[eo]=TTT-legilo -GenericName[es]=Navegador web -GenericName[et]=Veebilehitseja -GenericName[eu]=Web arakatzailea -GenericName[fa]=مرورگر وب -GenericName[fi]=WWW-selain -GenericName[fo]=AlnĂ³tsfar -GenericName[fr]=Navigateur web -GenericName[gl]=Navegador Web -GenericName[he]=דפדפן ×ינטרנט -GenericName[hi]=वेब बà¥à¤°à¤¾à¤‰à¤œà¤¼à¤° -GenericName[hr]=Web preglednik -GenericName[hu]=WebböngĂ©szÅ‘ -GenericName[is]=Vafri -GenericName[it]=Browser Web -GenericName[ja]=ă‚¦ă‚§ăƒ–ăƒ–ăƒ©ă‚¦ă‚¶ -GenericName[ko]=́›¹ 브ë¼́°́ € -GenericName[lo]=ເວັàºàºàº£àº²àº§à»€àºàºµ -GenericName[lt]=Žiniatinklio narÅ¡yklÄ— -GenericName[lv]=Web PÄrlÅ«ks -GenericName[mk]=ĐŸÑ€ĐµĐ»Đ¸ÑÑ‚ÑƒĐ²Đ°Ñ‡ Đ½Đ° Đ˜Đ½Ñ‚ĐµÑ€Đ½ĐµÑ‚ -GenericName[mn]=Веб-Đ¥Ó©Ñ‚Ó©Ñ‡ -GenericName[nb]=Nettleser -GenericName[nds]=Nettkieker -GenericName[nl]=Webbrowser -GenericName[nn]=Nettlesar -GenericName[nso]=Seinyakisi sa Web -GenericName[pa]=ਵੈਬ à¨à¨²à¨•à¨¾à¨°à¨¾ -GenericName[pl]=PrzeglÄ…darka WWW -GenericName[pt]=Navegador Web -GenericName[pt_BR]=Navegador Web -GenericName[ro]=Navigator de web -GenericName[ru]=Веб-Đ±Ñ€Đ°ÑƒĐ·ĐµÑ€ -GenericName[se]=FierpmĂ¡datlogan -GenericName[sk]=WebovĂ½ prehliadaÄ -GenericName[sl]=Spletni brskalnik -GenericName[sr]=Веб Đ¿Ñ€ĐµÑ‚Ñ€Đ°Đ¶Đ¸Đ²Đ°Ñ‡ -GenericName[sr@Latn]=Veb pretraživaÄ -GenericName[ss]=Ibrawuza yeWeb -GenericName[sv]=Webbläsare -GenericName[ta]=வலை உலாவி -GenericName[tg]=Đ¢Đ°Ñ„ÑĐ¸Ñ€Đ³Đ°Ñ€Đ¸ Đ²Ñб -GenericName[th]=เว็à¸à¸à¸£à¸²à¸§à¹€à¸‹à¸­à¸£à¹Œ -GenericName[tr]=Web Tarayıcı -GenericName[uk]=ĐĐ°Đ²Ñ–Đ³Đ°Ñ‚Đ¾Ñ€ Đ¢ĐµĐ½ĐµÑ‚ -GenericName[uz]=Веб-Đ±Ñ€Đ°ÑƒĐ·ĐµÑ€ -GenericName[ven]=Buronza ya Webu -GenericName[vi]=Trình duyệt Web -GenericName[wa]=Betchteu waibe -GenericName[xh]=Umkhangeli zincwadi we Web -GenericName[zh_CN]=网页æµè§ˆå™¨ -GenericName[zh_TW]=網é ç€è¦½å™¨ -GenericName[zu]=Umcingi we-Web -MimeType=text/html; -X-KDE-StartupNotify=true diff --git a/UNUSED/xap/mozilla-firefox/SlackBuild b/UNUSED/xap/mozilla-firefox/SlackBuild deleted file mode 100755 index 9d44f582..00000000 --- a/UNUSED/xap/mozilla-firefox/SlackBuild +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=${TMP:-/tmp} -PKG=$TMP/pkg-mozilla-firefox-central - -# This is not a source build script. Rather, it builds a Slackware -# package from the official binary tarball available from mozilla.org. -# Using the official binaries seems like the most direct way to satify -# the Mozilla project's concerns about quality control (and thus to -# provide the most quality-certified package possible), and therefore -# be able to use the official trademarks and logos. -# -# Thanks to the folks at the Mozilla Foundation for permission to -# distribute this, and for all the great work! :-) - -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -BRANCH=${BRANCH:=latest-mozilla-central} - -[ -e firefox-*.en-US.linux-x86_64.tar.bz2 ] && rm firefox-*.en-US.linux-x86_64.tar.bz2 -WHICH_TAR=$(lftp http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/$BRANCH/ -e "cls --date *.en-US.linux-x86_64.tar.bz2 ; quit" | awk '{print $4}' | sort | tail -n1) -wget -c http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/$BRANCH/$WHICH_TAR - -VERSION=$(ls -ut firefox-*.tar.bz2 | head -n1 | cut -d - -f 2 | sed 's|.en||') - -LIBSUFFIX=$(echo "$ARCH" | grep -o "64") - -if [ ! -d $TMP ]; then - mkdir -p $TMP -fi -rm -rf $PKG -mkdir -p $PKG/usr/lib$LIBSUFFIX -( cd $PKG/usr/lib$LIBSUFFIX - tar xf $CWD/firefox-$VERSION.en-US.linux-$ARCH.tar.bz2 || exit 1 - mv firefox firefox-$VERSION - ln -sf firefox-$VERSION firefox - cd firefox-$VERSION - sed -i -e "s/usr\/local/usr/" firefox - rm -f defaults/pref/firefox.js.orig - ln -s ../mozilla/plugins -) || exit 1 -mkdir -p $PKG/usr/bin -( cd $PKG/usr/bin - ln -sf /usr/lib$LIBSUFFIX/firefox-$VERSION/firefox . -) -mkdir -p $PKG/usr/lib$LIBSUFFIX/mozilla/plugins -mkdir -p $PKG/usr/share/applications -cat $CWD/mozilla-firefox.desktop > $PKG/usr/share/applications/mozilla-firefox.desktop -mkdir -p $PKG/usr/share/pixmaps -cat $CWD/firefox.png > $PKG/usr/share/pixmaps/firefox.png - -# These files/directories are usually created if Firefox is run as root, which on many -# systems might (and possibly should) be never. Therefore, if we don't see them we'll -# put stubs in place to prevent startup errors. -( cd $PKG/usr/lib$LIBSUFFIX/firefox-$VERSION - if [ -d extensions/talkback\@mozilla.org ]; then - if [ ! -r extensions/talkback\@mozilla.org/chrome.manifest ]; then - echo > extensions/talkback\@mozilla.org/chrome.manifest - fi - fi - if [ ! -d updates ]; then - mkdir -p updates/0 - fi -) - -mkdir $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' on -# the right side marks the last column you can put a character in. You must make -# exactly 11 lines for the formatting to be correct. It's also customary to -# leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser) -mozilla-firefox: -mozilla-firefox: This project is a redesign of the Mozilla browser component written -mozilla-firefox: using the XUL user interface language. Firefox empowers you to -mozilla-firefox: browse faster, more safely and more efficiently than with any other -mozilla-firefox: browser. -mozilla-firefox: -mozilla-firefox: Visit the Mozilla Firefox project online: -mozilla-firefox: http://www.mozilla.org/projects/firefox/ -mozilla-firefox: -mozilla-firefox: -EOF - -cd $PKG -VERSION=${VERSION}_$(cat $PKG/usr/lib$LIBSUFFIX/firefox/platform.ini | grep BuildID | cut -d= -f2) -/sbin/makepkg -l y -c n $OUTPUT/mozilla-firefox-central_$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/mozilla-firefox/firefox.moz_plugin_path.diff.gz b/UNUSED/xap/mozilla-firefox/firefox.moz_plugin_path.diff.gz deleted file mode 100644 index 4f10a6f0..00000000 Binary files a/UNUSED/xap/mozilla-firefox/firefox.moz_plugin_path.diff.gz and /dev/null differ diff --git a/UNUSED/xap/mozilla-firefox/mimeTypes.rdf.gz b/UNUSED/xap/mozilla-firefox/mimeTypes.rdf.gz deleted file mode 100644 index dcdc8837..00000000 Binary files a/UNUSED/xap/mozilla-firefox/mimeTypes.rdf.gz and /dev/null differ diff --git a/UNUSED/xap/mozilla-firefox/mozilla-firefox-mimeTypes-fix.diff.gz b/UNUSED/xap/mozilla-firefox/mozilla-firefox-mimeTypes-fix.diff.gz deleted file mode 100644 index 8b70833f..00000000 Binary files a/UNUSED/xap/mozilla-firefox/mozilla-firefox-mimeTypes-fix.diff.gz and /dev/null differ diff --git a/UNUSED/xap/mozilla-firefox/mozilla-firefox.desktop b/UNUSED/xap/mozilla-firefox/mozilla-firefox.desktop deleted file mode 100644 index 23be26f3..00000000 --- a/UNUSED/xap/mozilla-firefox/mozilla-firefox.desktop +++ /dev/null @@ -1,80 +0,0 @@ -[Desktop Entry] -Exec=firefox %u -Icon=firefox -Type=Application -Categories=Network; -Name=Firefox -Name[bn]=ফায়ারফকà§à¦¸ -Name[eo]=Mozilo Fajrovulpo -Name[fi]=Mozilla Firefox -Name[pa]=ਫਾਇਰਫੋਕਸ -Name[tg]=Đ Ó¯Đ±Đ¾̉³Đ¸ Đ¾Ñ‚Đ°ÑˆĐ¸Đ½ -GenericName=Web Browser -GenericName[af]=Web Blaaier -GenericName[ar]=متصÙØ­ ÙˆÙب -GenericName[az]=Veb SÉ™yyahı -GenericName[bg]=Đ‘Ñ€Đ°ÑƒĐ·ÑÑ€ -GenericName[bn]=ওয়েব বà§à¦°à¦¾à¦‰à¦œà¦¾à¦° -GenericName[br]=Furcher ar Gwiad -GenericName[bs]=WWW Preglednik -GenericName[ca]=Fullejador web -GenericName[cs]=WWW prohlĂ­Å¾eÄ -GenericName[cy]=Porydd Gwe -GenericName[da]=Browser -GenericName[de]=Web-Browser -GenericName[el]=ΠεÏιηγητής Î™ÏƒÏ„Î¿Ï -GenericName[eo]=TTT-legilo -GenericName[es]=Navegador web -GenericName[et]=Veebilehitseja -GenericName[eu]=Web arakatzailea -GenericName[fa]=مرورگر وب -GenericName[fi]=WWW-selain -GenericName[fo]=AlnĂ³tsfar -GenericName[fr]=Navigateur web -GenericName[gl]=Navegador Web -GenericName[he]=דפדפן ×ינטרנט -GenericName[hi]=वेब बà¥à¤°à¤¾à¤‰à¤œà¤¼à¤° -GenericName[hr]=Web preglednik -GenericName[hu]=WebböngĂ©szÅ‘ -GenericName[is]=Vafri -GenericName[it]=Browser Web -GenericName[ja]=ă‚¦ă‚§ăƒ–ăƒ–ăƒ©ă‚¦ă‚¶ -GenericName[ko]=́›¹ 브ë¼́°́ € -GenericName[lo]=ເວັàºàºàº£àº²àº§à»€àºàºµ -GenericName[lt]=Žiniatinklio narÅ¡yklÄ— -GenericName[lv]=Web PÄrlÅ«ks -GenericName[mk]=ĐŸÑ€ĐµĐ»Đ¸ÑÑ‚ÑƒĐ²Đ°Ñ‡ Đ½Đ° Đ˜Đ½Ñ‚ĐµÑ€Đ½ĐµÑ‚ -GenericName[mn]=Веб-Đ¥Ó©Ñ‚Ó©Ñ‡ -GenericName[nb]=Nettleser -GenericName[nds]=Nettkieker -GenericName[nl]=Webbrowser -GenericName[nn]=Nettlesar -GenericName[nso]=Seinyakisi sa Web -GenericName[pa]=ਵੈਬ à¨à¨²à¨•à¨¾à¨°à¨¾ -GenericName[pl]=PrzeglÄ…darka WWW -GenericName[pt]=Navegador Web -GenericName[pt_BR]=Navegador Web -GenericName[ro]=Navigator de web -GenericName[ru]=Веб-Đ±Ñ€Đ°ÑƒĐ·ĐµÑ€ -GenericName[se]=FierpmĂ¡datlogan -GenericName[sk]=WebovĂ½ prehliadaÄ -GenericName[sl]=Spletni brskalnik -GenericName[sr]=Веб Đ¿Ñ€ĐµÑ‚Ñ€Đ°Đ¶Đ¸Đ²Đ°Ñ‡ -GenericName[sr@Latn]=Veb pretraživaÄ -GenericName[ss]=Ibrawuza yeWeb -GenericName[sv]=Webbläsare -GenericName[ta]=வலை உலாவி -GenericName[tg]=Đ¢Đ°Ñ„ÑĐ¸Ñ€Đ³Đ°Ñ€Đ¸ Đ²Ñб -GenericName[th]=เว็à¸à¸à¸£à¸²à¸§à¹€à¸‹à¸­à¸£à¹Œ -GenericName[tr]=Web Tarayıcı -GenericName[uk]=ĐĐ°Đ²Ñ–Đ³Đ°Ñ‚Đ¾Ñ€ Đ¢ĐµĐ½ĐµÑ‚ -GenericName[uz]=Веб-Đ±Ñ€Đ°ÑƒĐ·ĐµÑ€ -GenericName[ven]=Buronza ya Webu -GenericName[vi]=Trình duyệt Web -GenericName[wa]=Betchteu waibe -GenericName[xh]=Umkhangeli zincwadi we Web -GenericName[zh_CN]=网页æµè§ˆå™¨ -GenericName[zh_TW]=網é ç€è¦½å™¨ -GenericName[zu]=Umcingi we-Web -MimeType=text/html; -X-KDE-StartupNotify=true diff --git a/UNUSED/xap/puddletag/SlackBuild b/UNUSED/xap/puddletag/SlackBuild deleted file mode 100755 index ec2ce007..00000000 --- a/UNUSED/xap/puddletag/SlackBuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -GIT_URL="https://github.com/keithgg/puddletag.git" -[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM -cd $TMP/$PRGNAM/source/ - -python ./setup.py build - -# installation -python ./setup.py install --root=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -R HACKING LICENSE MANIFEST NEWS README THANKS TODO changelog $PKG/usr/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Powerful, simple, audio tag editor for GNU/Linux) -$PRGNAM: -$PRGNAM: puddletag is an audio tag editor (primarily created) for GNU/Linux similar -$PRGNAM: to the Windows program, Mp3tag. Unlike most taggers for GNU/Linux, it uses -$PRGNAM: a spreadsheet-like layout so that all the tags you want to edit by hand -$PRGNAM: are visible and easily editable. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://docs.puddletag.net/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/qtile/SlackBuild b/UNUSED/xap/qtile/SlackBuild deleted file mode 100755 index 7914f15d..00000000 --- a/UNUSED/xap/qtile/SlackBuild +++ /dev/null @@ -1,64 +0,0 @@ - #!/bin/sh - -set -x - -PRGNAM=qtile -VERSION=git$(date +%Y.%m.%d_%H.%M) -BUILD=1 - - -ARCH=$(uname -m) - -CWD=$(pwd) -HOME=/home/gwh -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -REPOSITORIES=$HOME/projets/packages/repositories - -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -[ -e $TMP/$PRGNAM-$VERSION ] && rm -fr $TMP/$PRGNAM-$VERSION -[ -e $PKG ] && rm -fr $PKG - -( cd $TMP - if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - else - if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone http://github.com/cortesi/qtile.git - else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) - fi - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION - fi -) - -( cd $TMP/$PRGNAM-$VERSION - python setup.py install --root $PKG - - mkdir -p $PKG$PREFIX/doc/$PRGNAM-$VERSION - cp -R examples scripts doc-src contrib $PKG$PREFIX/doc/$PRGNAM-$VERSION - - mkdir -p $PKG/install - cat < $PKG/install -$PRGNAM: $PRGNAM -$PRGNAM: A full-featured, pure-Python tiling window manager. -$PRGNAM: * Simple, small and extensible. It's easy to write your own layouts, -$PRGNAM: widgets and commands. -$PRGNAM: * Configured in Python. -$PRGNAM: * Command shell that allows all aspects of Qtile to be managed and -$PRGNAM: inspected. -$PRGNAM: * Complete remote scriptability - write scripts to set up workspaces, -$PRGNAM: manipulate windows, update status bar widgets and more. -$PRGNAM: -$PRGNAM: http://www.qtile.org/ -EOF -) - -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/xap/sigil/SlackBuild b/UNUSED/xap/sigil/SlackBuild deleted file mode 100755 index dce0b584..00000000 --- a/UNUSED/xap/sigil/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - hg clone https://sigil.googlecode.com/hg/ $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) -fi - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -SRC_PATH=$REPOSITORIES/$PRGNAM -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* - SRC_PATH=. - cd $TMP/$PRGNAM-$VERSION -else - mkdir -p $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION -fi - -# configuration -cmake \ - -DCMAKE_INSTALL_PREFIX=$PREFIX \ - $SRC_PATH - - -# compilation -make -j3 - -# installation -make install DESTDIR=$PKG - - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (A WYSIWYG ebook editor.) -$PRGNAM: -$PRGNAM: Sigil is a multi-platform WYSIWYG ebook editor. It is designed to -$PRGNAM: edit books in ePub format. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/sigil/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/st/SlackBuild b/UNUSED/xap/st/SlackBuild deleted file mode 100755 index 44400586..00000000 --- a/UNUSED/xap/st/SlackBuild +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone git://git.suckless.org/st $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -else - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi - -# Getting official patches -mkdir -p $CWD/patches/ -cd $CWD/patches/ -wget -c https://st.suckless.org/patches/scrollback/st-scrollback-20170329-149c0d3.diff -wget -c https://st.suckless.org/patches/scrollback/st-scrollback-mouse-20170427-5a10aca.diff -wget -c https://st.suckless.org/patches/vertcenter/st-vertcenter-20170601-5a10aca.diff - -cd $TMP/$PRGNAM-$VERSION - -# configuration -for i in $(ls $CWD/patches); do - echo "Applying patch $i" - patch -p1 < $CWD/patches/$i -done -sed -i 's|Liberation Mono:pixelsize=12:antialias=true:autohint=true|Terminus:pixelsize=12:antialias=true:autohint=true|g' * - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG PREFIX=$PREFIX MANPREFIX=$PREFIX/man - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (st is a simple terminal implementation for X.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://st.suckless.org/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/subtle/SlackBuild b/UNUSED/xap/subtle/SlackBuild deleted file mode 100755 index 52e1b43a..00000000 --- a/UNUSED/xap/subtle/SlackBuild +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh - -WITH_SUBTLY="YES" - -CWD=$(pwd) -PRGNAM=$(basename $CWD) -VERSION=$(date +%Y.%m.%d_%H.%M) -BUILD=1 - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -ARCH=$(uname -m) - -REPOSITORIES=/home/installs/SlackBuilds/repositories -PREFIX=/usr - -[ -e $PKG ] && rm -fr $PKG - -function get_sources_here() { - COMPONENT=$1 - - [ -e ./$COMPONENT-$VERSION ] && rm -fr ./$COMPONENT-$VERSION - - if [ -e $CWD/$COMPONENT-$VERSION.tar.?z* ]; then - tar xf $CWD/$COMPONENT-$VERSION.tar.?z* - else - if [ ! -e $REPOSITORIES/$COMPONENT ]; then - hg clone http://hg.subtle.de/$COMPONENT $REPOSITORIES/$COMPONENT - else - ( cd $REPOSITORIES/$COMPONENT - hg pull -u - ) - fi - cp -R $REPOSITORIES/$COMPONENT ./$COMPONENT-$VERSION - fi -} - -function build_install() { - COMPONENT=$1 - - ( cd ./$COMPONENT-$VERSION - RAKE_OPTIONS=$([ ! -e ./Rakefile ] && echo " -f $REPOSITORIES/$COMPONENT/Rakefile ") - - rake $RAKE_OPTIONS destdir=$PKG prefix=$PREFIX config - - rake $RAKE_OPTIONS destdir=$PKG prefix=$PREFIX build - - rake $RAKE_OPTIONS destdir=$PKG prefix=$PREFIX install - ) - [ -e $PKG$PREFIX/share/man ] && cp -a $PKG$PREFIX/share/man $PKG$PREFIX && rm -fr $PKG$PREFIX/share/man - find $PKG$PREFIX/man -not -name "*.gz" -exec gzip -9 {} \; -} - -mkdir -p $TMP -cd $TMP -get_sources_here subtle -build_install subtle -get_sources_here sur -build_install sur -if [ $WITH_SUBTLY == "YES" ]; then - get_sources_here subtly - build_install subtly -fi - -mkdir -p $PKG$PREFIX/share/subtle/ -cd $PKG$PREFIX/share/subtle/ -get_sources_here subtle-contrib -mv subtle-contrib-$VERSION subtle-contrib -chmod +x subtle-contrib/*.rb - -get_sources_here sublets -mv sublets-$VERSION sublets -cd sublets -rake build - -install -D -m0755 -oroot $CWD/xinitrc.subtle $PKG/etc/X11/xinit/xinitrc.subtle -install -D -m0644 -oroot $CWD/subtle.desktop $PKG/usr/share/xsessions/subtle.desktop -install -D -m0644 -oroot $CWD/subtle.desktop $PKG/usr/share/apps/kdm/sessions/subtle.desktop - -find $PKG -name .hg\* -exec rm -fr {} \; - -cd $PKG -mkdir -p install -cat < install/slack-desc -$PRGNAM: $PRGNAM (is a grid-based manual tiling window manager) -$PRGNAM: with a strong focus on easy but customizable look and feel. In comparison to -$PRGNAM: other tiling windows managers, subtle has no automatic tiling of the screen -$PRGNAM: size in any way, instead windows are arranged according to positions inside -$PRGNAM: of a grid - these positions are called gravities. -$PRGNAM: http://subforge.org -$PRGNAM: ------- -$PRGNAM: includes sur (Subtle User Repository ("rubbygem-like" repository of sublets)) -$PRGNAM: includes subtly, a Web browser -$PRGNAM: required gems: -$PRGNAM: curb sinatra datamapper archive-tar-minitar ffi subtle-graph subtle-dynamic_icon -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/subtle/subtle.desktop b/UNUSED/xap/subtle/subtle.desktop deleted file mode 100644 index 94cdd5cb..00000000 --- a/UNUSED/xap/subtle/subtle.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=subtle -Comment=grid-based tiling window manager -Exec=/usr/bin/subtle -Type=XSession diff --git a/UNUSED/xap/subtle/xinitrc.subtle b/UNUSED/xap/subtle/xinitrc.subtle deleted file mode 100644 index 34111ff1..00000000 --- a/UNUSED/xap/subtle/xinitrc.subtle +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ - -userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap -sysresources=/etc/X11/xinit/.Xresources -sysmodmap=/etc/X11/xinit/.Xmodmap - -# merge in defaults and keymaps -[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources -[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap -[ -f $userresources ] && /usr/bin/xrdb -merge $userresources -[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap - -if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then - eval $(dbus-launch --sh-syntax --exit-with-session) -fi - -if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then - CK_LAUNCH_SESSION= ck-launch-session -else - CK_LAUNCH_SESSION= -fi -[ -x $HOME/.config/subtle/startup.sh ] \ - && exec $CK_LAUNCH_SESSION $HOME/.config/subtle/startup.sh \ - || exec $CK_LAUNCH_SESSION subtle diff --git a/UNUSED/xap/tabbed/SlackBuild b/UNUSED/xap/tabbed/SlackBuild deleted file mode 100755 index f9508a98..00000000 --- a/UNUSED/xap/tabbed/SlackBuild +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - hg clone http://hg.suckless.org/tabbed $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - hg pull -u - ) -fi - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -else - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi -cd $TMP/$PRGNAM-$VERSION - -# configuration - - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG PREFIX=$PREFIX MANPREFIX=$PREFIX/man - - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 () -$PRGNAM: -$PRGNAM: Simple generic tabbed fronted to xembed aware applications, originally -$PRGNAM: designed for surf but also usable with many other application, i.e. uzbl, -$PRGNAM: urxvt and xterm -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://tools.suckless.org/tabbed -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/termit/SlackBuild b/UNUSED/xap/termit/SlackBuild deleted file mode 100755 index 48c4a531..00000000 --- a/UNUSED/xap/termit/SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git_$(date +%Y.%m.%d_%H.%M) - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG -mkdir -p $TMP - -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone "https://github.com/nonstop/termit.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -# Preparation -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building - cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DLUA_LIBRARIES="/usr/lib64/liblua.a" - -# Installation - make install DESTDIR=$PKG - - mkdir -p $PKG$PREFIX/doc/$PRGNAM - mv $PKG$PREFIX/share/man mv $PKG$PREFIX/ - mv $PKG$PREFIX/share/doc/* $PKG$PREFIX/doc/$PRGNAM - rm -fr $PKG$PREFIX/share/doc - cp -a ChangeLog INSTALL COPYING TODO $PKG$PREFIX/doc/$PRGNAM -) - -# Cleaning -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root $PKG -find $PKG -type f -exec chmod 644 {} \; -chmod +x $PKG$PREFIX/bin/* - -# Packaging -cd $PKG -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (terminal emulator) -$PRGNAM: -$PRGNAM: terminal emulator based on VTE library with Lua scripting -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/nonstop/termit -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/xap/textroom/SlackBuild b/UNUSED/xap/textroom/SlackBuild deleted file mode 100755 index 02e7025a..00000000 --- a/UNUSED/xap/textroom/SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=textroom -PKG=$TMP/pkg-$PRGNAM - -VERSION=0.6.5 - -EXT=tar.gz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=x86_64 -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.$EXT ] && wget -c http://textroom.googlecode.com/files/$PRGNAM-$VERSION.$EXT -O $CWD/$PRGNAM-$VERSION.$EXT -tar xf $CWD/$PRGNAM-$VERSION.$EXT -cd $PRGNAM-$VERSION - -# configuration -sed -i "s|/usr/local/textroom/doc|/usr/doc/$PRGNAM-$VERSION|" textroom.pro -sed -i "s|usr/local|usr|g" textroom.pro -sed -i 's|lhunspell|lhunspell-1.2|g' textroom.pro -qmake - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install INSTALL_ROOT=$PKG -mv $PKG/root/.local/applications $PKG/usr/share/ -rm -fr $PKG/root -#no need for this -rm -f $PKG/usr/bin/textroom-uninstall - -# correction -cd $PKG -chown -R root:root * - -# mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -# cd $TMP/$PRGNAM-$VERSION -# cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (Anti-distraction text editor) -$PRGNAM: -$PRGNAM: TextRoom is a pretty basic full-screen text editor, heavily inspired -$PRGNAM: by similar text editors such as Q10, JDarkRoom and so on. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: see /usr/doc/$PRGNAM-$VERSION for more details -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/ulatencyd/SlackBuild b/UNUSED/xap/ulatencyd/SlackBuild deleted file mode 100755 index d250e567..00000000 --- a/UNUSED/xap/ulatencyd/SlackBuild +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=git_$(date +%Y.%m.%d_%H.%M) - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -PREFIX=/usr - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG -mkdir -p $TMP - -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone "https://github.com/poelzi/ulatencyd.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi - -# Preparation -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -cmake -DCMAKE_INSTALL_PREFIX=$PREFIX - -# Installation -make install DESTDIR=$PKG -chmod +x $PKG$PREFIX/sbin/ulatencyd - -# no use for this -rm -fr $PKG/lib - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -a AUTHORS COPYING ChangeLog NEWS README TODO docs/ $PKG$PREFIX/doc/$PRGNAM - -mkdir -p $PKG/etc/rc.d/ -cat $CWD/rc.ulatencyd.new > $PKG/etc/rc.d/rc.ulatencyd.new - -# Cleaning -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - -chown -R root:root $PKG -find $PKG -type f -exec chmod 644 {} \; -chmod +x $PKG$PREFIX/bin/* - -# Packaging -cd $PKG -mkdir install -cat < $PKG/install/doinst.sh -config() { - NEW="\$1" - OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r \$OLD ]; then - mv \$NEW \$OLD - elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then # toss the redundant copy - rm \$NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -config etc/rc.d/rc.ulatencyd.new -EOF -cat < install/slack-desc -$PRGNAM: $PRGNAM (CGroups managing daemon) -$PRGNAM: -$PRGNAM: Ulatency is a daemon that controls how the Linux kernel will spend it's -$PRGNAM: resources on the running processes. It uses dynamic cgroups to give the kernel -$PRGNAM: hints and limitations on processes. -$PRGNAM: -$PRGNAM: It strongly supports the lua scripting language for writing rules and the -$PRGNAM: scheduler code. -$PRGNAM: -$PRGNAM: https://github.com/poelzi/ulatencyd -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/xap/ulatencyd/rc.ulatencyd.new b/UNUSED/xap/ulatencyd/rc.ulatencyd.new deleted file mode 100755 index 82a9a6d9..00000000 --- a/UNUSED/xap/ulatencyd/rc.ulatencyd.new +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -start() { - if [ -f /var/run/ulatencyd.pid ]; then - echo "ulatencyd is already running" - exit 1 - elif [ -x /usr/sbin/ulatencyd ]; then - /usr/sbin/ulatencyd || exit $? - pidof Ulatencyd > /var/run/ulatencyd.pid - echo "ulatencyd Started" - fi -} - -stop() { - if [ -f /var/run/ulatencyd.pid ]; then - kill $(cat /var/run/ulatencyd.pid) || echo "Unable to stop ulatencyd" - rm -f /var/run/ulatencyd.pid - echo "ulatencyd Stopped" - else - echo "ulatencyd is not started" - fi -} - -status() { - if [ -f /var/run/ulatencyd.pid ]; then - echo "ulatencyd Running" - echo "PID: $(cat /var/run/ulatencyd.pid)" - else - echo "ulatencyd is not started" - fi -} - -case "$1" in - "start") - start - ;; - "stop") - stop - ;; - "status") - status - ;; - "restart") - stop - sleep 1 - start - ;; - *) - echo "$0 Usage: [start|stop|restart|status]" - ;; -esac diff --git a/UNUSED/xap/umplayer/SlackBuild b/UNUSED/xap/umplayer/SlackBuild deleted file mode 100755 index 18e638fc..00000000 --- a/UNUSED/xap/umplayer/SlackBuild +++ /dev/null @@ -1,121 +0,0 @@ -#!/bin/sh - -# Slackware build script for umplayer -# Copyright 2011 David Woodfall -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# adapted to my taste by me - -PRGNAM=umplayer -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} -BUILD=${BUILD:-1} -TAG=${TAG:-gwh} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/$TAG} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -if [ ! -e $REPOSITORY ]; then - svn co https://$PRGNAM.svn.sourceforge.net/svnroot/$PRGNAM $REPOSITORY -else - ( cd $REPOSITORY - svn update - ) -fi - -cp -R $REPOSITORY/$PRGNAM/trunk/ $TMP/$PRGNAM-$VERSION # their svn repository is strangelly laid out -cd $PRGNAM-$VERSION/ - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -sed -i 's|/local||g' Makefile -sed -i 's|share/man|man|g' Makefile - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changelog *.txt $PKG/usr/doc/$PRGNAM-$VERSION - -mkdir -p $PKG/install -cat < $PKG/install/doinst.sh -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi -EOF -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (mplayer frontend) -$PRGNAM: -$PRGNAM: $PRGNAM is the multimedia player that fills all your needs. With -$PRGNAM: dozens of advanced features and built-in codecs it can handle any -$PRGNAM: media format, and can play Audio CDs, DVDs, (S)VCDs, TV / Radio -$PRGNAM: cards, YouTubeâ„¢ and SHOUTcastâ„¢ streams and even incomplete or damaged -$PRGNAM: media files. -$PRGNAM: -$PRGNAM: -$PRGNAM: Homepage: http://www.$PRGNAM.com/ -$PRGNAM: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/UNUSED/xap/wings/SlackBuild b/UNUSED/xap/wings/SlackBuild deleted file mode 100755 index 77533247..00000000 --- a/UNUSED/xap/wings/SlackBuild +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=noarch - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG - -# mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/dgud/wings.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -mkdir -p $PKG/opt/ - -cp -R $REPOSITORY $PKG/opt/ -cd $PKG/opt/$PRGNAM - -ERL_LIBS=$PKG/opt/ make - -mkdir -p $PKG$PREFIX/bin -cat< $PKG$PREFIX/bin/$PRGNAM -#!/bin/sh -erl -pa /opt/$PRGNAM/ebin -run wings_start start_halt -EOF -chmod 0755 $PKG$PREFIX/bin/$PRGNAM - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -mv AUTHORS BUILD.unix BUILD.win32 CodingGuidelines OLD-NOTES README README-22.txt README.jp $PKG$PREFIX/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A polygon modeler) -$PRGNAM: -$PRGNAM: Wings 3D is an advanced subdivision modeler that is both powerful and -$PRGNAM: easy to use. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.wings3d.com/ -$PRGNAM: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/xchainkeys/SlackBuild b/UNUSED/xap/xchainkeys/SlackBuild deleted file mode 100755 index 8e0378b7..00000000 --- a/UNUSED/xap/xchainkeys/SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-0.9} - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://xchainkeys.googlecode.com/files/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$LIBSUFFIX \ - --libexecdir=$PREFIX/libexec \ - --docdir=$PREFIX/doc/$PRGNAM -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -( cd $TMP/$PRGNAM-$VERSION - make install install.TAGS DESTDIR=$PKG - - cp AUTHORS COPYING ChangeLog INSTALL NEWS $PKG$PREFIX/doc/$PRGNAM -) - -# Cleaning -( cd $PKG - 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 - - find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (chained keybindings for X11) -$PRGNAM: -$PRGNAM: xchainkeys is a standalone X11 program to create chained key bindings -$PRGNAM: similar to those found in the ratpoison window manager or the screen -$PRGNAM: terminal multiplexer. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://code.google.com/p/xchainkeys/ -$PRGNAM: -EOF - - makepkg -l n -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/xap/xdock/SlackBuild b/UNUSED/xap/xdock/SlackBuild deleted file mode 100755 index 758ae87a..00000000 --- a/UNUSED/xap/xdock/SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh -set -x - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=${VERSION:-0.3.0} - -BUILD=1 - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o 64) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# Cleaning -( cd $TMP - rm -fr $PRGNAM-$VERSION - rm -fr $PKG -) - -# Fetching sources -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://downloads.sourceforge.net/project/$PRGNAM/$PRGNAM/$VERSION/$PRGNAM-$VERSION.tar.gz/download -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -# Preparation -( cd $TMP/$PRGNAM-$VERSION - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Configuration -( cd $TMP/$PRGNAM-$VERSION - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$LIBSUFFIX \ - --libexecdir=$PREFIX/libexec \ - --docdir=$PREFIX/doc/$PRGNAM -) - -# Building -( cd $TMP/$PRGNAM-$VERSION - make -) - -# Installation -( cd $TMP/$PRGNAM-$VERSION - make install install.TAGS DESTDIR=$PKG - - cp A* C* H* INSTALL NEWS README TODO $PKG$PREFIX/doc/$PRGNAM -) - -# Cleaning -( cd $PKG - 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 - - find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; - - chown -R root:root . - find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; -) - -# Packaging -( cd $PKG - mkdir install - cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (WindowMaker dock-like) -$PRGNAM: -$PRGNAM: xdock is a software that emulates the Window Maker docks, -$PRGNAM: with the following differences: -$PRGNAM: * runs in any window manager -$PRGNAM: * client/server - it works in a client/server way, where a server sits in the -$PRGNAM: right side of the screen, and the docks are clients that connect to that server; -$PRGNAM: * easy to program - programming the Window Maker docks was a hard job. But -$PRGNAM: xdock provides a API that makes programming much easier! -$PRGNAM: -$PRGNAM: http://xdock.sourceforge.net/ -EOF - - makepkg -l n -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz -) - diff --git a/UNUSED/xap/xsel/SlackBuild b/UNUSED/xap/xsel/SlackBuild deleted file mode 100755 index 6ab81656..00000000 --- a/UNUSED/xap/xsel/SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) - -# default settings -PRGNAM=$(basename $CWD) -ARCH=$(uname -m) -VERSION=svn$(date +%F | sed 's/-//g') -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories -GZBZ2="bz2" - -DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO" - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $PKG -cd $TMP - -if [ -e $CWD/PRGNAM-$VERSION.tar.$GZBZ2 ] ; then - tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2 -else - svn co http://svn.kfish.org/xsel/trunk/ $REPOSITORIES/$PRGNAM - cp -R $REPOSITORIES/$PRGNAM $PRGNAM-$VERSION -fi -cd $PRGNAM-$VERSION - -./autogen.sh -LIBS=-lX11 ./configure \ - --libdir=/usr/lib$( [ $ARCH = "x86_64" ] && echo 64 ) \ - --mandir=/usr/man \ - --prefix=/usr - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/PRGNAM-$VERSION/ -cp $DOCS $PKG/usr/doc/PRGNAM-$VERSION/ - -cd $PKG - -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 -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -mkdir -p install -cat << EOF > install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -$PRGNAM: $PRGNAM (X selection manipulation tool) -$PRGNAM: -$PRGNAM: XSel is a command-line program for getting and setting the contents -$PRGNAM: of the X selection. Normally this is only accessible by manually -$PRGNAM: highlighting information and pasting it with the middle mouse button. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.vergenet.net/~conrad/software/xsel/ -$PRGNAM: -EOF - -chown -R root:root $PKG - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/xst/SlackBuild b/UNUSED/xap/xst/SlackBuild deleted file mode 100755 index 8dde900c..00000000 --- a/UNUSED/xap/xst/SlackBuild +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $(pwd)) -BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -REPOSITORIES=/home/installs/SlackBuilds/repositories - -DOCS="*.txt" - -PREFIX=/usr - -SLCKFLAGS="" - -if [ ! -e $REPOSITORIES/$PRGNAM ]; then - git clone https://github.com/neeasade/xst $REPOSITORIES/$PRGNAM -else - ( cd $REPOSITORIES/$PRGNAM - git pull - ) -fi -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -else - cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION -fi - -cd $TMP/$PRGNAM-$VERSION - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG PREFIX=$PREFIX MANPREFIX=$PREFIX/man - -# correction -cd $PKG -chown -R root:root * - -find $PKG -name \.hg\* -exec rm -fr {} \; - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -( cd $PKG - 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 (xst is an in progress st fork, a simple terminal implementation for X.) -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://github.com/neeasade/xst -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/zathura/SlackBuild b/UNUSED/xap/zathura/SlackBuild deleted file mode 100755 index 6379b487..00000000 --- a/UNUSED/xap/zathura/SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh - -# variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") -BUILD=1 - - -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -ARCH=$(uname -m) - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -PREFIX=/usr - -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - git clone git://pwmt.org/zathura.git $REPOSITORY -fi - -( cd $REPOSITORY - git pull -) - -cp -R $REPOSITORY $TMP/ -( cd $TMP/$PRGNAM - sed -i 's|girara-data|girara/data|g' *.h - sed -i 's|girara.h|girara/girara.h|g' *.h *.c - make - make install DESTDIR=$PKG MANPREFIX=$PREFIX/man -) - -# correction -( cd $PKG - chown -R root:root * - find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; -) - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (a PDF viewer) -$PRGNAM: -$PRGNAM: zathura is a highly customizable and functional PDF viewer based on the poppler -$PRGNAM: rendering library and the gtk+ toolkit. The idea behind zathura is an -$PRGNAM: application that provides a minimalistic and space saving interface as well as -$PRGNAM: an easy usage that mainly focuses on keyboard interaction. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://pwmt.org/zathura/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/y/digger/SlackBuild b/UNUSED/y/digger/SlackBuild deleted file mode 100755 index 0bcc062a..00000000 --- a/UNUSED/y/digger/SlackBuild +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -PRGNAM=digger -VERSION=${VERSION:-20020314} - -BUILD=${BUILD:-1} - -ARCH=$(uname -m) -LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/$TAG} -PKG=${PKG:-$TMP/pkg-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -PREFIX=${PREFIX:-/usr} - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION -rm -fr $PKG - -[ ! -e $TMP/ ] && mkdir -p $TMP - -# Fetching sources -cd $TMP -[ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://www.digger.org/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - -# Preparation -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Building -make -f Makefile.sdl - -# Installation -mkdir -p $PKG$PREFIX/games -cp $PRGNAM $PKG$PREFIX/games/ - -# Cleaning -cd $PKG -find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Packaging -mkdir install -cat < install/slack-desc -$PRGNAM: $PRGNAM (old-school game clone) -$PRGNAM: -$PRGNAM: From the original manual: -$PRGNAM: "Join the search for buried treasures of sparkling gold and emeralds. -$PRGNAM: With chomping front jaws, your motorized Digger Mobile puts you in the -$PRGNAM: driver's seat. Tunnel out free from mazes, outsmart the wide-eyed Nobbins -$PRGNAM: and race to collect precious gems. Count on your wits -- you'll need them!" -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.digger.org -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/y/eliot/SlackBuild b/UNUSED/y/eliot/SlackBuild deleted file mode 100755 index b817ab08..00000000 --- a/UNUSED/y/eliot/SlackBuild +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/sh - -# variables -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=2.0 -ARCH=$(uname -m) -BUILD=1 - - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr -DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING* INSTALL NEWS README THANKS TODO" - -SLCKFLAGS="-O2" -case $ARCH in - "x86_64") - SLCKFLAGS="$SLCKFLAGS -fPIC" - ;; - *) -esac - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -( cd $TMP - [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] && \ - wget -c http://dl.sv.nongnu.org/releases-noredirect/eliot/releases/$VERSION/$PRGNAM-$VERSION.tar.gz \ - -O $CWD/$PRGNAM-$VERSION.tar.gz - tar xf $CWD/$PRGNAM-$VERSION.tar.?z* -) - -( cd $TMP/$PRGNAM-$VERSION - # configuration - CCPFLAGS=$SLCKFLAGS \ - CFLAGS=$SLCKFLAGS \ - LIBS="-lncursesw" \ - LDFLAGS="-L$PREFIX/lib$(echo $ARCH | grep -o 64)" \ - ./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info \ - --libdir=$PREFIX/lib$(echo $ARCH | grep -o 64) \ - --enable-text - - # just close your eyes and let's pretend this doesn't exist - for m in qt/*.moc.cpp ; do - moc ${m%moc.cpp}h > $m ; - done - - # compilation - make -j3 PREFIX=$PREFIX - ( cd utils - make eliottxt - ) - - # installation - make install DESTDIR=$PKG - cp utils/eliottxt $PKG$PREFIX/bin/ - - # dictionaries - #note: ods5.dawg has been taken down from upstream due to legal requirement - DICOS="eliot-dic-fr.dawg twl06.dawg sowpods06.dawg" - mkdir -p $PKG$PREFIX/share/$PRGNAM - for d in $DICOS ; do - [ ! -e $CWD/$d ] && \ - wget -c http://dl.sv.nongnu.org/releases/eliot/dict/$d -O $CWD/$d - done - cp $CWD/*.dawg $PKG$PREFIX/share/$PRGNAM/ -) - -# correction -chown -R root:root $PKG/* - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -( cd $TMP/$PRGNAM-$VERSION - cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -) - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -# Strip binaries -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | 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 (Free Scrabble game) -$PRGNAM: -$PRGNAM: Eliot is an open source Scrabble game, freely available under the GNU GPL license. -$PRGNAM: -$PRGNAM: Dictionaries are installed in $PREFIX/share/$PRGNAM -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://www.nongnu.org/eliot/en/index.html -$PRGNAM: -EOF - -# empaquetage -( cd $PKG - makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d -)-$ARCH-$BUILD$TAG.txz -) diff --git a/UNUSED/y/gnugo/SlackBuild b/UNUSED/y/gnugo/SlackBuild deleted file mode 100755 index 244be7b5..00000000 --- a/UNUSED/y/gnugo/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=gnugo -PKG=$TMP/pkg-$PRGNAM - -VERSION=3.8 - -EXT=tar.gz - -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - -ARCH=x86_64 -BUILD=1 - - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION - -mkdir -p $PKG - -# mise en place -cd $TMP -tar xf $CWD/$PRGNAM-$VERSION.$EXT -cd $PRGNAM-$VERSION - -# configuration -CFLAGS=$SLCKFLAGS \ -CPPFLAGS=$SLCKFLAGS \ -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --infodir=$PREFIX/info - -# compilation -make -j3 PREFIX=$PREFIX - -# installation -make install DESTDIR=$PKG - -# correction -cd $PKG -chown -R root:root * - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION -cp -R $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && find $PKG/usr/info -type f -name "*.info*" -exec gzip -9f {} \; -[ -d $PKG/usr/info ] && rm $PKG/usr/info/dir{,.gz,.new} - -# Strip binaries -( cd $PKG - 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/doinst.sh -cd /usr/info -[ -e dir ] && rm dir -[ -e dir.gz ] && rm dir.gz -[ -e dir.new ] && rm dir.new -for file in \$(ls *.gz | grep -v ".*\-[0-9]\+\.gz") -do - install-info \$file ./dir -done -EOF -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (Go game) -$PRGNAM: -$PRGNAM: GNU Go is a free program that plays the game of Go. GNU Go has played -$PRGNAM: thousands of games on the NNGS Go server. GNU Go is now also playing -$PRGNAM: regularly on the Legend Go Server in Taiwan, on the WING server in Japan, -$PRGNAM: and many volunteers run GNU Go clients on KGS. GNU Go has established itself -$PRGNAM: as the leading non-commercial go program in the recent tournaments that it -$PRGNAM: has taken part in. -$PRGNAM: -$PRGNAM: http://www.gnu.org/software/gnugo/gnugo.html -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/y/moon-buggy/SlackBuild b/UNUSED/y/moon-buggy/SlackBuild deleted file mode 100755 index 71449e88..00000000 --- a/UNUSED/y/moon-buggy/SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -set -x - -WITH_SOUND=${WITH_SOUND:=YES} - -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -VERSION=1.0.51 - -BUILD=1 - -ARCH=$(uname -m) - -TAG=gwh -TMP=/tmp/$TAG -PKG=$TMP/pkg-$PRGNAM -OUTPUT=/tmp - -PREFIX=/usr - -# Cleaning -rm -fr $TMP/$PRGNAM-$VERSION $PKG -mkdir -p $TMP - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c http://seehuhn.de/media/programs/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -if [ "x$WITH_SOUND" == "xYES" ]; then - [ ! -e $CWD/$PRGNAM-sound-$VERSION.tar.gz ] && wget -c http://seehuhn.de/media/programs/$PRGNAM-sound-$VERSION.tar.gz -O $CWD/$PRGNAM-sound-$VERSION.tar.gz -fi -# Preparation -cd $TMP -tar xf $CWD/$PRGNAM-$VERSION.tar.gz -if [ "x$WITH_SOUND" == "xYES" ]; then - tar xf $CWD/$PRGNAM-sound-$VERSION.tar.gz -fi -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -if [ "x$WITH_SOUND" == "xYES" ]; then - patch -p1 -i sound.patch -fi - -./configure \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man - -make - -# Installation -make install DESTDIR=$PKG - -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp ANNOUNCE AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO $PKG$PREFIX/doc/$PRGNAM - -# Cleaning -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; -find $PKG$PREFIX/info -type f -name "*.info" -exec gzip -9 {} \; -rm $PKG$PREFIX/info/dir - -chown -R root:root $PKG -find $PKG -type f -exec chmod 644 {} \; -chmod +x $PKG$PREFIX/bin/* - -# Packaging -cd $PKG -mkdir install -cat < install/doinst.sh -#!/bin/sh -cd usr/info -install-info $PRGNAM.info.gz dir -EOF -cat < install/slack-desc -$PRGNAM: $PRGNAM (CLI Moon Buggy game) -$PRGNAM: -$PRGNAM: Moon-buggy is a simple character graphics game where you drive some kind -$PRGNAM: of car across the moon's surface. Unfortunately there are dangerous craters -$PRGNAM: there. Fortunately your car can jump over them! -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://seehuhn.de/pages/moon-buggy -$PRGNAM: -EOF - -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz - diff --git a/UNUSED/y/scribble/SlackBuild b/UNUSED/y/scribble/SlackBuild deleted file mode 100755 index fb7d1ca6..00000000 --- a/UNUSED/y/scribble/SlackBuild +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG - -PRGNAM=$(basename $CWD) -VERSION=1.11-1 -ARCH=${ARCH:-$(uname -m)} -BUILD=3 - -PKG=$TMP/pkg-$PRGNAM - -rm -rf $PKG $TMP/${PRGNAM}-${VERSION} - -cd $TMP - -[ ! -e $CWD/${PRGNAM}_${VERSION}.tar.gz ] && wget -c http://ftp.de.debian.org/debian/pool/main/s/scribble/${PRGNAM}_${VERSION}.tar.gz -O $CWD/${PRGNAM}_${VERSION}.tar.gz -tar xf $CWD/${PRGNAM}_${VERSION}.tar.gz -mv ${PRGNAM} ${PRGNAM}-${VERSION} -cd ${PRGNAM}-${VERSION} - -chown -R root.root * -find . -perm 777 -exec chmod 755 {} \; - -make prefix=$PKG/usr mandir=$PKG/usr/man - -# Racket also has a 'scribble' binary in /usr/bin -# Scribble's scribble is in /usr/games but Racket's steal its place in $PATH -( cd $PKG/usr/games/ - ln -s scribble scribble-scrabble -) -( cd $PKG/usr/man/man6/ - ln -s scribble.6.gz scribble-scrabble.6.gz -) - -# Compress the man page(s) -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -chmod -R o-w $PKG -chown -R root:root $PKG/* - -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -${PRGNAM}: ${PRGNAM} (CLI Popular crossword game, similar to Scrabble®) -${PRGNAM}: -${PRGNAM}: Scribble is a hybrid of crossword mentality, positional strategy, and -${PRGNAM}: a true test of your language mastery, similar to the game Scrabble® -${PRGNAM}: by Hasbro. You start with a board that serves for the placement for -${PRGNAM}: letter tiles. On the board there are specific squares that when used can -${PRGNAM}: add to your score dramatically. These premium squares can double or triple -${PRGNAM}: letter values. Some of these squares can even double or triple your word -${PRGNAM}: scores! You must position yourself to grab the squares and block your -${PRGNAM}: opponent from spelling out a "killer" word. -${PRGNAM}: http://packages.debian.org/unstable/games/scribble -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}$TAG.txz diff --git a/UNUSED/y/stormbaancoureur/SlackBuild b/UNUSED/y/stormbaancoureur/SlackBuild deleted file mode 100755 index b4bf36a9..00000000 --- a/UNUSED/y/stormbaancoureur/SlackBuild +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -CWD=$(pwd) -TAG=gwh -OUTPUT=/tmp -TMP=/tmp/$TAG - -PRGNAM=$(basename $CWD) -VERSION=2.1.6 -ARCH=${ARCH:-$(uname -m)} -BUILD=1 - -PKG=$TMP/pkg-$PRGNAM - -rm -rf $PKG $TMP/$PRGNAM-$VERSION - -cd $TMP - -[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c http://www.stolk.org/stormbaancoureur/download/$PRGNAM-$VERSION.tar.gz -O $CWD/$PRGNAM-$VERSION.tar.gz -tar xf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION - -chown -R root.root * -find . -perm 777 -exec chmod 755 {} \; - -cd src-stormbaancoureur -sed -i 's|$(ODEPREFIX)/$(LIBDIRNAME)/libode.a|-lode|g' Makefile -make LIBDIRNAME=lib$(echo $ARCH | grep -o 64) -make install DESTDIR=$PKG - -# Compress the man page(s) -[ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - -chmod -R o-w $PKG -chown -R root:root $PKG/* - -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -${PRGNAM}: ${PRGNAM} (Simulated Obstacle Course For Automobiles) -${PRGNAM}: -${PRGNAM}: Stormbaan Coureur is the Linux game that was formerly known as -${PRGNAM}: Sturmbahnfahrer. It is back with a larger track, more challenges, many -${PRGNAM}: improvements in a PC (Politically Correct) edition. In this game, it -${PRGNAM}: is all about the car Physics. If you want to master it, try to have -${PRGNAM}: the laws of physics work with you, not against you. -${PRGNAM}: -${PRGNAM}: -${PRGNAM}: http://www.stolk.org/stormbaancoureur/ -${PRGNAM}: -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-$(echo ${VERSION} | tr - _)-${ARCH}-${BUILD}$TAG.txz diff --git a/UNUSED/y/xscrabble/SlackBuild b/UNUSED/y/xscrabble/SlackBuild deleted file mode 100755 index 7e929537..00000000 --- a/UNUSED/y/xscrabble/SlackBuild +++ /dev/null @@ -1,155 +0,0 @@ -#!/bin/sh - -# Slackware build script for Xscrabble -# Written by Steven A. McIntosh (samac) (mcintosh@cotterochan.co.uk) -# Modified by Robby Workman -# Modified by Gwenhael Le Moine - -PRGNAM=xscrabble -VERSION=2.12 -ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -DEFAULT_LANG=${DEFAULT_LANG:-fr} - -CWD=$(pwd) -TAG=gwh -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -rm -fr $TMP/$PRGNAM $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION -chown -R root:root . -chmod 0755 . -chmod -R u+w,go+r-w,a-s . - -# The included "build" script isn't exactly ideal, so we'll do it ourselves -printf \ -"#define VERSION $(printf $VERSION|tr -d \.) -#define DICT_FILE \"/usr/share/games/scrabble/en/OSPD3.gz\" -#define SCORE_FILE \"/var/games/scrabble/en/scrabble_scores\" -#define RULES_FILE \"/usr/share/games/scrabble/en/scrabble_rules\"\n" \ - > src/config.h -xmkmf -a -make - -mkdir -p $PKG/usr/games -cp -a src/xscrab src/xscrabble $PKG/usr/games -chown root:games $PKG/usr/games/* -chmod 2755 $PKG/usr/games/* - -mkdir -p $PKG/var/games/scrabble/{en,fr} -chown -R root:games $PKG/var/games/scrabble -chmod -R 2775 $PKG/var/games/scrabble - -mkdir -p $PKG/etc/X11/app-defaults $PKG/usr/share/games/scrabble/{en,fr} - -install_english() { - tar xf $CWD/xscrabble_en.tar.bz2 - mv xscrabble_en/lib/* $PKG/usr/share/games/scrabble/en - rm -f $PKG/usr/share/games/scrabble/en/scrabble_scores - ( cd $PKG/usr/share/games/scrabble/en - ln -fs /var/games/scrabble/en/scrabble_scores . - ) - touch $PKG/var/games/scrabble/en/scrabble_scores.new - chmod 0664 $PKG/var/games/scrabble/en/scrabble_scores.new - mv xscrabble_en/app-defaults/XScrabble_en \ - $PKG/etc/X11/app-defaults/XScrabble_en - ( cd $PKG/etc/X11/app-defaults ; ln -fs XScrabble_en XScrabble ) -} -install_french() { - tar xf $CWD/xscrabble_fr.tar.bz2 - mv xscrabble_fr/lib/* $PKG/usr/share/games/scrabble/fr - rm -f $PKG/usr/share/games/scrabble/fr/scrabble_scores - ( cd $PKG/usr/share/games/scrabble/fr - ln -fs /var/games/scrabble/fr/scrabble_scores . - rm ODS4.gz && cp $CWD/ODS5.gz . - ) - touch $PKG/var/games/scrabble/fr/scrabble_scores.new - chmod 0664 $PKG/var/games/scrabble/fr/scrabble_scores.new - mv xscrabble_fr/app-defaults/XScrabble_fr \ - $PKG/etc/X11/app-defaults/XScrabble_fr - sed -i 's|ODS4|ODS5|g' $PKG/etc/X11/app-defaults/XScrabble_fr - ( cd $PKG/etc/X11/app-defaults ; ln -fs XScrabble_fr XScrabble ) -} - -if [ -e $CWD/xscrabble_en.tar.bz2 -a -e $CWD/xscrabble_fr.tar.bz2 ]; then - if [ "$DEFAULT_LANG" = "en" ]; then - install_french - install_english - else - install_english - install_french - fi -elif [ -e $CWD/xscrabble_fr.tar.bz2 ]; then - install_french -elif [ -e $CWD/xscrabble_en.tar.bz2 ]; then - install_english -else - printf "You need to have at least one language pack - get them here:\n" - printf "ftp://ftp.ac-grenoble.fr/ge/educational_games/xscrabble_en.tar.bz2\n" - printf "ftp://ftp.ac-grenoble.fr/ge/educational_games/xscrabble_fr.tar.bz2\n" - exit 1 -fi - -mkdir -p $PKG/usr/share/{applications,pixmaps} -cat < $PKG/usr/share/applications/$PRGNAM.desktop -[Desktop Entry] -Name=xscrabble -Comment=A Scrabble-like game -Exec=xscrabble -TryExec=xscrabble -Icon=xscrabble -Terminal=false -Type=Application -Categories=Game; -EOF -cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png - -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-----------------------------------------------------| -xscrabble: Xscrabble (X-based Scrabble Game) -xscrabble: -xscrabble: Xscrabble project is an internationalized version of the Xscrabble -xscrabble: program. It is an enhancement of Matt Chapman's original Xscrabble -xscrabble: which is a networked scrabble implementation for the X Window System. -xscrabble: Among other things, version 2 adds internationalization features. -xscrabble: English and French are currently supported (the dictionary -xscrabble: files should be downloaded separately from the main package). -xscrabble: -xscrabble: Homepage: ftp://ftp.ac-grenoble.fr/ge/educational_games/ -xscrabble: http://files.codes-sources.com/fichier.aspx?id=32452&f=ods5.txt -EOF - -cat < $PKG/install/doinst.sh -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -for i in en fr ; do - if [ -d var/games/scrabble/\$i ]; then - if [ ! -e var/games/scrabble/\$i/scrabble_scores ]; then - mv var/games/scrabble/\$i/scrabble_scores.new var/games/scrabble/\$i/scrabble_scores - else - rm -f var/games/scrabble/\$i/scrabble_scores.new - fi - fi -done -EOF - -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/UNUSED/y/xscrabble/get_ODS5.sh b/UNUSED/y/xscrabble/get_ODS5.sh deleted file mode 100755 index 876a5084..00000000 --- a/UNUSED/y/xscrabble/get_ODS5.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -######################################################################## -# This file is part of get_ODS5.sh. # -# get_ODS5.sh is free software; you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published # -# by the Free Software Foundation; either version 3 of the License, or # -# (at your option) any later version. # -# get_ODS5.sh is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License # -# along with get_ODS5.sh; if not, write to the Free Software # -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 # -# USA # -# Written and (c) by # -# Contact for comment & bug reports # -######################################################################## - -rm ODS5 ODS5.gz -wget -c http://www.madfix.com/ods/ods5.txt -for i in $(seq 2 15) ; do - echo "extraction des mots de $i lettres" - grep "^$(for j in $(seq 1 $i) ; do echo -n "." ; done)$" ods5.txt | sort >> ODS5 -done -gzip ODS5 diff --git a/UNUSED/y/xscrabble/xscrabble.png b/UNUSED/y/xscrabble/xscrabble.png deleted file mode 100644 index ee1ef869..00000000 Binary files a/UNUSED/y/xscrabble/xscrabble.png and /dev/null differ diff --git a/a/broadcom-bt-firmware/SlackBuild b/a/broadcom-bt-firmware/SlackBuild index 6ac34bc8..c7125205 100755 --- a/a/broadcom-bt-firmware/SlackBuild +++ b/a/broadcom-bt-firmware/SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) - +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,7 +24,7 @@ rm -fr $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/winterheart/broadcom-bt-firmware.git $REPOSITORY ( cd $REPOSITORY; git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION mkdir -p $PKG/lib/firmware/ cp -R $REPOSITORY/brcm/ $PKG/lib/firmware/ diff --git a/a/kernel-gwh/SlackBuild b/a/kernel-gwh/SlackBuild index 02c8ca52..213443b5 100755 --- a/a/kernel-gwh/SlackBuild +++ b/a/kernel-gwh/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e set -x diff --git a/a/kernel-gwh/config-tibou b/a/kernel-gwh/config-tibou index 58b3331f..18811043 100644 --- a/a/kernel-gwh/config-tibou +++ b/a/kernel-gwh/config-tibou @@ -1,12 +1,13 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.11.0-rc6 Kernel Configuration +# Linux/x86 5.12.0-rc2 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0" CONFIG_CC_IS_GCC=y CONFIG_GCC_VERSION=100200 -CONFIG_LD_VERSION=235020000 CONFIG_CLANG_VERSION=0 +CONFIG_LD_IS_BFD=y +CONFIG_LD_VERSION=23601 CONFIG_LLD_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK_STATIC=y @@ -249,6 +250,7 @@ CONFIG_BPF_JIT_DEFAULT_ON=y # CONFIG_BPF_PRELOAD is not set CONFIG_USERFAULTFD=y CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y +CONFIG_KCMP=y CONFIG_RSEQ=y # CONFIG_DEBUG_RSEQ is not set # CONFIG_EMBEDDED is not set @@ -264,7 +266,6 @@ CONFIG_PERF_EVENTS=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLUB_DEBUG=y -# CONFIG_SLUB_MEMCG_SYSFS_ON is not set # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB is not set CONFIG_SLUB=y @@ -387,7 +388,6 @@ CONFIG_X86_MCE_INTEL=y CONFIG_X86_MCE_AMD=y CONFIG_X86_MCE_THRESHOLD=y CONFIG_X86_MCE_INJECT=m -CONFIG_X86_THERMAL_VECTOR=y # # Performance monitoring @@ -521,6 +521,7 @@ CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y # CONFIG_ACPI_DEBUGGER is not set CONFIG_ACPI_SPCR_TABLE=y +# CONFIG_ACPI_FPDT is not set CONFIG_ACPI_LPIT=y CONFIG_ACPI_SLEEP=y CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y @@ -574,7 +575,6 @@ CONFIG_ACPI_CONFIGFS=m CONFIG_PMIC_OPREGION=y CONFIG_CHT_DC_TI_PMIC_OPREGION=y CONFIG_X86_PM_TIMER=y -CONFIG_SFI=y # # CPU Frequency scaling @@ -719,6 +719,7 @@ CONFIG_KVM_WERROR=y CONFIG_KVM_INTEL=m CONFIG_KVM_AMD=m CONFIG_KVM_AMD_SEV=y +# CONFIG_KVM_XEN is not set CONFIG_KVM_MMU_AUDIT=y CONFIG_AS_AVX512=y CONFIG_AS_SHA1_NI=y @@ -732,10 +733,6 @@ CONFIG_CRASH_CORE=y CONFIG_KEXEC_CORE=y CONFIG_HOTPLUG_SMT=y CONFIG_GENERIC_ENTRY=y -CONFIG_OPROFILE=m -# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set -CONFIG_HAVE_OPROFILE=y -CONFIG_OPROFILE_NMI_TIMER=y # CONFIG_KPROBES is not set CONFIG_JUMP_LABEL=y # CONFIG_STATIC_KEYS_SELFTEST is not set @@ -789,6 +786,9 @@ CONFIG_HAVE_ARCH_STACKLEAK=y CONFIG_HAVE_STACKPROTECTOR=y CONFIG_STACKPROTECTOR=y CONFIG_STACKPROTECTOR_STRONG=y +CONFIG_ARCH_SUPPORTS_LTO_CLANG=y +CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y +CONFIG_LTO_NONE=y CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y CONFIG_HAVE_CONTEXT_TRACKING=y CONFIG_HAVE_CONTEXT_TRACKING_OFFSTACK=y @@ -803,6 +803,8 @@ CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y CONFIG_HAVE_ARCH_SOFT_DIRTY=y CONFIG_HAVE_MOD_ARCH_SPECIFIC=y CONFIG_MODULES_USE_ELF_RELA=y +CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y +CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=y CONFIG_ARCH_HAS_ELF_RANDOMIZE=y CONFIG_HAVE_ARCH_MMAP_RND_BITS=y CONFIG_HAVE_EXIT_THREAD=y @@ -828,8 +830,10 @@ CONFIG_ARCH_USE_MEMREMAP_PROT=y CONFIG_ARCH_HAS_MEM_ENCRYPT=y CONFIG_HAVE_STATIC_CALL=y CONFIG_HAVE_STATIC_CALL_INLINE=y +CONFIG_HAVE_PREEMPT_DYNAMIC=y CONFIG_ARCH_WANT_LD_ORPHAN_WARN=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_ARCH_HAS_ELFCORE_COMPAT=y # # GCOV-based kernel profiling @@ -856,7 +860,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODULE_SIG is not set # CONFIG_MODULE_COMPRESS is not set CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y -CONFIG_UNUSED_SYMBOLS=y +# CONFIG_TRIM_UNUSED_KSYMS is not set CONFIG_MODULES_TREE_LOOKUP=y CONFIG_BLOCK=y CONFIG_BLK_RQ_ALLOC_TIME=y @@ -1025,7 +1029,6 @@ CONFIG_ZONE_DEVICE=y CONFIG_DEV_PAGEMAP_OPS=y CONFIG_HMM_MIRROR=y CONFIG_DEVICE_PRIVATE=y -CONFIG_FRAME_VECTOR=y CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y CONFIG_ARCH_HAS_PKEYS=y # CONFIG_PERCPU_STATS is not set @@ -1383,6 +1386,7 @@ CONFIG_IP_VS_SH=m CONFIG_IP_VS_MH=m CONFIG_IP_VS_SED=m CONFIG_IP_VS_NQ=m +# CONFIG_IP_VS_TWOS is not set # # IPVS SH scheduler @@ -1583,10 +1587,12 @@ CONFIG_NET_DSA_TAG_MTK=m CONFIG_NET_DSA_TAG_KSZ=m CONFIG_NET_DSA_TAG_RTL4_A=m # CONFIG_NET_DSA_TAG_OCELOT is not set +# CONFIG_NET_DSA_TAG_OCELOT_8021Q is not set CONFIG_NET_DSA_TAG_QCA=m CONFIG_NET_DSA_TAG_LAN9303=m CONFIG_NET_DSA_TAG_SJA1105=m CONFIG_NET_DSA_TAG_TRAILER=m +# CONFIG_NET_DSA_TAG_XRS700X is not set CONFIG_VLAN_8021Q=m CONFIG_VLAN_8021Q_GVRP=y CONFIG_VLAN_8021Q_MVRP=y @@ -1753,6 +1759,7 @@ CONFIG_QRTR_MHI=m # CONFIG_NET_NCSI is not set CONFIG_RPS=y CONFIG_RFS_ACCEL=y +CONFIG_SOCK_RX_QUEUE_MAPPING=y CONFIG_XPS=y CONFIG_CGROUP_NET_PRIO=y CONFIG_CGROUP_NET_CLASSID=y @@ -1979,6 +1986,7 @@ CONFIG_NFC_HCI=m # CONFIG_NFC_TRF7970A is not set CONFIG_NFC_SIM=m CONFIG_NFC_PORT100=m +# CONFIG_NFC_VIRTUAL_NCI is not set # CONFIG_NFC_FDP is not set CONFIG_NFC_PN533=m CONFIG_NFC_PN533_USB=m @@ -2030,7 +2038,6 @@ CONFIG_PCIEASPM_DEFAULT=y CONFIG_PCIE_PME=y CONFIG_PCIE_DPC=y CONFIG_PCIE_PTM=y -# CONFIG_PCIE_BW is not set # CONFIG_PCIE_EDR is not set CONFIG_PCI_MSI=y CONFIG_PCI_MSI_IRQ_DOMAIN=y @@ -2094,6 +2101,7 @@ CONFIG_PCI_HYPERV_INTERFACE=m CONFIG_PCI_SW_SWITCHTEC=m # end of PCI switch controller drivers +# CONFIG_CXL_BUS is not set # CONFIG_PCCARD is not set # CONFIG_RAPIDIO is not set @@ -2348,7 +2356,6 @@ CONFIG_BLK_DEV_CRYPTOLOOP=m CONFIG_BLK_DEV_DRBD=m # CONFIG_DRBD_FAULT_INJECTION is not set CONFIG_BLK_DEV_NBD=m -CONFIG_BLK_DEV_SKD=m CONFIG_BLK_DEV_SX8=m CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 @@ -2448,6 +2455,7 @@ CONFIG_VMWARE_VMCI=m CONFIG_GENWQE=m CONFIG_GENWQE_PLATFORM_ERROR_RECOVERY=0 # CONFIG_ECHO is not set +# CONFIG_BCM_VK is not set CONFIG_MISC_ALCOR_PCI=m CONFIG_MISC_RTSX_PCI=m CONFIG_MISC_RTSX_USB=m @@ -2563,7 +2571,6 @@ CONFIG_SCSI_SNIC=m CONFIG_SCSI_DMX3191D=m CONFIG_SCSI_FDOMAIN=m CONFIG_SCSI_FDOMAIN_PCI=m -CONFIG_SCSI_GDTH=m CONFIG_SCSI_ISCI=m CONFIG_SCSI_IPS=m CONFIG_SCSI_INITIO=m @@ -2721,7 +2728,7 @@ CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING=y CONFIG_DM_BIO_PRISON=m CONFIG_DM_PERSISTENT_DATA=m CONFIG_DM_UNSTRIPED=m -CONFIG_DM_CRYPT=y +CONFIG_DM_CRYPT=m CONFIG_DM_SNAPSHOT=m CONFIG_DM_THIN_PROVISIONING=m CONFIG_DM_CACHE=m @@ -2883,10 +2890,11 @@ CONFIG_NET_DSA_MICROCHIP_KSZ9477_I2C=m # CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI is not set # CONFIG_NET_DSA_MICROCHIP_KSZ8795 is not set CONFIG_NET_DSA_MV88E6XXX=m -CONFIG_NET_DSA_MV88E6XXX_GLOBAL2=y CONFIG_NET_DSA_MV88E6XXX_PTP=y # CONFIG_NET_DSA_AR9331 is not set # CONFIG_NET_DSA_SJA1105 is not set +# CONFIG_NET_DSA_XRS700X_I2C is not set +# CONFIG_NET_DSA_XRS700X_MDIO is not set CONFIG_NET_DSA_QCA8K=m CONFIG_NET_DSA_REALTEK_SMI=m CONFIG_NET_DSA_SMSC_LAN9303=m @@ -2913,7 +2921,6 @@ CONFIG_AMD_XGBE_HAVE_ECC=y # CONFIG_NET_VENDOR_AQUANTIA is not set # CONFIG_NET_VENDOR_ARC is not set # CONFIG_NET_VENDOR_ATHEROS is not set -# CONFIG_NET_VENDOR_AURORA is not set CONFIG_NET_VENDOR_BROADCOM=y # CONFIG_B44 is not set # CONFIG_BCMGENET is not set @@ -3320,6 +3327,7 @@ CONFIG_MT76_LEDS=y CONFIG_MT76_USB=m CONFIG_MT76x02_LIB=m CONFIG_MT76x02_USB=m +CONFIG_MT76_CONNAC_LIB=m CONFIG_MT76x0_COMMON=m CONFIG_MT76x0U=m CONFIG_MT76x0E=m @@ -3332,6 +3340,7 @@ CONFIG_MT7615E=m # CONFIG_MT7663U is not set # CONFIG_MT7663S is not set # CONFIG_MT7915E is not set +# CONFIG_MT7921E is not set CONFIG_WLAN_VENDOR_MICROCHIP=y # CONFIG_WILC1000_SDIO is not set # CONFIG_WILC1000_SPI is not set @@ -3842,7 +3851,6 @@ CONFIG_SERIAL_ALTERA_JTAGUART=m CONFIG_SERIAL_ALTERA_UART=m CONFIG_SERIAL_ALTERA_UART_MAXPORTS=4 CONFIG_SERIAL_ALTERA_UART_BAUDRATE=115200 -# CONFIG_SERIAL_IFX6X60 is not set CONFIG_SERIAL_ARC=m CONFIG_SERIAL_ARC_NR_PORTS=1 CONFIG_SERIAL_RP2=m @@ -3907,6 +3915,7 @@ CONFIG_HW_RANDOM_TPM=y CONFIG_TCG_TIS_CORE=m CONFIG_TCG_TIS=m # CONFIG_TCG_TIS_SPI is not set +# CONFIG_TCG_TIS_I2C_CR50 is not set CONFIG_TCG_TIS_I2C_ATMEL=m CONFIG_TCG_TIS_I2C_INFINEON=m CONFIG_TCG_TIS_I2C_NUVOTON=m @@ -4158,7 +4167,6 @@ CONFIG_GPIO_GENERIC_PLATFORM=m CONFIG_GPIO_ICH=m # CONFIG_GPIO_MB86S7X is not set CONFIG_GPIO_VX855=m -# CONFIG_GPIO_XILINX is not set CONFIG_GPIO_AMD_FCH=m # end of Memory mapped GPIO drivers @@ -4299,6 +4307,7 @@ CONFIG_CHARGER_LP8727=m CONFIG_CHARGER_GPIO=m # CONFIG_CHARGER_MANAGER is not set CONFIG_CHARGER_LT3651=m +# CONFIG_CHARGER_LTC4162L is not set CONFIG_CHARGER_BQ2415X=m CONFIG_CHARGER_BQ24190=m CONFIG_CHARGER_BQ24257=m @@ -4306,6 +4315,7 @@ CONFIG_CHARGER_BQ24735=m # CONFIG_CHARGER_BQ2515X is not set CONFIG_CHARGER_BQ25890=m # CONFIG_CHARGER_BQ25980 is not set +# CONFIG_CHARGER_BQ256XX is not set CONFIG_CHARGER_SMB347=m CONFIG_BATTERY_GAUGE_LTC2941=m CONFIG_CHARGER_RT9455=m @@ -4336,6 +4346,7 @@ CONFIG_SENSORS_ADT7411=m CONFIG_SENSORS_ADT7462=m CONFIG_SENSORS_ADT7470=m CONFIG_SENSORS_ADT7475=m +# CONFIG_SENSORS_AHT10 is not set CONFIG_SENSORS_AS370=m CONFIG_SENSORS_ASC7621=m CONFIG_SENSORS_AXI_FAN_CONTROL=m @@ -4402,6 +4413,7 @@ CONFIG_SENSORS_MAX6697=m CONFIG_SENSORS_MAX31790=m CONFIG_SENSORS_MCP3021=m CONFIG_SENSORS_TC654=m +# CONFIG_SENSORS_TPS23861 is not set CONFIG_SENSORS_MENF21BMC_HWMON=m CONFIG_SENSORS_MR75203=m CONFIG_SENSORS_ADCXX=m @@ -4536,6 +4548,7 @@ CONFIG_THERMAL_EMULATION=y # Intel thermal drivers # CONFIG_INTEL_POWERCLAMP=m +CONFIG_X86_THERMAL_VECTOR=y CONFIG_X86_PKG_TEMP_THERMAL=m CONFIG_INTEL_SOC_DTS_IOSF_CORE=m CONFIG_INTEL_SOC_DTS_THERMAL=m @@ -5128,6 +5141,7 @@ CONFIG_DVB_DDBRIDGE=m CONFIG_DVB_SMIPCIE=m # CONFIG_DVB_NETUP_UNIDVB is not set CONFIG_VIDEO_IPU3_CIO2=m +# CONFIG_CIO2_BRIDGE is not set CONFIG_RADIO_ADAPTERS=y CONFIG_RADIO_TEA575X=m # CONFIG_RADIO_SI470X is not set @@ -5334,6 +5348,7 @@ CONFIG_VIDEO_OV2680=m CONFIG_VIDEO_OV2685=m # CONFIG_VIDEO_OV2740 is not set CONFIG_VIDEO_OV5647=m +# CONFIG_VIDEO_OV5648 is not set CONFIG_VIDEO_OV6650=m CONFIG_VIDEO_OV5670=m CONFIG_VIDEO_OV5675=m @@ -5344,6 +5359,7 @@ CONFIG_VIDEO_OV7640=m CONFIG_VIDEO_OV7670=m CONFIG_VIDEO_OV7740=m CONFIG_VIDEO_OV8856=m +# CONFIG_VIDEO_OV8865 is not set CONFIG_VIDEO_OV9640=m CONFIG_VIDEO_OV9650=m # CONFIG_VIDEO_OV9734 is not set @@ -5362,6 +5378,7 @@ CONFIG_VIDEO_SR030PC30=m CONFIG_VIDEO_NOON010PC30=m CONFIG_VIDEO_M5MOLS=m # CONFIG_VIDEO_RDACM20 is not set +# CONFIG_VIDEO_RDACM21 is not set CONFIG_VIDEO_RJ54N1=m CONFIG_VIDEO_S5K6AA=m CONFIG_VIDEO_S5K6A3=m @@ -5560,6 +5577,7 @@ CONFIG_DVB_AU8522=m CONFIG_DVB_AU8522_DTV=m CONFIG_DVB_AU8522_V4L=m CONFIG_DVB_S5H1411=m +CONFIG_DVB_MXL692=m # # ISDB-T (terrestrial) frontends @@ -6045,6 +6063,8 @@ CONFIG_SND_HDA_EXT_CORE=m CONFIG_SND_HDA_PREALLOC_SIZE=2048 CONFIG_SND_INTEL_NHLT=y CONFIG_SND_INTEL_DSP_CONFIG=m +CONFIG_SND_INTEL_SOUNDWIRE_ACPI=m +# CONFIG_SND_INTEL_BYT_PREFER_SOF is not set CONFIG_SND_SPI=y CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=m @@ -6132,8 +6152,12 @@ CONFIG_SND_SOC_INTEL_SKYLAKE_COMMON=m CONFIG_SND_SOC_ACPI_INTEL_MATCH=m CONFIG_SND_SOC_INTEL_MACH=y # CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES is not set +# CONFIG_SND_SOC_INTEL_BDW_RT5650_MACH is not set +# CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH is not set +# CONFIG_SND_SOC_INTEL_BROADWELL_MACH is not set CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH=m CONFIG_SND_SOC_INTEL_BYTCR_RT5651_MACH=m +# CONFIG_SND_SOC_INTEL_BYTCR_WM5102_MACH is not set CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH=m CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH=m @@ -6162,52 +6186,47 @@ CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH=m # CONFIG_SND_SOC_INTEL_SOF_PCM512x_MACH is not set # CONFIG_SND_SOC_INTEL_CML_LP_DA7219_MAX98357A_MACH is not set # CONFIG_SND_SOC_INTEL_SOF_CML_RT1011_RT5682_MACH is not set +# CONFIG_SND_SOC_INTEL_SOF_DA7219_MAX98373_MACH is not set # CONFIG_SND_SOC_INTEL_EHL_RT5660_MACH is not set # CONFIG_SND_SOC_MTK_BTCVSD is not set CONFIG_SND_SOC_SOF_TOPLEVEL=y +CONFIG_SND_SOC_SOF_PCI_DEV=m CONFIG_SND_SOC_SOF_PCI=m CONFIG_SND_SOC_SOF_ACPI=m +CONFIG_SND_SOC_SOF_ACPI_DEV=m # CONFIG_SND_SOC_SOF_DEBUG_PROBES is not set # CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT is not set CONFIG_SND_SOC_SOF=m CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y -CONFIG_SND_SOC_SOF_INTEL_ACPI=m -CONFIG_SND_SOC_SOF_INTEL_PCI=m CONFIG_SND_SOC_SOF_INTEL_HIFI_EP_IPC=m CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP=m CONFIG_SND_SOC_SOF_INTEL_COMMON=m -# CONFIG_SND_SOC_SOF_BAYTRAIL_SUPPORT is not set -# CONFIG_SND_SOC_SOF_BROADWELL_SUPPORT is not set -CONFIG_SND_SOC_SOF_MERRIFIELD_SUPPORT=y +CONFIG_SND_SOC_SOF_BAYTRAIL=m +CONFIG_SND_SOC_SOF_BROADWELL=m CONFIG_SND_SOC_SOF_MERRIFIELD=m -CONFIG_SND_SOC_SOF_APOLLOLAKE_SUPPORT=y +CONFIG_SND_SOC_SOF_INTEL_APL=m CONFIG_SND_SOC_SOF_APOLLOLAKE=m -CONFIG_SND_SOC_SOF_GEMINILAKE_SUPPORT=y CONFIG_SND_SOC_SOF_GEMINILAKE=m -CONFIG_SND_SOC_SOF_CANNONLAKE_SUPPORT=y +CONFIG_SND_SOC_SOF_INTEL_CNL=m CONFIG_SND_SOC_SOF_CANNONLAKE=m -CONFIG_SND_SOC_SOF_COFFEELAKE_SUPPORT=y CONFIG_SND_SOC_SOF_COFFEELAKE=m -CONFIG_SND_SOC_SOF_ICELAKE_SUPPORT=y -CONFIG_SND_SOC_SOF_ICELAKE=m CONFIG_SND_SOC_SOF_COMETLAKE=m -CONFIG_SND_SOC_SOF_COMETLAKE_SUPPORT=y -CONFIG_SND_SOC_SOF_COMETLAKE_LP_SUPPORT=y -CONFIG_SND_SOC_SOF_TIGERLAKE_SUPPORT=y +CONFIG_SND_SOC_SOF_INTEL_ICL=m +CONFIG_SND_SOC_SOF_ICELAKE=m +CONFIG_SND_SOC_SOF_JASPERLAKE=m +CONFIG_SND_SOC_SOF_INTEL_TGL=m CONFIG_SND_SOC_SOF_TIGERLAKE=m -CONFIG_SND_SOC_SOF_ELKHARTLAKE_SUPPORT=y CONFIG_SND_SOC_SOF_ELKHARTLAKE=m -# CONFIG_SND_SOC_SOF_JASPERLAKE_SUPPORT is not set -# CONFIG_SND_SOC_SOF_ALDERLAKE_SUPPORT is not set +CONFIG_SND_SOC_SOF_ALDERLAKE=m CONFIG_SND_SOC_SOF_HDA_COMMON=m CONFIG_SND_SOC_SOF_HDA_LINK=y CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y # CONFIG_SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1 is not set CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m CONFIG_SND_SOC_SOF_HDA=m -# CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK is not set CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK_BASELINE=m +CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE=m CONFIG_SND_SOC_SOF_XTENSA=m # @@ -6219,7 +6238,6 @@ CONFIG_SND_SOC_SOF_XTENSA=m # CONFIG_SND_SOC_XILINX_AUDIO_FORMATTER is not set # CONFIG_SND_SOC_XILINX_SPDIF is not set # CONFIG_SND_SOC_XTFPGA_I2S is not set -# CONFIG_ZX_TDM is not set CONFIG_SND_SOC_I2C_AND_SPI=m # @@ -6322,6 +6340,7 @@ CONFIG_SND_SOC_RT298=m CONFIG_SND_SOC_RT5640=m CONFIG_SND_SOC_RT5645=m CONFIG_SND_SOC_RT5651=m +# CONFIG_SND_SOC_RT5659 is not set CONFIG_SND_SOC_RT5660=m CONFIG_SND_SOC_RT5663=m CONFIG_SND_SOC_RT5670=m @@ -6406,6 +6425,8 @@ CONFIG_SND_SOC_NAU8825=m # CONFIG_SND_SOC_TPA6130A2 is not set # CONFIG_SND_SOC_LPASS_WSA_MACRO is not set # CONFIG_SND_SOC_LPASS_VA_MACRO is not set +# CONFIG_SND_SOC_LPASS_RX_MACRO is not set +# CONFIG_SND_SOC_LPASS_TX_MACRO is not set # end of CODEC drivers CONFIG_SND_SIMPLE_CARD_UTILS=m @@ -6503,6 +6524,7 @@ CONFIG_HID_PICOLCD_LCD=y CONFIG_HID_PICOLCD_LEDS=y CONFIG_HID_PICOLCD_CIR=y CONFIG_HID_PLANTRONICS=m +# CONFIG_HID_PLAYSTATION is not set CONFIG_HID_PRIMAX=m CONFIG_HID_RETRODE=m CONFIG_HID_ROCCAT=m @@ -6557,7 +6579,7 @@ CONFIG_USB_HIDDEV=y # # I2C HID support # -CONFIG_I2C_HID=m +# CONFIG_I2C_HID_ACPI is not set # end of I2C HID support # @@ -6675,7 +6697,7 @@ CONFIG_USBIP_VHCI_HC_PORTS=8 CONFIG_USBIP_VHCI_NR_HCS=1 CONFIG_USBIP_HOST=m # CONFIG_USBIP_DEBUG is not set -# CONFIG_USB_CDNS3 is not set +# CONFIG_USB_CDNS_SUPPORT is not set CONFIG_USB_MUSB_HDRC=m CONFIG_USB_MUSB_HOST=y @@ -6761,6 +6783,7 @@ CONFIG_USB_SERIAL_WISHBONE=m CONFIG_USB_SERIAL_SSU100=m CONFIG_USB_SERIAL_QT2=m CONFIG_USB_SERIAL_UPD78F0730=m +# CONFIG_USB_SERIAL_XR is not set CONFIG_USB_SERIAL_DEBUG=m # @@ -6966,6 +6989,12 @@ CONFIG_LEDS_TRIGGER_PANIC=y CONFIG_LEDS_TRIGGER_NETDEV=m CONFIG_LEDS_TRIGGER_PATTERN=m CONFIG_LEDS_TRIGGER_AUDIO=m +# CONFIG_LEDS_TRIGGER_TTY is not set + +# +# LED Blink +# +# CONFIG_LEDS_BLINK is not set CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y @@ -7029,7 +7058,6 @@ CONFIG_EDAC_LEGACY_SYSFS=y CONFIG_EDAC_DECODE_MCE=m CONFIG_EDAC_GHES=y CONFIG_EDAC_AMD64=m -# CONFIG_EDAC_AMD64_ERROR_INJECTION is not set CONFIG_EDAC_E752X=m CONFIG_EDAC_I82975X=m CONFIG_EDAC_I3000=m @@ -7187,6 +7215,7 @@ CONFIG_DW_EDMA=m CONFIG_DW_EDMA_PCIE=m CONFIG_HSU_DMA=m # CONFIG_SF_PDMA is not set +# CONFIG_INTEL_LDMA is not set # # DMA Clients @@ -7202,6 +7231,7 @@ CONFIG_SYNC_FILE=y # CONFIG_SW_SYNC is not set CONFIG_UDMABUF=y # CONFIG_DMABUF_MOVE_NOTIFY is not set +# CONFIG_DMABUF_DEBUG is not set # CONFIG_DMABUF_SELFTESTS is not set # CONFIG_DMABUF_HEAPS is not set # end of DMABUF options @@ -7243,7 +7273,9 @@ CONFIG_IRQ_BYPASS_MANAGER=m CONFIG_VIRT_DRIVERS=y CONFIG_VBOXGUEST=m # CONFIG_NITRO_ENCLAVES is not set +# CONFIG_ACRN_HSM is not set CONFIG_VIRTIO=y +CONFIG_VIRTIO_PCI_LIB=m CONFIG_VIRTIO_MENU=y CONFIG_VIRTIO_PCI=m CONFIG_VIRTIO_PCI_LEGACY=y @@ -7389,7 +7421,6 @@ CONFIG_WIMAX_I2400M_DEBUG_LEVEL=8 CONFIG_X86_PLATFORM_DEVICES=y CONFIG_ACPI_WMI=m CONFIG_WMI_BMOF=m -CONFIG_ALIENWARE_WMI=m CONFIG_HUAWEI_WMI=m # CONFIG_INTEL_WMI_SBL_FW_UPDATE is not set CONFIG_INTEL_WMI_THUNDERBOLT=m @@ -7405,14 +7436,7 @@ CONFIG_AMD_PMC=y # CONFIG_ASUS_WIRELESS is not set # CONFIG_ASUS_WMI is not set # CONFIG_EEEPC_LAPTOP is not set -# CONFIG_DCDBAS is not set -# CONFIG_DELL_SMBIOS is not set -# CONFIG_DELL_RBTN is not set -# CONFIG_DELL_RBU is not set -# CONFIG_DELL_SMO8800 is not set -# CONFIG_DELL_WMI_SYSMAN is not set -# CONFIG_DELL_WMI_AIO is not set -# CONFIG_DELL_WMI_LED is not set +# CONFIG_X86_PLATFORM_DRIVERS_DELL is not set # CONFIG_AMILO_RFKILL is not set # CONFIG_FUJITSU_LAPTOP is not set # CONFIG_FUJITSU_TABLET is not set @@ -7464,9 +7488,6 @@ CONFIG_INTEL_SPEED_SELECT_INTERFACE=m # CONFIG_INTEL_UNCORE_FREQ_CONTROL is not set # CONFIG_INTEL_CHTDC_TI_PWRBTN is not set # CONFIG_INTEL_PMC_CORE is not set -# CONFIG_INTEL_PMT_CLASS is not set -# CONFIG_INTEL_PMT_TELEMETRY is not set -# CONFIG_INTEL_PMT_CRASHLOG is not set # CONFIG_INTEL_PUNIT_IPC is not set # CONFIG_INTEL_SCU_PCI is not set # CONFIG_INTEL_SCU_PLATFORM is not set @@ -7484,6 +7505,7 @@ CONFIG_COMMON_CLK_SI5351=m CONFIG_COMMON_CLK_SI544=m CONFIG_COMMON_CLK_CDCE706=m CONFIG_COMMON_CLK_CS2000_CP=m +CONFIG_XILINX_VCU=m CONFIG_HWSPINLOCK=y # @@ -7505,6 +7527,7 @@ CONFIG_IOMMU_SUPPORT=y # # Generic IOMMU Pagetable Support # +CONFIG_IOMMU_IO_PGTABLE=y # end of Generic IOMMU Pagetable Support # CONFIG_IOMMU_DEBUGFS is not set @@ -7543,8 +7566,10 @@ CONFIG_SOUNDWIRE=y # # SoundWire Devices # -# CONFIG_SOUNDWIRE_INTEL is not set +CONFIG_SOUNDWIRE_CADENCE=m +CONFIG_SOUNDWIRE_INTEL=m # CONFIG_SOUNDWIRE_QCOM is not set +CONFIG_SOUNDWIRE_GENERIC_ALLOCATION=m # # SOC (System On Chip) specific Drivers @@ -7586,7 +7611,6 @@ CONFIG_QCOM_QMI_HELPERS=m # # Xilinx SoC drivers # -CONFIG_XILINX_VCU=m # end of Xilinx SoC drivers # end of SOC (System On Chip) specific Drivers @@ -7804,6 +7828,7 @@ CONFIG_AD5696_I2C=m # CONFIG_AD5758 is not set # CONFIG_AD5761 is not set # CONFIG_AD5764 is not set +# CONFIG_AD5766 is not set # CONFIG_AD5770R is not set # CONFIG_AD5791 is not set # CONFIG_AD7303 is not set @@ -7992,6 +8017,7 @@ CONFIG_SENSORS_HMC5843_I2C=m CONFIG_SENSORS_RM3100=m CONFIG_SENSORS_RM3100_I2C=m # CONFIG_SENSORS_RM3100_SPI is not set +# CONFIG_YAMAHA_YAS530 is not set # end of Magnetometer sensors # @@ -8018,6 +8044,7 @@ CONFIG_IIO_SYSFS_TRIGGER=m # # Linear and angular position sensors # +# CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE is not set # end of Linear and angular position sensors # @@ -8117,6 +8144,7 @@ CONFIG_NTB=m CONFIG_NTB_AMD=m CONFIG_NTB_IDT=m CONFIG_NTB_INTEL=m +# CONFIG_NTB_EPF is not set CONFIG_NTB_SWITCHTEC=m CONFIG_NTB_PINGPONG=m CONFIG_NTB_TOOL=m @@ -8154,6 +8182,7 @@ CONFIG_POWERCAP=y CONFIG_INTEL_RAPL_CORE=m CONFIG_INTEL_RAPL=m # CONFIG_IDLE_INJECT is not set +# CONFIG_DTPM is not set # CONFIG_MCB is not set # @@ -8192,6 +8221,7 @@ CONFIG_DEV_DAX_KMEM=m # CONFIG_DEV_DAX_PMEM_COMPAT is not set CONFIG_NVMEM=y CONFIG_NVMEM_SYSFS=y +# CONFIG_NVMEM_RMEM is not set # # HW tracing support @@ -8259,7 +8289,6 @@ CONFIG_F2FS_FS_XATTR=y CONFIG_F2FS_FS_POSIX_ACL=y CONFIG_F2FS_FS_SECURITY=y # CONFIG_F2FS_CHECK_FS is not set -# CONFIG_F2FS_IO_TRACE is not set # CONFIG_F2FS_FAULT_INJECTION is not set # CONFIG_F2FS_FS_COMPRESSION is not set # CONFIG_ZONEFS_FS is not set @@ -8481,6 +8510,7 @@ CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_NFS_ACL_SUPPORT=y CONFIG_NFS_COMMON=y +CONFIG_NFS_V4_2_SSC_HELPER=y CONFIG_SUNRPC=y CONFIG_SUNRPC_GSS=y CONFIG_SUNRPC_BACKCHANNEL=y @@ -8666,7 +8696,6 @@ CONFIG_CRYPTO_CRYPTD=y CONFIG_CRYPTO_AUTHENC=y CONFIG_CRYPTO_TEST=m CONFIG_CRYPTO_SIMD=y -CONFIG_CRYPTO_GLUE_HELPER_X86=y CONFIG_CRYPTO_ENGINE=m # @@ -8738,10 +8767,7 @@ CONFIG_CRYPTO_POLY1305_X86_64=m CONFIG_CRYPTO_MD4=y CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_MICHAEL_MIC=y -CONFIG_CRYPTO_RMD128=m CONFIG_CRYPTO_RMD160=y -CONFIG_CRYPTO_RMD256=m -CONFIG_CRYPTO_RMD320=m CONFIG_CRYPTO_SHA1=y CONFIG_CRYPTO_SHA1_SSSE3=m CONFIG_CRYPTO_SHA256_SSSE3=m @@ -8751,7 +8777,6 @@ CONFIG_CRYPTO_SHA512=y CONFIG_CRYPTO_SHA3=m CONFIG_CRYPTO_SM3=m CONFIG_CRYPTO_STREEBOG=m -CONFIG_CRYPTO_TGR192=y CONFIG_CRYPTO_WP512=y CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m @@ -8779,7 +8804,6 @@ CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_DES3_EDE_X86_64=m CONFIG_CRYPTO_FCRYPT=y CONFIG_CRYPTO_KHAZAD=y -CONFIG_CRYPTO_SALSA20=m CONFIG_CRYPTO_CHACHA20=m CONFIG_CRYPTO_CHACHA20_X86_64=m CONFIG_CRYPTO_SEED=y @@ -9131,6 +9155,8 @@ CONFIG_HAVE_ARCH_KASAN_VMALLOC=y CONFIG_CC_HAS_KASAN_GENERIC=y CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y # CONFIG_KASAN is not set +CONFIG_HAVE_ARCH_KFENCE=y +# CONFIG_KFENCE is not set # end of Memory Debugging # CONFIG_DEBUG_SHIRQ is not set @@ -9179,6 +9205,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y # CONFIG_CSD_LOCK_WAIT_DEBUG is not set # end of Lock Debugging (spinlocks, mutexes, etc...) +# CONFIG_DEBUG_IRQFLAGS is not set CONFIG_STACKTRACE=y # CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set # CONFIG_DEBUG_KOBJECT is not set @@ -9222,12 +9249,12 @@ CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_HAVE_FENTRY=y +CONFIG_HAVE_OBJTOOL_MCOUNT=y CONFIG_HAVE_C_RECORDMCOUNT=y CONFIG_TRACE_CLOCK=y CONFIG_RING_BUFFER=y CONFIG_EVENT_TRACING=y CONFIG_CONTEXT_SWITCH_TRACER=y -CONFIG_RING_BUFFER_ALLOW_SWAP=y CONFIG_TRACING=y CONFIG_GENERIC_TRACER=y CONFIG_TRACING_SUPPORT=y @@ -9254,6 +9281,7 @@ CONFIG_BPF_EVENTS=y CONFIG_DYNAMIC_EVENTS=y CONFIG_PROBE_EVENTS=y CONFIG_FTRACE_MCOUNT_RECORD=y +CONFIG_FTRACE_MCOUNT_USE_CC=y # CONFIG_SYNTH_EVENTS is not set # CONFIG_HIST_TRIGGERS is not set # CONFIG_TRACE_EVENT_INJECT is not set diff --git a/a/pine64-platform-scripts/SlackBuild b/a/pine64-platform-scripts/SlackBuild index 11d6ca57..0e94c6d8 100755 --- a/a/pine64-platform-scripts/SlackBuild +++ b/a/pine64-platform-scripts/SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,7 +25,7 @@ rm -fr $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/longsleep/build-pine64-image.git $REPOSITORY ( cd $REPOSITORY; git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION mkdir -p $PKG/usr/bin cp $REPOSITORY/simpleimage/platform-scripts/* $PKG/usr/bin/ diff --git a/a/pinebook_pro_boot/SlackBuild b/a/pinebook_pro_boot/SlackBuild index 23cb3798..8ae88b12 100755 --- a/a/pinebook_pro_boot/SlackBuild +++ b/a/pinebook_pro_boot/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) @@ -26,7 +26,7 @@ done # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/mrfixit2001/updates_repo.git $REPOSITORY ( cd $REPOSITORY; git pull ) -VERSION="$( cd $REPOSITORY/pinebook/ && cat version )" +VERSION="git_$( cd $REPOSITORY/pinebook/ && cat version )" cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/ @@ -35,7 +35,7 @@ git checkout v$VERSION mkdir -p $PKG/boot/ cp $TMP/$PRGNAM/pinebook/filesystem/{idbloader,uboot,trust}.img $PKG/boot/ cat < $PKG/boot/install-boot-imgs.sh -#!/bin/sh +#!/bin/bash set -e grep -q "pinebook-pro" /proc/device-tree/compatible || exit 1 diff --git a/a/rpi-firmware-nonfree/SlackBuild b/a/rpi-firmware-nonfree/SlackBuild index bf3dca0b..9f538b13 100755 --- a/a/rpi-firmware-nonfree/SlackBuild +++ b/a/rpi-firmware-nonfree/SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,7 +25,7 @@ rm -fr $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/RPi-Distro/firmware-nonfree.git $REPOSITORY ( cd $REPOSITORY; git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION mkdir -p $PKG/lib/firmware diff --git a/UNUSED/d/rebar3/SlackBuild b/ap/amdgpud/SlackBuild similarity index 66% rename from UNUSED/d/rebar3/SlackBuild rename to ap/amdgpud/SlackBuild index 4fd5f001..8d09b815 100755 --- a/UNUSED/d/rebar3/SlackBuild +++ b/ap/amdgpud/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -12,7 +12,7 @@ PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -ARCH=noarch +ARCH=${ARCH:-$(uname -m)} REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} PREFIX=${PREFIX:-/usr} @@ -24,20 +24,23 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/erlang/rebar3.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/Eraden/amdgpud.git $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION -./bootstrap +cargo build --release mkdir -p $PKG$PREFIX/bin -cp rebar3 $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* +# move doc/ to the appropriate location mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R CONTRIBUTING.md README.md LICENSE THANKS $PKG$PREFIX/doc/$PRGNAM +cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG @@ -57,17 +60,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Erlang build tool) -$PRGNAM: -$PRGNAM: Rebar3 is an Erlang tool that makes it easy to create, develop, and -$PRGNAM: release Erlang libraries, applications, and systems in a repeatable -$PRGNAM: manner. +$PRGNAM: $PRGNAM (AMDGPU Fan control service) $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: http://www.rebar3.org $PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/Eraden/amdgpud EOF # empaquetage diff --git a/ap/bandwhich/SlackBuild b/ap/bandwhich/SlackBuild index cd987dea..4198d195 100755 --- a/ap/bandwhich/SlackBuild +++ b/ap/bandwhich/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/imsnif/bandwhich.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/bat/SlackBuild b/ap/bat/SlackBuild index 3197b243..f2a5543e 100755 --- a/ap/bat/SlackBuild +++ b/ap/bat/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/bat.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/bemenu/SlackBuild b/ap/bemenu/SlackBuild new file mode 100755 index 00000000..2692efb7 --- /dev/null +++ b/ap/bemenu/SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +set -e + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/Cloudef/bemenu.git $REPOSITORY +cd $REPOSITORY +git pull --all + +mkdir -p $TMP/ +cp -a $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +sed -i 's|-O2| -O2 -fPIC|' GNUmakefile +make clients x11 wayland curses +make install DESTDIR=$PKG PREFIX=$PREFIX mandir=/man/man1 libdir=/lib$(uname -m | grep -o "64") + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE* README.md VERSION $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Dynamic menu library and client program inspired by dmenu) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/Cloudef/bemenu +$PRGNAM: +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/broot/SlackBuild b/ap/broot/SlackBuild index bb28095c..dbf71d16 100755 --- a/ap/broot/SlackBuild +++ b/ap/broot/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/Canop/broot.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location @@ -54,7 +55,7 @@ find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; mkdir -p $PKG/install cat < /etc/profile.d/broot.sh.new [ ! -e /etc/profile.d/broot.sh ] && mv /etc/profile.d/broot.sh.new /etc/profile.d/broot.sh EOF diff --git a/ap/btm/SlackBuild b/ap/btm/SlackBuild index 23629054..c15a4b63 100755 --- a/ap/btm/SlackBuild +++ b/ap/btm/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/clementtsang/bottom.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/checkssl/SlackBuild b/ap/checkssl/SlackBuild index d52c14ac..7d0c3bb4 100755 --- a/ap/checkssl/SlackBuild +++ b/ap/checkssl/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,8 +24,9 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/srvrco/checkssl.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION mkdir -p $PKG$PREFIX/bin cp $REPOSITORY/checkssl $PKG$PREFIX/bin/ diff --git a/ap/conty/SlackBuild b/ap/conty/SlackBuild new file mode 100755 index 00000000..1de56636 --- /dev/null +++ b/ap/conty/SlackBuild @@ -0,0 +1,58 @@ +#!/bin/bash + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-$(curl -s https://api.github.com/repos/Kron4ek/Conty/releases/latest | grep tag_name | grep -o "[0-9.]*")} +ARCH=${ARCH:-$(uname -m)} +BUILD=${BUILD:-1} +TAG=${TAG:-gwh} + +TMP=${TMP:-/tmp/$TAG} +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} +PREFIX=/usr + +GITEA_WORK_DIR=/var/lib/gitea + +wget -c https://github.com/Kron4ek/Conty/releases/download/${VERSION}/conty.sh -O $CWD/conty.sh + +rm -fr $PKG + +mkdir -p $PKG$PREFIX/bin +mv $CWD/conty.sh $PKG$PREFIX/bin/${PRGNAM} +chmod +x $PKG$PREFIX/bin/${PRGNAM} + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/install +cat < $PKG/install/slack-desc + # HOW TO EDIT +THIS FILE: + # The "handy ruler" below makes it easier to edit a package description. Line + # up the first '|' above the ':' following the base package name, and the '|' + # on the right side marks the last column you can put a character in. You must + # make exactly 11 lines for the formatting to be correct. It's also + # customary to leave one space after the ':'. + + |-----handy-ruler--------------------------------------------------------| +$PRGNAM: $PRGNAM (Easy to use non-root container packed into a single executable) +$PRGNAM: +$PRGNAM: a portable Arch Linux distro packed into a single executable that can +$PRGNAM: be used to run any applications +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/Kron4ek/Conty +$PRGNAM: +EOF + +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la + +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/delta/SlackBuild b/ap/delta/SlackBuild index 1ae92714..9e6e330d 100755 --- a/ap/delta/SlackBuild +++ b/ap/delta/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/dandavison/delta.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/diskus/SlackBuild b/ap/diskus/SlackBuild index a4ee9b43..60db0e67 100755 --- a/ap/diskus/SlackBuild +++ b/ap/diskus/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/diskus.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/UNUSED/ap/mkcert/SlackBuild b/ap/dive/SlackBuild similarity index 66% rename from UNUSED/ap/mkcert/SlackBuild rename to ap/dive/SlackBuild index 88e82a5c..562f465f 100755 --- a/UNUSED/ap/mkcert/SlackBuild +++ b/ap/dive/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,22 +24,23 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/FiloSottile/mkcert.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$(cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" +[ ! -e $REPOSITORY ] && git clone https://github.com/wagoodman/dive.git $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION -go build -ldflags "-X main.Version=$(git describe --tags)" +make mkdir -p $PKG$PREFIX/bin -cp $PRGNAM $PKG$PREFIX/bin/ +cp ./dist/dive_linux_amd64/dive $PKG$PREFIX/bin/ chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp AUTHORS LICENSE README.md $PKG$PREFIX/doc/$PRGNAM +cp LICENSE README.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG @@ -59,17 +60,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (A simple tool to make local development certificates) -$PRGNAM: -$PRGNAM: mkcert is a simple tool for making locally-trusted development -$PRGNAM: certificates. It requires no configuration. +$PRGNAM: $PRGNAM (A tool for exploring each layer in a docker image) $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://mkcert.dev -$PRGNAM: https://github.com/FiloSottile/mkcert +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/wagoodman/dive EOF # empaquetage diff --git a/ap/dust/SlackBuild b/ap/dust/SlackBuild index d462d8bb..4865a597 100755 --- a/ap/dust/SlackBuild +++ b/ap/dust/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/bootandy/dust.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/esptool/SlackBuild b/ap/esptool/SlackBuild index 8da11246..5d281905 100755 --- a/ap/esptool/SlackBuild +++ b/ap/esptool/SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=$(date +%F | tr - .) +VERSION=${VERSION:-"trunk"} BUILD=1 ARCH=noarch @@ -20,12 +20,12 @@ mkdir -p $TMP # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/espressif/esptool.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM - cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION python setup.py install --root $PKG diff --git a/ap/exa/SlackBuild b/ap/exa/SlackBuild index 20ed3668..ba5fcc00 100755 --- a/ap/exa/SlackBuild +++ b/ap/exa/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/ogham/exa.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/f3/SlackBuild b/ap/f3/SlackBuild index 74267536..5abc1382 100755 --- a/ap/f3/SlackBuild +++ b/ap/f3/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,11 +25,12 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/AltraMayor/f3.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION make all extra diff --git a/ap/fd/SlackBuild b/ap/fd/SlackBuild index 1a8b4513..53edbac7 100755 --- a/ap/fd/SlackBuild +++ b/ap/fd/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/fd.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* mkdir -p $PKG$PREFIX/man diff --git a/ap/getssl/SlackBuild b/ap/getssl/SlackBuild index 79449bba..c22b70b4 100755 --- a/ap/getssl/SlackBuild +++ b/ap/getssl/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,8 +24,9 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/srvrco/getssl.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION mkdir -p $PKG$PREFIX/bin cp $REPOSITORY/getssl $PKG$PREFIX/bin/ diff --git a/ap/grex/SlackBuild b/ap/grex/SlackBuild index ba5eff0a..323855d3 100755 --- a/ap/grex/SlackBuild +++ b/ap/grex/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/pemistahl/grex.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/hledger-bin/SlackBuild b/ap/hledger-bin/SlackBuild new file mode 100755 index 00000000..193e1a6c --- /dev/null +++ b/ap/hledger-bin/SlackBuild @@ -0,0 +1,116 @@ +#!/bin/bash + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-$(curl -s https://api.github.com/repos/simonmichael/hledger/releases/latest | grep tag_name | grep -o "[0-9.]*")} +ARCH=${ARCH:-$(uname -m)} +BUILD=${BUILD:-1} +TAG=${TAG:-gwh} + +TMP=${TMP:-/tmp/$TAG} +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} +PREFIX=/usr + +echo $ARCH | grep -q 64 && SRC_ARCH=x64 +DOCS="CHANGES.md CONTRIBUTING.md CREDITS.md LICENSE README.md ROADMAP.md" +wget -c https://github.com/simonmichael/hledger/releases/download/${VERSION}/hledger-linux-static-${SRC_ARCH}.zip -O $CWD/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip +for d in $DOCS; do + wget -c https://raw.githubusercontent.com/simonmichael/hledger/${VERSION}/${d} -O $CWD/${d}.${VERSION} +done +rm -fr $PKG + +mkdir -p $PKG$PREFIX/bin +cd $PKG$PREFIX/bin +unzip $CWD/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip +rm $CWD/hledger-linux-static-${SRC_ARCH}-${VERSION}.zip +mv hledger-linux-static-${SRC_ARCH} hledger +mv hledger-ui-linux-static-${SRC_ARCH} hledger-ui +mv hledger-web-linux-static-${SRC_ARCH} hledger-web +chmod +x $PKG$PREFIX/bin/* + +mkdir -p $PKG$PREFIX/doc/hledger/ +for d in $DOCS; do + mv $CWD/${d}.${VERSION} $PKG$PREFIX/doc/hledger/${d} +done + +mkdir -p $PKG/etc/rc.d/ +cat < $PKG/etc/rc.d/rc.hledger-web.new +#!/bin/sh +# +# Start/stop/restart hledger-web +# + +DAEMON_USER=gwh +DAEMON_OPTIONS=" --server --host=0.0.0.0 --port=7458 --capabilities=view,add,manage --file=/path/to/file.ledger --base-url=https://my-host.tld " + +start() { + if [ -x /usr/bin/hledger-web ]; then + echo "Starting hledger-web daemon: /usr/bin/hledger-web " + sudo -u \$DAEMON_USER /usr/bin/hledger-web \$DAEMON_OPTIONS 2> /dev/null & + fi +} + +stop() { + killall hledger-web 2> /dev/null +} + +restart() { + stop + sleep 1 + start +} + +case "\$1" in +'start') + start + ;; +'stop') + stop + ;; +'restart') + restart + ;; +*) + echo "usage \$0 start|stop|restart" +esac +EOF + +cd $PKG +find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +mkdir -p $PKG/install +cat < $PKG/install/doinst.sh +#!/bin/bash +[ ! -e /etc/rc.d/rc.hledger-web ] \&\& mv /etc/rc.d/rc.hledger-web.new /etc/rc.d/rc.hledger-web +EOF + +cat < $PKG/install/slack-desc + # HOW TO EDIT +THIS FILE: + # The "handy ruler" below makes it easier to edit a package description. Line + # up the first '|' above the ':' following the base package name, and the '|' + # on the right side marks the last column you can put a character in. You must + # make exactly 11 lines for the formatting to be correct. It's also + # customary to leave one space after the ':'. + + |-----handy-ruler--------------------------------------------------------| +$PRGNAM: $PRGNAM (ledger-cli-like plaintext accounting tool in Haskell) +$PRGNAM: +$PRGNAM: easy-to-use command-line/curses/web plaintext accounting tool; a modern +$PRGNAM: and largely compatible Haskell rewrite of Ledger +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://hledger.org/ +$PRGNAM: +EOF + +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la + +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/ht/SlackBuild b/ap/ht/SlackBuild index 8e445402..ce0baf87 100755 --- a/ap/ht/SlackBuild +++ b/ap/ht/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/ducaale/ht.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/httpie/SlackBuild b/ap/httpie/SlackBuild deleted file mode 100755 index 9317dce9..00000000 --- a/ap/httpie/SlackBuild +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# variables -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) -OUTPUT=/tmp - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM - -VERSION=$(date +%Y.%m.%d_%H.%M) - -DOCS="LICENSE README.rst AUTHORS.rst" - -ARCH=$(uname -m) -BUILD=1 - -PREFIX=/usr - -SLCKFLAGS="-fPIC -O2" - -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -# nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -GIT_URL="https://github.com/jkbr/httpie.git" -[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/$PRGNAM -cd $TMP/$PRGNAM - -# installation -python3 ./setup.py install --root=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM -cp -R $DOCS $PKG/usr/doc/$PRGNAM - -# correction -cd $PKG -chown -R root:root * - -# embaumement -mkdir -p $PKG/install -cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (a CLI, cURL-like tool for humans.) -$PRGNAM: -$PRGNAM: HTTPie is a command line HTTP client. Its goal is to make CLI interaction -$PRGNAM: with web services as human-friendly as possible. It provides a simple http -$PRGNAM: command that allows for sending arbitrary HTTP requests using a simple and -$PRGNAM: natural syntax, and displays colorized responses. HTTPie can be used for -$PRGNAM: testing, debugging, and generally interacting with HTTP servers. -$PRGNAM: -$PRGNAM: -$PRGNAM: http://httpie.org/ -$PRGNAM: -EOF - -# empaquetage -cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/httpie/SlackBuild b/ap/httpie/SlackBuild new file mode 120000 index 00000000..ae97225f --- /dev/null +++ b/ap/httpie/SlackBuild @@ -0,0 +1 @@ +../../generic-python.SlackBuild \ No newline at end of file diff --git a/ap/httpie/git.SlackBuild b/ap/httpie/git.SlackBuild new file mode 100755 index 00000000..6ed28686 --- /dev/null +++ b/ap/httpie/git.SlackBuild @@ -0,0 +1,68 @@ +#!/bin/bash + +# variables +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) +OUTPUT=/tmp + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +VERSION=${VERSION:-"trunk"} + +DOCS="LICENSE README.rst AUTHORS.rst" + +ARCH=$(uname -m) +BUILD=1 + +PREFIX=/usr + +SLCKFLAGS="-fPIC -O2" + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +# nettoyage préalable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +GIT_URL="https://github.com/jkbr/httpie.git" +[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +# installation +python3 ./setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM +cp -R $DOCS $PKG/usr/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +# embaumement +mkdir -p $PKG/install +cat < $PKG/install/slack-desc +$PRGNAM: $PRGNAM (a CLI, cURL-like tool for humans.) +$PRGNAM: +$PRGNAM: HTTPie is a command line HTTP client. Its goal is to make CLI interaction +$PRGNAM: with web services as human-friendly as possible. It provides a simple http +$PRGNAM: command that allows for sending arbitrary HTTP requests using a simple and +$PRGNAM: natural syntax, and displays colorized responses. HTTPie can be used for +$PRGNAM: testing, debugging, and generally interacting with HTTP servers. +$PRGNAM: +$PRGNAM: +$PRGNAM: http://httpie.org/ +$PRGNAM: +EOF + +# empaquetage +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/ap/hyperfine/SlackBuild b/ap/hyperfine/SlackBuild index 34b8e26e..a7f94e97 100755 --- a/ap/hyperfine/SlackBuild +++ b/ap/hyperfine/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/hyperfine.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/icr/SlackBuild b/ap/icr/SlackBuild index 4d477c7d..a3cd0753 100755 --- a/ap/icr/SlackBuild +++ b/ap/icr/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,11 +24,13 @@ mkdir -p $PKG $TMP # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/crystal-community/icr.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + make make install PREFIX=$PKG$PREFIX diff --git a/UNUSED/ap/apod/SlackBuild b/ap/ijq/SlackBuild similarity index 65% rename from UNUSED/ap/apod/SlackBuild rename to ap/ijq/SlackBuild index 006545c0..c7d23c1e 100755 --- a/UNUSED/ap/apod/SlackBuild +++ b/ap/ijq/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -12,36 +12,37 @@ PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -ARCH=noarch +ARCH=${ARCH:-$(uname -m)} REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} PREFIX=${PREFIX:-/usr} # nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION +rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/cr/apod $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~gpanders/ijq $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION -mkdir -p $PKG$PREFIX/bin/ -cp apod.sh $PKG$PREFIX/bin/ -chmod 755 $PKG$PREFIX/bin/apod.sh +make install DESTDIR=$PKG prefix=$PREFIX mandir=$PREFIX/man + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp COPYING* *.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG chown -R root:root * -# move doc/ to the appropriate location -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp README $PKG$PREFIX/doc/$PRGNAM +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install @@ -55,7 +56,9 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Command line tool for Nasa's Astronomy Picture Of The Day) +$PRGNAM: $PRGNAM (Interactive jq) +$PRGNAM: +$PRGNAM: Interactive jq tool. Like htttp://jqplay.org for the commandline. $PRGNAM: $PRGNAM: $PRGNAM: @@ -63,9 +66,7 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: -$PRGNAM: http://github.com/cr/apod/ -$PRGNAM: +$PRGNAM: https://git.sr.ht/~gpanders/ijq EOF # empaquetage diff --git a/ap/ion/SlackBuild b/ap/ion/SlackBuild index 14ea68d0..48909835 100755 --- a/ap/ion/SlackBuild +++ b/ap/ion/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://gitlab.redox-os.org/redox-os/ion/ $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location @@ -51,7 +52,7 @@ find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; mkdir -p $PKG/install cat < $PKG/install/doinst.sh -#!/bin/sh +#!/bin/bash grep -q ion /etc/shells || echo /bin/ion >> /etc/shells; EOF diff --git a/ap/ledger/SlackBuild b/ap/ledger/SlackBuild index 2efb99eb..6eede6de 100755 --- a/ap/ledger/SlackBuild +++ b/ap/ledger/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for ledger # Written by Lionel Young (redtricycle at gmail dot com) # updated and adapted to my own taste by Gwenhael Le Moine @@ -7,7 +7,7 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) BRANCH=${BRANCH:="CURRENT"} -VERSION=${VERSION:=${BRANCH}_$(date +%F | tr - .)} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=${BUILD:-2} TAG=${TAG:-gwh} @@ -62,7 +62,7 @@ case $BRANCH in ;; *) esac -[ $BRANCH != "RELEASE" ] && VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ $BRANCH != "RELEASE" ] && VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" ./acprep pull diff --git a/ap/legendary/SlackBuild b/ap/legendary/SlackBuild index 6893cb20..f103d862 100755 --- a/ap/legendary/SlackBuild +++ b/ap/legendary/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -26,7 +26,8 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/derrod/legendary.git $REPOSITORY -( cd $REPOSITORY && git pull ) +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM diff --git a/ap/logcli/SlackBuild b/ap/logcli/SlackBuild new file mode 100755 index 00000000..5f7b0543 --- /dev/null +++ b/ap/logcli/SlackBuild @@ -0,0 +1,59 @@ +#!/bin/bash + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-$(curl -s https://api.github.com/repos/grafana/loki/releases/latest | grep tag_name | grep -o "[0-9.]*")} +ARCH=${ARCH:-$(uname -m)} +BUILD=${BUILD:-1} +TAG=${TAG:-gwh} + +TMP=${TMP:-/tmp/$TAG} +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} +PREFIX=/usr + +GITEA_WORK_DIR=/var/lib/gitea + +wget -c https://github.com/grafana/loki/releases/download/v${VERSION}/logcli-linux-amd64.zip -O $CWD/logcli-linux-amd64-${VERSION}.zip +unzip $CWD/logcli-linux-amd64-${VERSION}.zip + +rm -fr $PKG + +mkdir -p $PKG$PREFIX/bin +mv $CWD/logcli-linux-amd64 $PKG$PREFIX/bin/${PRGNAM} +chmod +x $PKG$PREFIX/bin/${PRGNAM} + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/install +cat < $PKG/install/slack-desc + # HOW TO EDIT +THIS FILE: + # The "handy ruler" below makes it easier to edit a package description. Line + # up the first '|' above the ':' following the base package name, and the '|' + # on the right side marks the last column you can put a character in. You must + # make exactly 11 lines for the formatting to be correct. It's also + # customary to leave one space after the ':'. + + |-----handy-ruler--------------------------------------------------------| +$PRGNAM: $PRGNAM (like Prometheus, but for logs) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/grafana/loki +$PRGNAM: +EOF + +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la + +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/lsd/SlackBuild b/ap/lsd/SlackBuild index d46e0a2a..b55f2d9d 100755 --- a/ap/lsd/SlackBuild +++ b/ap/lsd/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/Peltoche/lsd.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/lsyncd/SlackBuild b/ap/lsyncd/SlackBuild index 1e036560..8806b2d6 100755 --- a/ap/lsyncd/SlackBuild +++ b/ap/lsyncd/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -28,10 +28,9 @@ mkdir -p $PKG cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/axkibe/lsyncd.git $REPOSITORY -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # configuration cmake \ diff --git a/UNUSED/ap/schemer2/SlackBuild b/ap/mdcat/SlackBuild similarity index 73% rename from UNUSED/ap/schemer2/SlackBuild rename to ap/mdcat/SlackBuild index e971ee1d..310228b9 100755 --- a/UNUSED/ap/schemer2/SlackBuild +++ b/ap/mdcat/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,22 +24,23 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/thefryscorer/schemer2.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/lunaryorn/mdcat $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION -go build +cargo build --release mkdir -p $PKG$PREFIX/bin -cp schemer2 $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp README.md $PKG$PREFIX/doc/$PRGNAM +cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG @@ -59,7 +60,7 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Terminal Colorscheme Generator and Converter) +$PRGNAM: $PRGNAM ( cat for markdown ) $PRGNAM: $PRGNAM: $PRGNAM: @@ -69,7 +70,7 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://github.com/thefryscorer/schemer2 +$PRGNAM: https://github.com/lunaryorn/mdcat EOF # empaquetage diff --git a/ap/motion/SlackBuild b/ap/motion/SlackBuild index 1f264295..74f487b6 100755 --- a/ap/motion/SlackBuild +++ b/ap/motion/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for motion. # @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=motion -VERSION=$(date +%F | tr - .) +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=${TAG:-gwh} @@ -61,11 +61,12 @@ cd $TMP rm -rf $PRGNAM [ ! -e $REPOSITORY ] && git clone https://github.com/Motion-Project/motion $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $PRGNAM cd $PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/ap/nu/SlackBuild b/ap/nu/SlackBuild index 37398b95..d9c396ab 100755 --- a/ap/nu/SlackBuild +++ b/ap/nu/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/nushell/nushell.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/oil/SlackBuild b/ap/oil/SlackBuild new file mode 100755 index 00000000..20f2ac5c --- /dev/null +++ b/ap/oil/SlackBuild @@ -0,0 +1,67 @@ +#!/bin/bash + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-$(curl -s "https://www.oilshell.org/download/?C=M;O=D" | grep -o "oil-[0-9].*tar.xz" | head -n1 | cut -d\> -f2 | sed 's|^oil-||' | sed 's|.tar.xz$||')} +BUILD=1 +TAG=gwh +ARCH=$(uname -m) + +OUTPUT=/tmp +TMP=/tmp/$TAG +PKG=$TMP/pkg-$PRGNAM + +PREFIX=/usr + +mkdir -p $TMP +cd $TMP + +# Cleaning +rm -fr $PRGNAM-${VERSION} $PKG + +# Fetching binaries +[ ! -e $CWD/${PRGNAM}-${VERSION}.tar.xz ] && wget -c https://www.oilshell.org/download/${PRGNAM}-${VERSION}.tar.xz -O $CWD/${PRGNAM}-${VERSION}.tar.xz + +tar xvf $CWD/${PRGNAM}-${VERSION}.tar.xz +cd ${PRGNAM}-${VERSION} + +# configuration +./configure \ + --prefix=/usr \ + --datarootdir=/usr + +make + +DESTDIR=$PKG ./install + +# Cleaning + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +cd $PKG +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# Packaging +mkdir install +cat < install/slack-desc +$PRGNAM: $PRGNAM (is a new Unix shell) +$PRGNAM: +$PRGNAM: Oil is a new Unix shell. It's our upgrade path from bash to a better +$PRGNAM: language and runtime. It's for Python and JavaScript users who avoid +$PRGNAM: shell! +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: http://www.oilshell.org/ +$PRGNAM: +EOF + +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/ap/pandoc-bin/SlackBuild b/ap/pandoc-bin/SlackBuild new file mode 100755 index 00000000..e846e64d --- /dev/null +++ b/ap/pandoc-bin/SlackBuild @@ -0,0 +1,52 @@ +#!/bin/bash + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-$(curl -s https://api.github.com/repos/jgm/pandoc/releases/latest | grep tag_name | grep -o "[0-9.]*")} +ARCH=$(uname -m) +BUILD=${BUILD:-1} +TAG=${TAG:-gwh} +TMP=${TMP:-/tmp/$TAG} +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +[ ! -e $CWD/${PRGNAM}-${VERSION}-${ARCH}.txz ] && wget -c -O $CWD/${PRGNAM}-${VERSION}-${ARCH}.txz https://github.com/jgm/pandoc/releases/download/$VERSION/pandoc-$VERSION-linux-amd64.tar.gz + +rm -fr $PKG +mkdir -p $PKG + +cd $PKG +tar xvf $CWD/${PRGNAM}-${VERSION}-${ARCH}.txz + +mv pandoc-${VERSION} usr +mv usr/share/man usr/ +rm -r usr/share + +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +${PRGNAM}: ${PRGNAM} ( Universal markup converter ) +${PRGNAM}: +${PRGNAM}: Pandoc is a Haskell library for converting from one markup format to +${PRGNAM}: another, and a command-line tool that uses this library. +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: +${PRGNAM}: https://pandoc.org +EOF + +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/ap/pip2tgz/SlackBuild b/ap/pip2tgz/SlackBuild new file mode 100755 index 00000000..6a790cc3 --- /dev/null +++ b/ap/pip2tgz/SlackBuild @@ -0,0 +1,70 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/h3xx/pip2tgz.git $REPOSITORY +cd $REPOSITORY +git pull --all +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +mkdir -p $PKG$PREFIX/bin +cp $REPOSITORY/pip2tgz $PKG$PREFIX/bin/ +chmod 755 $PKG$PREFIX/bin/* + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp $REPOSITORY/LICENSE $REPOSITORY/README.md $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (make package of pyhton modules) +$PRGNAM: +$PRGNAM: pip2tgz is a utility to create Slackware packages from Python Pip module distributions. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/h3xx/pip2tgz +$PRGNAM: +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/procs/SlackBuild b/ap/procs/SlackBuild index d7e4a20f..1ecce381 100755 --- a/ap/procs/SlackBuild +++ b/ap/procs/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/dalance/procs.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/protontricks/SlackBuild b/ap/protontricks/SlackBuild index f0fe6ac3..f49da096 100755 --- a/ap/protontricks/SlackBuild +++ b/ap/protontricks/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -26,7 +26,8 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/Matoking/protontricks.git $REPOSITORY -( cd $REPOSITORY && git pull ) +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM diff --git a/ap/ripgrep/SlackBuild b/ap/ripgrep/SlackBuild index a3c4d5cf..46a9c5c2 100755 --- a/ap/ripgrep/SlackBuild +++ b/ap/ripgrep/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/BurntSushi/ripgrep.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/rg $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/rustup/SlackBuild b/ap/rustup/SlackBuild index 61c9e8be..2bff6fdb 100755 --- a/ap/rustup/SlackBuild +++ b/ap/rustup/SlackBuild @@ -1,6 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,11 +25,12 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/rust-lang/rustup.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release --features no-self-update diff --git a/ap/sd/SlackBuild b/ap/sd/SlackBuild index a6e443ae..a6e463bc 100755 --- a/ap/sd/SlackBuild +++ b/ap/sd/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/chmln/sd.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/starship/SlackBuild b/ap/starship/SlackBuild index 0795cec7..b804692a 100755 --- a/ap/starship/SlackBuild +++ b/ap/starship/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/starship/starship.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/stow/SlackBuild b/ap/stow/SlackBuild index 6ab16066..0687ddb8 100755 --- a/ap/stow/SlackBuild +++ b/ap/stow/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -# VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,11 +25,12 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone http://github.com/aspiers/stow.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION autoconf aclocal --force diff --git a/ap/tldr/SlackBuild b/ap/tldr/SlackBuild index df20e0e3..34808a2c 100755 --- a/ap/tldr/SlackBuild +++ b/ap/tldr/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/dbrgn/tealdeer.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/ap/viu/SlackBuild b/ap/viu/SlackBuild new file mode 100755 index 00000000..ed6a5e71 --- /dev/null +++ b/ap/viu/SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM-$VERSION + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/atanunq/viu $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Simple terminal image viewer written in Rust.) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/atanunq/viu +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/ap/weboob/SlackBuild b/ap/weboob/SlackBuild index b6253fa8..de6466f9 100755 --- a/ap/weboob/SlackBuild +++ b/ap/weboob/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -24,7 +24,8 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://git.weboob.org/weboob/weboob.git $REPOSITORY -( cd $REPOSITORY && git pull ) +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM diff --git a/ap/wmname/SlackBuild b/ap/wmname/SlackBuild index 6af1c6f9..46721cfe 100755 --- a/ap/wmname/SlackBuild +++ b/ap/wmname/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x PRGNAM=wmname diff --git a/ap/wp-cli/SlackBuild b/ap/wp-cli/SlackBuild index 5dd6e9c4..4a66011e 100755 --- a/ap/wp-cli/SlackBuild +++ b/ap/wp-cli/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=noarch BUILD=1 diff --git a/ap/ycmd/SlackBuild b/ap/ycmd/SlackBuild index 3db96a20..80f2851f 100755 --- a/ap/ycmd/SlackBuild +++ b/ap/ycmd/SlackBuild @@ -1,6 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,11 +25,12 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/Valloric/ycmd.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION git submodule update --init --recursive TERM=xterm \ diff --git a/ap/ytop/SlackBuild b/ap/ytop/SlackBuild index da09cdd0..607c1ba9 100755 --- a/ap/ytop/SlackBuild +++ b/ap/ytop/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/cjbassi/ytop.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location diff --git a/d/ameba/SlackBuild b/d/ameba/SlackBuild index fb4ade71..31d26c6c 100755 --- a/d/ameba/SlackBuild +++ b/d/ameba/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -28,10 +28,9 @@ mkdir -p $PKG cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/crystal-ameba/ameba.git $REPOSITORY -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - -cd $TMP/$PRGNAM-$VERSION +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # compilation shards build --verbose --release diff --git a/d/chruby/SlackBuild b/d/chruby/SlackBuild index 20b6c132..341249ec 100755 --- a/d/chruby/SlackBuild +++ b/d/chruby/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables @@ -11,7 +11,7 @@ PKG=$TMP/pkg-$PRGNAM REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -VERSION=$(date +%Y.%m%d_%H.%M) +VERSION=${VERSION:-"trunk"} ARCH='noarch' BUILD=1 @@ -24,15 +24,16 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/postmodern/chruby $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all # nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION +rm -fr $PKG $TMP/$PRGNAM -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # compilation make -j3 PREFIX=$PREFIX diff --git a/d/crystal/SlackBuild b/d/crystal/SlackBuild index d35581f4..c1326c0d 100755 --- a/d/crystal/SlackBuild +++ b/d/crystal/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x -e CWD=$(pwd) diff --git a/d/dtc/SlackBuild b/d/dtc/SlackBuild index 7bb54990..a2655de6 100755 --- a/d/dtc/SlackBuild +++ b/d/dtc/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,11 +25,12 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION make make install PREFIX=$PKG$PREFIX LIBDIR=$PKG$PREFIX/lib$(uname -m | grep -o 64) diff --git a/d/factor/SlackBuild b/d/factor/SlackBuild index 26639d86..72ca576e 100755 --- a/d/factor/SlackBuild +++ b/d/factor/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x -e CWD=$(pwd) @@ -28,7 +28,7 @@ mkdir -p $PKG$PREFIX/libexec/ # installation mkdir -p $PKG$PREFIX/{bin,doc/$PRGNAM-$VERSION} cat < $PKG$PREFIX/bin/$PRGNAM -#!/bin/sh +#!/bin/bash cd $PREFIX/libexec/$PRGNAM ./$PRGNAM \$@ EOF diff --git a/d/ghcup/SlackBuild b/d/ghcup/SlackBuild new file mode 100755 index 00000000..c63c6572 --- /dev/null +++ b/d/ghcup/SlackBuild @@ -0,0 +1,49 @@ +#!/bin/bash + +set -e + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-$(curl -s "https://gitlab.haskell.org/haskell/ghcup-hs/-/tags?format=atom" | grep "title>v" | head -n1 | grep -o "[0-9rc.-]*")} +ARCH=$(uname -m) +BUILD=${BUILD:-1} +TAG=${TAG:-gwh} +TMP=${TMP:-/tmp/$TAG} +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +[ ! -e $CWD/${PRGNAM}-${VERSION} ] && wget -c -O $CWD/${PRGNAM}-${VERSION} https://downloads.haskell.org/~ghcup/$VERSION/${ARCH}-linux-ghcup-$VERSION + +rm -fr $PKG +mkdir -p $PKG/bin + +cp $CWD/${PRGNAM}-${VERSION} $PKG/bin/$PRGNAM + +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +${PRGNAM}: ${PRGNAM} ( installer for Haskell ) +${PRGNAM}: +${PRGNAM}: ghcup makes it easy to install specific versions of ghc on GNU/Linux, +${PRGNAM}: macOS (aka Darwin) and FreeBSD and can also bootstrap a fresh Haskell +${PRGNAM}: developer environment from scratch. It follows the unix UNIX +${PRGNAM}: philosophy of do one thing and do it well. +${PRGNAM}: +${PRGNAM}: Similar in scope to rustup, pyenv and jenv. +${PRGNAM}: +${PRGNAM}: https://www.haskell.org/ghcup/ +${PRGNAM}: https://gitlab.haskell.org/haskell/ghcup-hs +EOF + +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/UNUSED/d/mint/SlackBuild b/d/lovr/SlackBuild similarity index 59% rename from UNUSED/d/mint/SlackBuild rename to d/lovr/SlackBuild index 361cca79..4399ffd9 100755 --- a/UNUSED/d/mint/SlackBuild +++ b/d/lovr/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -26,28 +26,38 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/mint-lang/mint.git $REPOSITORY +[ ! -e $REPOSITORY ] && git clone --recursive https://github.com/bjornbytes/lovr.git $REPOSITORY -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # configuration -shards install +git submodule update --init + +mkdir build +cd build +cmake \ + -DCMAKE_INSTALL_PREFIX=$PREFIX \ + -DCMAKE_INSTALL_MANDIR=$PREFIX/man \ + .. # compilation -crystal build src/mint.cr -o mint -p --error-trace -make documentation +#cmake --build . +make all +make luajit # installation -mkdir -p $PKG$PREFIX/{bin,doc}/ -cp mint $PKG$PREFIX/bin/ -cp -R docs $PKG$PREFIX/doc/$PRGNAM +make install DESTDIR=$PKG + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cd .. +cp *.md LICENSE $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG chown -R root:root * +[ -d usr/local ] && mv usr/local/* usr/ && rm -fr usr/local find $PKG -name \.git\* -exec rm -fr {} \; @@ -61,15 +71,15 @@ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs st # embaumement mkdir -p $PKG/install cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (A refreshing programming language for the front-end web.) +$PRGNAM: $PRGNAM (Lua virtual reality engine) $PRGNAM: -$PRGNAM: A refreshing programming language for the front-end web, aiming to solve the most -$PRGNAM: common issues of Single Page Applications (SPAs) at a language level. -$PRGNAM: While focusing on: Developer happiness, Fast compilation, Readability +$PRGNAM: An open source framework for rapidly building immersive 3D experiences. $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://www.mint-lang.com/ +$PRGNAM: +$PRGNAM: +$PRGNAM: https://lovr.org $PRGNAM: EOF diff --git a/d/rbspy/SlackBuild b/d/rbspy/SlackBuild index e8d3fd8d..9a1ae14d 100755 --- a/d/rbspy/SlackBuild +++ b/d/rbspy/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,16 +25,17 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/rbspy/rbspy.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/rbspy $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location @@ -62,8 +63,8 @@ cat < $PKG/install/slack-desc $PRGNAM: $PRGNAM (Sampling profiler for Ruby) $PRGNAM: $PRGNAM: Have a running Ruby program that you want to profile without -$PRGNAM: restarting it? Want to profile a Ruby command line program really -$PRGNAM: easily? You want rbspy! rbspy can profile any Ruby program just by +$PRGNAM: restarting it? Want to profile a Ruby command line program really +$PRGNAM: easily? You want rbspy! rbspy can profile any Ruby program just by $PRGNAM: running 1 simple command. $PRGNAM: $PRGNAM: diff --git a/d/rpn/SlackBuild b/d/rpn/SlackBuild index da09d8c9..d8c1e9ab 100755 --- a/d/rpn/SlackBuild +++ b/d/rpn/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -28,10 +28,9 @@ mkdir -p $PKG cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/louisrubet/rpn.git $REPOSITORY -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION sed -i 's|git@github.com:|https://github.com/|g' $(grep -l git@ .*) diff --git a/d/ruby-install/SlackBuild b/d/ruby-install/SlackBuild index 751648c8..7cf5b6c4 100755 --- a/d/ruby-install/SlackBuild +++ b/d/ruby-install/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables @@ -10,7 +10,7 @@ PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM -VERSION=$(date +%Y.%m%d_%H.%M) +VERSION=${VERSION:-"trunk"} ARCH='noarch' BUILD=1 @@ -21,15 +21,16 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/postmodern/ruby-install $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all # nettoyage préalable -rm -fr $PKG $TMP/$PRGNAM-$VERSION +rm -fr $PKG $TMP/$PRGNAM -cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -cd $TMP/$PRGNAM-$VERSION +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # compilation make -j3 PREFIX=$PREFIX diff --git a/d/scry/SlackBuild b/d/scry/SlackBuild index a3ac3d14..eedfdf9b 100755 --- a/d/scry/SlackBuild +++ b/d/scry/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -28,10 +28,9 @@ mkdir -p $PKG cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/crystal-lang-tools/scry.git $REPOSITORY -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION sed -i 's|Errno|File::Error|g' src/scry/text_document.cr diff --git a/UNUSED/d/stack/SlackBuild b/d/stack/SlackBuild similarity index 99% rename from UNUSED/d/stack/SlackBuild rename to d/stack/SlackBuild index dc0bc7a7..7eab4052 100755 --- a/UNUSED/d/stack/SlackBuild +++ b/d/stack/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) TMP=${TMP:-/tmp/$TAG} diff --git a/d/u-boot-tools/SlackBuild b/d/u-boot-tools/SlackBuild index 4cc78009..69e8cee3 100755 --- a/d/u-boot-tools/SlackBuild +++ b/d/u-boot-tools/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright 2011 Eric Hameleers, Eindhoven, NL # All rights reserved. diff --git a/d/wabt/SlackBuild b/d/wabt/SlackBuild index a3585d39..9c67298a 100755 --- a/d/wabt/SlackBuild +++ b/d/wabt/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -28,10 +28,9 @@ mkdir -p $PKG cd $TMP [ ! -e $REPOSITORY ] && git clone --recursive https://github.com/WebAssembly/wabt.git $REPOSITORY -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION - cd $TMP/$PRGNAM-$VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # configuration mkdir build diff --git a/d/yarn/SlackBuild b/d/yarn/SlackBuild index 5c512893..64fc6873 100755 --- a/d/yarn/SlackBuild +++ b/d/yarn/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) PRGNAM=$(basename $CWD) diff --git a/d/zig/SlackBuild b/d/zig/SlackBuild new file mode 100755 index 00000000..54cf22d7 --- /dev/null +++ b/d/zig/SlackBuild @@ -0,0 +1,55 @@ +#!/bin/bash +set -x -e + +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +ARCH=$(uname -m) +VERSION=$(curl -s https://ziglang.org/download/index.json | jq 'keys' | grep -v master | grep -v \\\[ | grep -v \\\] | tr -d , | tr -d \" | tr -d \ | sort -V | tail -n1) +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +PKG=$TMP/pkg-$PRGNAM +PREFIX=/usr + +# cleaning +rm -fr $PKG + +# unpacking +[ ! -e $CWD/zig-linux-${ARCH}-${VERSION}.tar.gz ] && wget -c https://ziglang.org/download/${VERSION}/zig-linux-${ARCH}-${VERSION}.tar.xz -O $CWD/zig-linux-${ARCH}-${VERSION}.tar.gz + +mkdir -p $TMP +cd $TMP +tar xvf $CWD/zig-linux-${ARCH}-${VERSION}.tar.gz +cd zig-linux-${ARCH}-${VERSION} + +# installation +mkdir -p $PKG$PREFIX/bin/ +install -D zig $PKG$PREFIX/bin/zig + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +install -D LICENSE $PKG$PREFIX/doc/zig/LICENSE +cp -r lib $PKG$PREFIX +cp -r doc/ $PKG$PREFIX/doc/zig/ + +# packaging +cd $PKG +mkdir install +cat < install/slack-desc +$PRGNAM: $PRGNAM (robust, optimal, and clear programming language) +$PRGNAM: +$PRGNAM: Zig is a general-purpose programming language and toolchain for +$PRGNAM: maintaining robust, optimal, and reusable software. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://ziglang.org/ +$PRGNAM: +EOF + +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr -d '-')-$ARCH-$BUILD$TAG.txz diff --git a/e/emacs/SlackBuild b/e/emacs/SlackBuild index b26c0de7..f8f99f3c 100755 --- a/e/emacs/SlackBuild +++ b/e/emacs/SlackBuild @@ -32,6 +32,7 @@ BUILD=${BUILD:-1} TAG=gwh BRANCH=${BRANCH:-master} +VERSION=${VERSION:-"trunk"} REPOSITORY=/home/installs/SlackBuilds/repositories/$PKGNAM @@ -83,17 +84,19 @@ rm -rf $PKGNAM [ ! -e $REPOSITORY ] && git clone git://git.savannah.gnu.org/emacs.git $REPOSITORY -( cd $REPOSITORY - git checkout $BRANCH - git pull - [ -e Makefile ] && make distclean -) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git checkout $BRANCH +git pull --all +[ "x$VERSION" == "xtrunk" ] || git checkout $VERSION +[ -e Makefile ] && make distclean +./autogen.sh + +rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/msg01430.html + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" mkdir -p $TMP/$PKGNAM -SRCDIR=$REPOSITORY - -cd $PKGNAM || exit 1 +cd $TMP/$PKGNAM || exit 1 # tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1 # cd $PKGNAM-$SRCDIRVER || exit 1 @@ -105,11 +108,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -#autoreconf -vif -(cd $SRCDIR - ./autogen.sh -) - +SRCDIR=$REPOSITORY EMACS_VERSION=$(grep "AC_INIT(GNU Emacs," $SRCDIR/configure.ac | cut -d, -f 2 | tr -d \ ) CFLAGS="$SLKCFLAGS" \ @@ -125,23 +124,31 @@ $SRCDIR/configure \ --without-gconf \ --without-gsettings \ --with-modules \ - --with-x \ - --with-x-toolkit=${X_TOOLKIT:-gtk3} \ - --without-toolkit-scroll-bars \ + --with-dbus \ + --with-gif \ + --with-jpeg \ + --with-png \ + --with-rsvg \ + --with-tiff \ + --with-xft \ + --with-xpm \ + --with-gpm=no \ + --with-pgtk \ --enable-link-time-optimization \ --with-compress-install \ --without-gconf \ --with-gameuser=":games" \ --disable-libsystemd \ --build=${ARCH}-slackware-linux || exit 1 + # --with-x \ + # --with-x-toolkit=${X_TOOLKIT:-gtk3} \ + # --without-toolkit-scroll-bars \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -( cd $PKG/usr/bin - rm emacs - mv emacs-${EMACS_VERSION} emacs-${EMACS_VERSION}-with-x11 -) +rm $PKG/usr/bin/emacs +mv $PKG/usr/bin/emacs-${EMACS_VERSION} $PKG/usr/bin/emacs-${EMACS_VERSION}-with-x11 # Also add a version of the binary that is not linked to X11: # cd $TMP @@ -206,15 +213,14 @@ fi find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +find $PKG/usr/man/ -type f -exec gzip -9 {} \+ ( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \+ for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done ) -( cd $PKG/usr/info - rm -f dir - gzip -9 * -) +rm -f $PKG/usr/info/dir +gzip -9 $PKG/usr/info/* + mkdir -p $PKG/usr/doc/$PKGNAM-$EMACS_VERSION cp -a \ diff --git a/generic-python.SlackBuild b/generic-python.SlackBuild new file mode 100755 index 00000000..a052d0b6 --- /dev/null +++ b/generic-python.SlackBuild @@ -0,0 +1,58 @@ +#!/bin/bash + +# Generic python SlackBuild + +# variables +TAG=${TAG:-pip_gwh} +TMP=/tmp/$TAG +CWD=$(pwd) +OUTPUT=/tmp + +PRGNAM=${PRGNAM:-$(basename $CWD)} +PKG=$TMP/pkg-$PRGNAM + +VERSION=${VERSION:-"pip"} + +ARCH=$(uname -m) +BUILD=1 + +# nettoyage préalable +rm -fr $PKG +mkdir -p $PKG + +# installation +EXTRA="" +[ "x$VERSION" == "xpip" ] || EXTRA="==$VERSION" +pip install --ignore-installed --root $PKG --no-deps $PRGNAM$EXTRA + +METADATA_FILE=$(find $PKG -name METADATA) + +[ ! -e $METADATA_FILE ] && exit 1 +VERSION=$(grep "^Version:" $METADATA_FILE | sed 's|^Version: ||') +SUMMARY=$(grep "^Summary:" $METADATA_FILE | sed 's|^Summary: ||') +HOMEPAGE=$(grep "^Home-page:" $METADATA_FILE | sed 's|^Home-page: ||') + +# correction +cd $PKG +chown -R root:root * + +# embaumement +mkdir -p $PKG/install +cat < $PKG/install/slack-desc +$PRGNAM: $PRGNAM ($SUMMARY) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: $HOMEPAGE +$PRGNAM: +EOF + +# empaquetage +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/python-$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/apcu/SlackBuild b/l/apcu/SlackBuild index fbcd737b..c60642d6 100755 --- a/l/apcu/SlackBuild +++ b/l/apcu/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -9,7 +9,7 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM -VERSION=$(date +%Y.%m.%d_%H.%M) +VERSION=${VERSION:-"trunk"} EXT=tar.gz @@ -31,11 +31,12 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/krakjoe/apcu.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $PRGNAM cd $PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # configuration phpize diff --git a/l/basu/SlackBuild b/l/basu/SlackBuild new file mode 100755 index 00000000..e63c0ec7 --- /dev/null +++ b/l/basu/SlackBuild @@ -0,0 +1,77 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/emersion/basu $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ + +cd $TMP/$PRGNAM/ +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" || git checkout $VERSION + +meson build/ +meson configure --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (The sd-bus library, extracted from systemd.) +$PRGNAM: +$PRGNAM: Some projects rely on the sd-bus library for DBus support. However +$PRGNAM: not all systems have systemd or elogind installed. This library +$PRGNAM: provides just sd-bus (and the busctl utility). +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/emersion/basu +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/l/cffi/SlackBuild b/l/cffi/SlackBuild new file mode 120000 index 00000000..ae97225f --- /dev/null +++ b/l/cffi/SlackBuild @@ -0,0 +1 @@ +../../generic-python.SlackBuild \ No newline at end of file diff --git a/l/cffi/git.SlackBuild b/l/cffi/git.SlackBuild new file mode 100755 index 00000000..6d8724d0 --- /dev/null +++ b/l/cffi/git.SlackBuild @@ -0,0 +1,76 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +DOCS="LICENSE AUTHORS *.md" + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && hg clone https://foss.heptapod.net/pypy/cffi $REPOSITORY +cd $REPOSITORY +hg pull + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +# [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="hg_$(date +%F)" + +# installation +python3 ./setup.py install --root=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM +cp -R $DOCS $PKG/usr/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (A Foreign Function Interface for Python.) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: http://cffi.readthedocs.org/ +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/keepassx/SlackBuild b/l/fmt/SlackBuild similarity index 59% rename from UNUSED/xap/keepassx/SlackBuild rename to l/fmt/SlackBuild index e53f0408..c52312f4 100755 --- a/UNUSED/xap/keepassx/SlackBuild +++ b/l/fmt/SlackBuild @@ -1,14 +1,13 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 - TAG=gwh TMP=/tmp/$TAG PKG=$TMP/pkg-$PRGNAM @@ -27,29 +26,26 @@ mkdir -p $PKG # mise en place cd $TMP -if [ ! -e $REPOSITORY ]; then - git clone https://github.com/keepassx/keepassx.git $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi -cp -R $REPOSITORY $TMP/$PRGNAM +[ ! -e $REPOSITORY ] && git clone https://github.com/fmtlib/fmt.git $REPOSITORY +cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # configuration cmake \ -DCMAKE_INSTALL_PREFIX=$PREFIX \ - -DSYSCONFDIR=/etc \ . # compilation -make -j3 +make -j$(nproc) # installation make install DESTDIR=$PKG +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -R *.rst *.md $PKG$PREFIX/doc/$PRGNAM + # correction cd $PKG chown -R root:root * @@ -59,28 +55,25 @@ find $PKG -name \.git\* -exec rm -fr {} \; [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; # Strip binaries -( cd $PKG - 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 -) - +cd $PKG +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 (Password manager) -$PRGNAM: -$PRGNAM: KeePassX is a cross platform port of the windows application -$PRGNAM: “Keepass Password Safeâ€. +$PRGNAM: $PRGNAM ( A modern formatting library ) $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: -$PRGNAM: http://www.keepassx.org/ $PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/fmtlib/fmt EOF # empaquetage -cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/hinnant-date/SlackBuild b/l/hinnant-date/SlackBuild new file mode 100755 index 00000000..451e95c3 --- /dev/null +++ b/l/hinnant-date/SlackBuild @@ -0,0 +1,86 @@ +#!/bin/bash + +set -e + +# variables +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-"trunk"} +ARCH=${ARCH:-$(uname -m)} +BUILD=1 + +TAG=gwh +TMP=/tmp/$TAG +PKG=$TMP/pkg-$PRGNAM +OUTPUT=/tmp + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM + +PREFIX=/usr + +SLCKFLAGS=" -O " + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/HowardHinnant/date.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" || git checkout $VERSION + +# configuration +cmake \ + -DCMAKE_INSTALL_PREFIX=$PREFIX \ + -DENABLE_DATE_TESTING=ON \ + -DBUILD_TZ_LIB=ON \ + . + +# compilation +make -j$(nproc) + +# installation +make install DESTDIR=$PKG + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -R *.txt *.md $PKG$PREFIX/doc/$PRGNAM + +# 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 +cd $PKG +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 (A date and time library based on the C++11/14/17 header) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://howardhinnant.github.io/date/date.html +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/owncloudclient/SlackBuild b/l/libucl/SlackBuild similarity index 51% rename from UNUSED/xap/owncloudclient/SlackBuild rename to l/libucl/SlackBuild index bbc6785d..0280b137 100755 --- a/UNUSED/xap/owncloudclient/SlackBuild +++ b/l/libucl/SlackBuild @@ -1,11 +1,12 @@ -#!/bin/sh +#!/bin/bash + +set -e # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -STABLE=${STABLE:-"NO"} +VERSION=${VERSION:-"git"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -27,34 +28,35 @@ mkdir -p $PKG # mise en place cd $TMP -if [ "x$STABLE" == "xYES" ]; then - wget -c https://download.owncloud.com/desktop/stable/$PRGNAM-$VERSION.tar.xz -O $CWD/$PRGNAM-$VERSION.tar.xz - tar xf $CWD/$PRGNAM-$VERSION.tar.xz -else - if [ ! -e $REPOSITORY ]; then - git clone https://github.com/owncloud/client.git $REPOSITORY - else - ( cd $REPOSITORY - git pull - ) - fi - cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -fi +[ ! -e $REPOSITORY ] && git clone https://github.com/vstakhov/libucl.git $REPOSITORY +cd $REPOSITORY +git pull --all -cd $TMP/$PRGNAM-$VERSION +cp -R $REPOSITORY $TMP/$PRGNAM + +cd $TMP/$PRGNAM +[ "x$VERSION" == "xgit" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # configuration -cmake \ - -DCMAKE_INSTALL_PREFIX=$PREFIX \ - -DSYSCONFDIR=/etc \ - . +# [ -e CMakeLists.txt ] && cmake \ +# -DCMAKE_INSTALL_PREFIX=$PREFIX \ +# . +./autogen.sh +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(uname -m | grep -o "64") \ + --mandir=/usr/man # compilation -make -j3 +make -j$(nproc) # installation make install DESTDIR=$PKG +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -R *.md $PKG$PREFIX/doc/$PRGNAM + # correction cd $PKG chown -R root:root * @@ -64,28 +66,25 @@ find $PKG -name \.git\* -exec rm -fr {} \; [ -d $PKG/usr/man ] && find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; # Strip binaries -( cd $PKG - 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 -) - +# cd $PKG +# 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 (ownCloud Desktop Syncing Client) -$PRGNAM: -$PRGNAM: The ownCloud Desktop Client is a tool to synchronize files from -$PRGNAM: ownCloud Server with your computer. +$PRGNAM: $PRGNAM (Universal configuration library parser) $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://github.com/owncloud/client $PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/vstakhov/libucl EOF # empaquetage -cd $PKG rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/xap/syncthing-gtk/SlackBuild b/l/python-cairo-cffi/SlackBuild similarity index 61% rename from UNUSED/xap/syncthing-gtk/SlackBuild rename to l/python-cairo-cffi/SlackBuild index d023c7b1..ba5a7ba6 100755 --- a/UNUSED/xap/syncthing-gtk/SlackBuild +++ b/l/python-cairo-cffi/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -9,38 +9,38 @@ OUTPUT=/tmp PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM -VERSION=$(date +%Y.%m.%d_%H.%M) +VERSION=${VERSION:-"trunk"} + +DOCS="LICENSE *.rst" ARCH=$(uname -m) BUILD=1 PREFIX=/usr -REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +SLCKFLAGS="-fPIC -O2" +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM # nettoyage préalable rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -GIT_URL="https://github.com/syncthing/syncthing-gtk.git" +GIT_URL="https://github.com/Kozea/cairocffi.git" [ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM -cd $TMP/$PRGNAM/ - -python ./setup.py build +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # installation -python ./setup.py install --root=$PKG +python3 ./setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM -cp -R LICENSE README.md $PKG/usr/doc/$PRGNAM - -mv $PKG$PREFIX/share/man $PKG$PREFIX/ +cp -R $DOCS $PKG/usr/doc/$PRGNAM # correction cd $PKG @@ -49,7 +49,7 @@ chown -R root:root * # embaumement mkdir -p $PKG/install cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM ( GTK3 & python based GUI for Syncthing) +$PRGNAM: $PRGNAM (CFFI-based cairo bindings for Python) $PRGNAM: $PRGNAM: $PRGNAM: @@ -58,8 +58,8 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: +$PRGNAM: https://github.com/Kozea/cairocffi $PRGNAM: -$PRGNAM: https://github.com/syncthing/syncthing-gtk EOF # empaquetage diff --git a/l/pywayland/SlackBuild b/l/pywayland/SlackBuild new file mode 120000 index 00000000..ae97225f --- /dev/null +++ b/l/pywayland/SlackBuild @@ -0,0 +1 @@ +../../generic-python.SlackBuild \ No newline at end of file diff --git a/l/pywlroots/SlackBuild b/l/pywlroots/SlackBuild new file mode 120000 index 00000000..ae97225f --- /dev/null +++ b/l/pywlroots/SlackBuild @@ -0,0 +1 @@ +../../generic-python.SlackBuild \ No newline at end of file diff --git a/UNUSED/ap/icdiff/SlackBuild b/l/pywlroots/git.SlackBuild similarity index 60% rename from UNUSED/ap/icdiff/SlackBuild rename to l/pywlroots/git.SlackBuild index 6d474cce..f6904565 100755 --- a/UNUSED/ap/icdiff/SlackBuild +++ b/l/pywlroots/git.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -9,13 +9,17 @@ OUTPUT=/tmp PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM -DOCS="ChangeLog README.md" +VERSION=${VERSION:-"trunk"} + +DOCS="LICENSE *.rst" ARCH=$(uname -m) BUILD=1 PREFIX=/usr +SLCKFLAGS="-fPIC -O2" + REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM # nettoyage préalable rm -fr $PKG $TMP/$PRGNAM @@ -23,16 +27,18 @@ rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/jeffkaufman/icdiff $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +GIT_URL="https://github.com/flacjacket/pywlroots.git" +[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # installation -mkdir -p $PKG$PREFIX/bin/ -cp icdiff git-icdiff $PKG$PREFIX/bin/ +python3 ./setup.py install --root=$PKG + mkdir -p $PKG/usr/doc/$PRGNAM cp -R $DOCS $PKG/usr/doc/$PRGNAM @@ -43,7 +49,7 @@ chown -R root:root * # embaumement mkdir -p $PKG/install cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM (improved color diff) +$PRGNAM: $PRGNAM (Python binding to the wlroots library using cffi) $PRGNAM: $PRGNAM: $PRGNAM: @@ -52,7 +58,7 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: http://www.jefftk.com/icdiff +$PRGNAM: https://github.com/flacjacket/pywlroots $PRGNAM: EOF diff --git a/l/raylib/SlackBuild b/l/raylib/SlackBuild index 1540c59f..cdec0592 100755 --- a/l/raylib/SlackBuild +++ b/l/raylib/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -27,12 +27,15 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/raysan5/raylib.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM -cd $TMP/$PRGNAM/src +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cd src make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED make install DESTDIR=$PKG RAYLIB_LIBTYPE=SHARED RAYLIB_INSTALL_PATH=$PKG$PREFIX/lib$(uname -m | grep -o 64) diff --git a/l/spdlog/SlackBuild b/l/spdlog/SlackBuild new file mode 100755 index 00000000..84275223 --- /dev/null +++ b/l/spdlog/SlackBuild @@ -0,0 +1,80 @@ +#!/bin/bash + +# variables +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +VERSION=${VERSION:-"trunk"} +ARCH=${ARCH:-$(uname -m)} +BUILD=1 + +TAG=gwh +TMP=/tmp/$TAG +PKG=$TMP/pkg-$PRGNAM +OUTPUT=/tmp + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM + +PREFIX=/usr + +SLCKFLAGS=" -O " + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/gabime/spdlog.git $REPOSITORY + +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +# configuration +cmake \ + -DCMAKE_INSTALL_PREFIX=$PREFIX \ + . + +# compilation +make -j$(nproc) + +# installation +make install DESTDIR=$PKG + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -R INSTALL LICENSE *.md $PKG$PREFIX/doc/$PRGNAM + +# 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 +cd $PKG +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 ( Fast C++ logging library. ) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/gabime/spdlog +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz diff --git a/l/xcffib/SlackBuild b/l/xcffib/SlackBuild new file mode 120000 index 00000000..ae97225f --- /dev/null +++ b/l/xcffib/SlackBuild @@ -0,0 +1 @@ +../../generic-python.SlackBuild \ No newline at end of file diff --git a/l/xkbcommon/SlackBuild b/l/xkbcommon/SlackBuild new file mode 120000 index 00000000..ae97225f --- /dev/null +++ b/l/xkbcommon/SlackBuild @@ -0,0 +1 @@ +../../generic-python.SlackBuild \ No newline at end of file diff --git a/UNUSED/l/PyExecJS/SlackBuild b/l/xkbcommon/git.SlackBuild similarity index 52% rename from UNUSED/l/PyExecJS/SlackBuild rename to l/xkbcommon/git.SlackBuild index edc5cb62..128d7f0e 100755 --- a/UNUSED/l/PyExecJS/SlackBuild +++ b/l/xkbcommon/git.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -9,9 +9,9 @@ OUTPUT=/tmp PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM -VERSION=$(date +%Y.%m.%d_%H.%M) +VERSION=${VERSION:-"trunk"} -DOCS="LICENSE README.*" +DOCS="LICENSE README.rst" ARCH=$(uname -m) BUILD=1 @@ -21,22 +21,23 @@ PREFIX=/usr SLCKFLAGS="-fPIC -O2" REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM - # nettoyage préalable rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -[ ! -e $REPOSITORY ] && git clone https://github.com/doloopwhile/PyExecJS.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +GIT_URL="https://github.com/sde1000/python-xkbcommon.git" +[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY +cd $REPOSITORY +git pull --all -cp -R $REPOSITORIES/${PRGNAM} $TMP/$PRGNAM +cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # installation -python ./setup.py install --root=$PKG +python3 ./setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM cp -R $DOCS $PKG/usr/doc/$PRGNAM @@ -48,16 +49,16 @@ chown -R root:root * # embaumement mkdir -p $PKG/install cat < $PKG/install/slack-desc -$PRGNAM: $PRGNAM ( Run JavaScript code from Python) -$PRGNAM: -$PRGNAM: PyExecJS is a porting of ExecJS from Ruby. PyExecJS automatically picks -$PRGNAM: the best runtime available to evaluate your JavaScript program, then -$PRGNAM: returns the result to you as a Python object. +$PRGNAM: $PRGNAM (Python bindings for libxkbcommon using cffi) $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://github.com/doloopwhile/PyExecJS +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/sde1000/python-xkbcommon $PRGNAM: EOF diff --git a/lua/awesome/SlackBuild b/lua/awesome/SlackBuild index 465d3a19..e5a78a75 100755 --- a/lua/awesome/SlackBuild +++ b/lua/awesome/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) @@ -35,7 +35,7 @@ cd $TMP rm -fr $TMP/$PRGNAM mkdir -p $TMP/$PRGNAM cd $TMP/$PRGNAM -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +VERSION="git_$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" # configuration cmake \ diff --git a/lua/lgi/SlackBuild b/lua/lgi/SlackBuild index 94278b1d..11b91e3f 100755 --- a/lua/lgi/SlackBuild +++ b/lua/lgi/SlackBuild @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) # default settings PRGNAM=$(basename $CWD) ARCH=$(uname -m) -VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)} +VERSION=${VERSION:-"trunk"} BUILD=1 @@ -26,8 +26,9 @@ if [ -e $CWD/$PRGNAM-$VERSION.tar.xz ] ; then tar xvf $CWD/$PRGNAM-$VERSION.tar.xz else [ ! -e $REPOSITORY ] && git clone https://github.com/pavouk/lgi.git $REPOSITORY - ( cd $REPOSITORY && git pull ) - VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" + cd $REPOSITORY +git pull --all + VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORY $PRGNAM fi diff --git a/lua/lua/SlackBuild b/lua/lua/SlackBuild index 9a10a8ed..d7e98b39 100755 --- a/lua/lua/SlackBuild +++ b/lua/lua/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for lua53 @@ -26,7 +26,7 @@ CWD=${CWD:-$(pwd)} PRGNAM=$(basename $CWD) -VERSION=${VERSION:-5.4.0} +VERSION=${VERSION:-5.3.6} BUILD=${BUILD:-1} TAG=${TAG:-gwh} @@ -109,6 +109,9 @@ cp -a liblua.so.$R $PKG/usr/lib${LIBDIRSUFFIX} ln -s liblua.so.$R liblua.so.$V ln -s liblua.so.$R liblua.so.${V%??} ln -s liblua.so.$R liblua.so + ln -s liblua.so.$R liblua$(echo $R | cut -d. -f1,2).so + ln -s liblua.so.$R liblua$(echo $R | cut -d. -f1).so + ln -s liblua.so.$R liblua$R.so ) cd - >/dev/null diff --git a/lua/luarocks/SlackBuild b/lua/luarocks/SlackBuild index 24afe8e7..52303ff8 100755 --- a/lua/luarocks/SlackBuild +++ b/lua/luarocks/SlackBuild @@ -1,6 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables +VERSION=${VERSION:-"trunk"} TAG=gwh TMP=/tmp/$TAG @@ -33,12 +34,12 @@ cd $TMP ( cd $REPOSITORIES/$PRGNAM; git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM - cd $PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + # configuration CFLAGS=$SLCKFLAGS \ CPPFLAGS=$SLCKFLAGS \ @@ -53,7 +54,7 @@ make install DESTDIR=$PKG ROCKS_TREE=$PREFIX/lib64/luarocks #LUADIR=$PREFIX/lib6 mkdir -p $PKG/etc/profile.d/ cat < $PKG/etc/profile.d/luarocks.sh -#!/bin/sh +#!/bin/bash export PATH=\$PATH:$PREFIX/lib64/luarocks/bin EOF diff --git a/n/calibre-web/SlackBuild b/n/calibre-web/SlackBuild index 41b1c178..c50a1211 100755 --- a/n/calibre-web/SlackBuild +++ b/n/calibre-web/SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash # variables RUNNING_USER=${RUNNING_USER:-gwh} RUNNING_GROUP=${RUNNING_GROUP:-users} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,8 +26,8 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/janeczku/calibre-web.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all mkdir -p $PKG/opt cp -r $REPOSITORY $PKG/opt/ @@ -38,6 +39,8 @@ cp -r $CWD/rc $PKG/etc/rc.d/rc.$PRGNAM sed -i "s|RUNNING_USER|$RUNNING_USER|" $PKG/etc/rc.d/rc.$PRGNAM cd $PKG/opt/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + # change default password NEW_DEFAULT_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;) sed -i "s|admin123|$NEW_DEFAULT_PASSWORD|g" cps/* diff --git a/n/gitea/SlackBuild b/n/gitea/SlackBuild index 9643bd1f..cdf67795 100755 --- a/n/gitea/SlackBuild +++ b/n/gitea/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) diff --git a/n/minecraft-server/SlackBuild b/n/minecraft-server/SlackBuild index b1b0f8bf..62eb88b5 100755 --- a/n/minecraft-server/SlackBuild +++ b/n/minecraft-server/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) @@ -28,7 +28,7 @@ rm -fr $PKG mkdir -p $PKG/opt/$PRGNAM mv $CWD/$PRGNAM.jar $PKG/opt/$PRGNAM/$PRGNAM.jar cat < $PKG/opt/$PRGNAM/start.sh -#!/bin/sh +#!/bin/bash java -Xms1G -Xmx1G -jar /opt/$PRGNAM/$PRGNAM.jar nogui EOF chmod +x $PKG/opt/$PRGNAM/start.sh @@ -81,7 +81,7 @@ chmod +x $PKG/etc/rc.d/rc.$PRGNAM mkdir -p $PKG/install cat < $PKG/install/doinst.sh -#!/bin/sh +#!/bin/bash [ ! -e /opt/$PRGNAM/eula.txt ] && /etc/rc.d/rc.$PRGNAM start EOF diff --git a/n/nextcloud-server/SlackBuild b/n/nextcloud-server/SlackBuild index 726de3f0..8de46ef4 100755 --- a/n/nextcloud-server/SlackBuild +++ b/n/nextcloud-server/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) @@ -81,7 +81,7 @@ EOF mkdir -p $PKG/install cat < $PKG/install/doinst.sh -#!/bin/sh +#!/bin/bash config() { NEW="\$1" OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" diff --git a/UNUSED/n/pluxml/SlackBuild b/n/pluxml/SlackBuild similarity index 89% rename from UNUSED/n/pluxml/SlackBuild rename to n/pluxml/SlackBuild index 4c13b42d..037b2ab0 100755 --- a/UNUSED/n/pluxml/SlackBuild +++ b/n/pluxml/SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) PRGNAM=$(basename $CWD) +VERSION=${VERSION:-"trunk"} ARCH="noarch" # hardcode ARCH BUILD=${BUILD:-1} TAG=${TAG:-gwh} @@ -28,13 +29,14 @@ REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM ( cd $REPOSITORY git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs +cd $PKG/$VHOSTROOT/htdocs + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + rm -fr $PKG/$VHOSTROOT/htdocs/.git mv $PKG/$VHOSTROOT/htdocs/install.php $PKG/$VHOSTROOT/htdocs/install.php.disabled -cd $PKG/$VHOSTROOT/htdocs chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \ @@ -43,9 +45,7 @@ find . \ -exec chmod 640 {} \; mkdir -p $PKG/usr/doc/$PRGNAM -for i in README* readme; do - [ -e $i ] && cp -a $i $PKG/usr/doc/$PRGNAM -done +cp -a README* $PKG/usr/doc/$PRGNAM # Change ownership and perms and create a link. chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT diff --git a/wayland/dmenu-wayland/SlackBuild b/wayland/dmenu-wayland/SlackBuild new file mode 100755 index 00000000..2bc6483a --- /dev/null +++ b/wayland/dmenu-wayland/SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/nyyManni/dmenu-wayland $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + -Dbuildtype=plain \ + -Dauto-features=enabled \ + -Dwrap-mode=nodownload \ + -Dsndio=disabled \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (dmenu for wayland-compositors) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/dmenu-wayland +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/dwl/SlackBuild b/wayland/dwl/SlackBuild new file mode 100755 index 00000000..112559b0 --- /dev/null +++ b/wayland/dwl/SlackBuild @@ -0,0 +1,120 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/djpohly/dwl.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +# configuration +[ -e $CWD/config.h ] && cat $CWD/config.h > config.h + +sed -i 's|/usr/local|/usr|g' config.mk +cat <> config.mk +CFLAGS += -DXWAYLAND +EOF + +make + +mkdir -p $PKG$PREFIX/bin/ +install -D dwl $PKG$PREFIX/bin/dwl + +cat < $PKG$PREFIX/bin/start_dwl.sh +#!/bin/bash + +export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_FORCE_DPI=physical +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +export SAL_USE_VCLPLUGIN=gtk3 + +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +export _JAVA_AWT_WM_NONREPARENTING=1 + +# export GDK_BACKEND=wayland +export CLUTTER_BACKEND=gdk + +export SDL_VIDEODRIVER=wayland + +export XDG_CURRENT_DESKTOP=dwl + +[ -e $HOME/.profile ] && . $HOME/.profile + +exec dwl +EOF +chmod +x $PKG$PREFIX/bin/start_dwl.sh + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE* README.md $PKG$PREFIX/doc/$PRGNAM/ + +mkdir -p $PKG/usr/share/wayland-sessions/ +cat < $PKG/usr/share/wayland-sessions/dwl.desktop +[Desktop Entry] +Name=dwl +Comment=dwm for Wayland +Exec=/usr/bin/start_dwl.sh +Type=Application +EOF + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below kanshis it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# kanshi exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (dwm for Wayland) +$PRGNAM: +$PRGNAM: dwl is a compact, hackable compositor for Wayland based on wlroots. +$PRGNAM: It is intended to fill the same space in the Wayland world that dwm +$PRGNAM: does in X11, primarily in terms of philosophy, and secondarily in +$PRGNAM: terms of functionality. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/djpohly/dwl +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/foot/SlackBuild b/wayland/foot/SlackBuild new file mode 100755 index 00000000..60a8e2d3 --- /dev/null +++ b/wayland/foot/SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://codeberg.org/dnkl/foot.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below kanshis it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# kanshi exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (The fast, lightweight and minimalistic Wayland terminal) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://codeberg.org/dnkl/foot +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/hikari/SlackBuild b/wayland/hikari/SlackBuild new file mode 100755 index 00000000..d2a66204 --- /dev/null +++ b/wayland/hikari/SlackBuild @@ -0,0 +1,109 @@ +#!/bin/bash + +set -e + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +DARCS=/root/.local/bin/darcs + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && $DARCS clone --lazy https://hub.darcs.net/raichoo/hikari $REPOSITORY +cd $REPOSITORY +$DARCS pull + +VERSION="darcs_$($DARCS log --last=1 | head -n1 | cut -d\ -f2)" + +cp -R $REPOSITORY $TMP/ + +cd $TMP/$PRGNAM/ +bmake WITH_ALL=YES PREFIX=/usr ETC_PREFIX= +bmake install DESTDIR=$PKG PREFIX=/usr ETC_PREFIX= + +mv $PKG/usr/share/man/ $PKG/usr + +cat < $PKG$PREFIX/bin/start_hikari.sh +#!/bin/bash + +export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_FORCE_DPI=physical +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +export SAL_USE_VCLPLUGIN=gtk3 + +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +export _JAVA_AWT_WM_NONREPARENTING=1 + +# export GDK_BACKEND=wayland +export CLUTTER_BACKEND=gdk + +export SDL_VIDEODRIVER=wayland + +export XDG_CURRENT_DESKTOP=hikari + +[ -e $HOME/.profile ] && . $HOME/.profile + +exec hikari +EOF +chmod +x $PKG$PREFIX/bin/start_hikari.sh + +sed -i 's|Exec=hikari|Exec=/usr/bin/start_hikari.sh|' $PKG$PREFIX/share/wayland-sessions/hikari.desktop + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Wayland compositor) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://hikari.acmelabs.space/ +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/kanshi/SlackBuild b/wayland/kanshi/SlackBuild new file mode 100755 index 00000000..566b9aed --- /dev/null +++ b/wayland/kanshi/SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/emersion/kanshi $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below kanshis it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# kanshi exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM ( Dynamic display configuration ) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://wayland.emersion.fr/kanshi/ +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/lswt/SlackBuild b/wayland/lswt/SlackBuild new file mode 100755 index 00000000..8801099d --- /dev/null +++ b/wayland/lswt/SlackBuild @@ -0,0 +1,74 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~leon_plickat/lswt $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +make + +make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE README $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (list Wayland toplevels) +$PRGNAM: +$PRGNAM: Requires the Wayland server to implement the +$PRGNAM: foreign-toplevel-management-unstable-v1 protocol extension. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://git.sr.ht/~leon_plickat/lswt +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libbdplus/SlackBuild b/wayland/mako/SlackBuild similarity index 64% rename from UNUSED/l/libbdplus/SlackBuild rename to wayland/mako/SlackBuild index 013f8fe7..bee829bf 100755 --- a/UNUSED/l/libbdplus/SlackBuild +++ b/wayland/mako/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -17,30 +17,32 @@ ARCH=$(uname -m) REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - # nettoyage prĂ©alable rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -[ ! -e $REPOSITORY ] && git clone https://code.videolan.org/videolan/libbdplus.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/emersion/mako $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ - cd $TMP/$PRGNAM/ -git submodule init -git submodule update -./bootstrap -./configure \ - --prefix=/usr \ - --libdir=/usr/lib$(uname -a | grep -o 64) -make -make install DESTDIR=$PKG + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG @@ -59,7 +61,7 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Open implentation of BD+ protocol) +$PRGNAM: $PRGNAM (A lightweight Wayland notification daemon ) $PRGNAM: $PRGNAM: $PRGNAM: @@ -68,8 +70,8 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://code.videolan.org/videolan/libbdplus $PRGNAM: +$PRGNAM: https://wayland.emersion.fr/mako EOF # empaquetage diff --git a/wayland/qtile/SlackBuild b/wayland/qtile/SlackBuild new file mode 100755 index 00000000..87dd2ba7 --- /dev/null +++ b/wayland/qtile/SlackBuild @@ -0,0 +1,110 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/qtile/qtile $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +# installation +python3 ./setup.py install --root=$PKG + +cat < $PKG$PREFIX/bin/start_qtile.sh +#!/bin/bash + +export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_FORCE_DPI=physical +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +export SAL_USE_VCLPLUGIN=gtk3 + +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +export _JAVA_AWT_WM_NONREPARENTING=1 + +# export GDK_BACKEND=wayland +export CLUTTER_BACKEND=gdk + +export SDL_VIDEODRIVER=wayland + +#export XDG_CURRENT_DESKTOP=qtile +export XDG_CURRENT_DESKTOP=Unity # for tray ? + +[ -e $HOME/.profile ] && . $HOME/.profile + +exec qtile start -b wayland +EOF +chmod +x $PKG$PREFIX/bin/start_qtile.sh + +mkdir -p $PKG$PREFIX/share/wayland-sessions/ +cp resources/qtile-wayland.desktop $PKG$PREFIX/share/wayland-sessions/ + +mkdir -p $PKG$PREFIX/share/xsessions/ +cp resources/qtile.desktop $PKG$PREFIX/share/xsessions/ + +sed -i 's|Exec=qtile start -b wayland|Exec=/usr/bin/start_qtile.sh|' $PKG$PREFIX/share/wayland-sessions/qtile-wayland.desktop + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (A tiling window manager written and configured in Python) +$PRGNAM: +$PRGNAM: A full-featured, hackable tiling window manager written and +$PRGNAM: configured in Python +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://qtile.org +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/river/SlackBuild b/wayland/river/SlackBuild new file mode 100755 index 00000000..01bf1bb5 --- /dev/null +++ b/wayland/river/SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/ifreund/river --recursive $REPOSITORY +cd $REPOSITORY +git pull --all +git submodule update + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +zig build -Dxwayland -Drelease-safe --prefix $PKG$PREFIX install + +mv $PKG$PREFIX/share/man $PKG$PREFIX/ + +cat < $PKG$PREFIX/bin/start_river.sh +#!/bin/bash + +export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_FORCE_DPI=physical +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +export SAL_USE_VCLPLUGIN=gtk3 + +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +export _JAVA_AWT_WM_NONREPARENTING=1 + +# export GDK_BACKEND=wayland +export CLUTTER_BACKEND=gdk + +export SDL_VIDEODRIVER=wayland + +export XDG_CURRENT_DESKTOP=river + +# export XKB_DEFAULT_MODEL +export XKB_DEFAULT_LAYOUT "us(intl)" +# export XKB_DEFAULT_VARIANT +export XKB_DEFAULT_OPTIONS "compose:caps,ctrl:nocaps,eurosign:e" +# export XKB_DEFAULT_RULES + +[ -e $HOME/.profile ] && . $HOME/.profile + +exec /usr/bin/river +EOF +chmod +x $PKG$PREFIX/bin/start_river.sh + +mkdir -p $PKG/usr/share/wayland-sessions/ +cat < $PKG/usr/share/wayland-sessions/river.desktop +[Desktop Entry] +Name=River +Comment=a modern wayland compositor +Exec=/usr/bin/start_river.sh +Type=Application +EOF + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -a docs/ example/ contrib/ AUTHORS LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (A dynamic tiling wayland compositor) +$PRGNAM: +$PRGNAM: River is a dynamic tiling wayland compositor with flexible runtime +$PRGNAM: configuration. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/ifreund/river +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/seatd/SlackBuild b/wayland/seatd/SlackBuild new file mode 100755 index 00000000..cccceb75 --- /dev/null +++ b/wayland/seatd/SlackBuild @@ -0,0 +1,76 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~kennylevinsen/seatd $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE README.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Seat management daemon and library) +$PRGNAM: +$PRGNAM: seatd and libseat +$PRGNAM: A minimal seat management daemon, and a universal seat management +$PRGNAM: library. +$PRGNAM: - What is seat management? +$PRGNAM: Seat management takes care of mediating access to shared devices +$PRGNAM: (graphics, input), without requiring the applications needing +$PRGNAM: access to be root. +$PRGNAM: +$PRGNAM: https://git.sr.ht/~kennylevinsen/seatd +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/flatpak/SlackBuild b/wayland/sway-alttab/SlackBuild similarity index 56% rename from UNUSED/ap/flatpak/SlackBuild rename to wayland/sway-alttab/SlackBuild index aa6084ce..b1f43948 100755 --- a/UNUSED/ap/flatpak/SlackBuild +++ b/wayland/sway-alttab/SlackBuild @@ -1,6 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -23,36 +24,29 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/flatpak/flatpak.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/reisub0/sway-alttab $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION -./autogen.sh \ - --prefix=$PREFIX \ - --mandir=$PREFIX/man \ - --libdir=$PREFIX/lib$(uname -m | grep -o 64) \ - --infodir=$PREFIX/info +cargo build --release -make -make install DESTDIR=$PKG - -# clean systemd kludge -rm -fr $PKG$PREFIX/lib/systemd +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* # move doc/ to the appropriate location mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp COPYING NEWS README* $PKG$PREFIX/doc/$PRGNAM +cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -exec gzip -9 {} \; -find $PKG$PREFIX/info -type f -name dir -delete -find $PKG$PREFIX/info -type f -exec gzip -9 {} \; +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install @@ -66,17 +60,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Linux application sandboxing and distribution framework) +$PRGNAM: $PRGNAM (Simple Alt-Tab daemon for SwayWM/i3) $PRGNAM: -$PRGNAM: Flatpak is a system for building, distributing and running sandboxed -$PRGNAM: desktop applications on Linux. +$PRGNAM: A simple daemon that keeps track of your last focused window and +$PRGNAM: switches to it on receiving a SIGUSR1. Automatically binds Alt-Tab to +$PRGNAM: the same action. +$PRGNAM: +$PRGNAM: To change the key combo from "Mod1+Tab", use the -c flag and set your +$PRGNAM: preferred mapping. $PRGNAM: $PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://flatpak.org/ -$PRGNAM: DEPS: ostree, json-glib +$PRGNAM: https://github.com/reisub0/sway-alttab EOF # empaquetage diff --git a/wayland/sway/SlackBuild b/wayland/sway/SlackBuild new file mode 100755 index 00000000..d916f1c4 --- /dev/null +++ b/wayland/sway/SlackBuild @@ -0,0 +1,125 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/sway $REPOSITORY +cd $REPOSITORY +git pull --all + +# WLROOTS_REPOSITORY=/home/installs/SlackBuilds/repositories/wlroots +# [ ! -e $WLROOTS_REPOSITORY ] && git clone https://github.com/swaywm/wlroots $WLROOTS_REPOSITORY +# cd $WLROOTS_REPOSITORY +# git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +# mkdir subprojects +# cp -R $WLROOTS_REPOSITORY subprojects/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + -Dsd-bus-provider=basu \ + -Dtray=auto \ + -Dlogind=enabled \ + -Dlogind-provider=elogind \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +# https://github.com/swaywm/sway/wiki/Running-Sway-without-systemd +chmod +s $PKG$PREFIX/bin/sway + +cat < $PKG$PREFIX/bin/start_sway.sh +#!/bin/bash + +export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_FORCE_DPI=physical +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +export SAL_USE_VCLPLUGIN=gtk3 + +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +export _JAVA_AWT_WM_NONREPARENTING=1 + +# export GDK_BACKEND=wayland +export CLUTTER_BACKEND=gdk + +export SDL_VIDEODRIVER=wayland + +#export XDG_CURRENT_DESKTOP=sway +export XDG_CURRENT_DESKTOP=Unity # for tray ? + +[ -e $HOME/.profile ] && . $HOME/.profile + +exec sway +EOF +chmod +x $PKG$PREFIX/bin/start_sway.sh + +sed -i 's|Exec=sway|Exec=/usr/bin/start_sway.sh|' $PKG$PREFIX/share/wayland-sessions/sway.desktop + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (i3-compatible Wayland compositor) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/swaywm/sway +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libaacs/SlackBuild b/wayland/swaybg/SlackBuild similarity index 64% rename from UNUSED/l/libaacs/SlackBuild rename to wayland/swaybg/SlackBuild index 0e72980c..004bbef0 100755 --- a/UNUSED/l/libaacs/SlackBuild +++ b/wayland/swaybg/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -17,30 +17,29 @@ ARCH=$(uname -m) REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - # nettoyage prĂ©alable rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -[ ! -e $REPOSITORY ] && git clone https://code.videolan.org/videolan/libaacs.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/swaybg $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ - cd $TMP/$PRGNAM/ -git submodule init -git submodule update -./bootstrap -./configure \ - --prefix=/usr \ - --libdir=/usr/lib$(uname -a | grep -o 64) -make -make install DESTDIR=$PKG + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG @@ -59,7 +58,7 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Open implentation of AACS specification) +$PRGNAM: $PRGNAM (Wallpaper tool for Wayland compositors) $PRGNAM: $PRGNAM: $PRGNAM: @@ -68,8 +67,8 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://code.videolan.org/videolan/libaacs $PRGNAM: +$PRGNAM: https://github.com/swaywm/swaybg EOF # empaquetage diff --git a/UNUSED/l/libbluray/SlackBuild b/wayland/swayidle/SlackBuild similarity index 63% rename from UNUSED/l/libbluray/SlackBuild rename to wayland/swayidle/SlackBuild index 4dce0ad4..02ff1b69 100755 --- a/UNUSED/l/libbluray/SlackBuild +++ b/wayland/swayidle/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -17,31 +17,29 @@ ARCH=$(uname -m) REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - # nettoyage prĂ©alable rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -[ ! -e $REPOSITORY ] && git clone https://code.videolan.org/videolan/libbluray.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/swayidle $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ - cd $TMP/$PRGNAM/ -git submodule init -git submodule update -./bootstrap -./configure \ - --prefix=/usr \ - --libdir=/usr/lib$(uname -a | grep -o 64) \ - --disable-bdjava-jar -make -make install DESTDIR=$PKG + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG @@ -60,7 +58,7 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Library to access Blu-Ray disks) +$PRGNAM: $PRGNAM (Idle management daemon for Wayland) $PRGNAM: $PRGNAM: $PRGNAM: @@ -69,8 +67,8 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://code.videolan.org/videolan/libbluray $PRGNAM: +$PRGNAM: https://github.com/swaywm/swayidle EOF # empaquetage diff --git a/UNUSED/l/grunt-zsh-completion/SlackBuild b/wayland/swaylock/SlackBuild similarity index 61% rename from UNUSED/l/grunt-zsh-completion/SlackBuild rename to wayland/swaylock/SlackBuild index 39cb155a..4cb8877e 100755 --- a/UNUSED/l/grunt-zsh-completion/SlackBuild +++ b/wayland/swaylock/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -12,35 +12,39 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM -ARCH=noarch +ARCH=$(uname -m) REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr # nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION +rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - git clone "https://github.com/yonchu/grunt-zsh-completion.git" $REPOSITORY -else - ( cd $REPOSITORY - git pull - ) -fi +[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/swaylock $REPOSITORY +cd $REPOSITORY +git pull --all -mkdir -p $PKG$PREFIX/share/zsh/site-functions/ -cp $REPOSITORY/_grunt $PKG$PREFIX/share/zsh/site-functions/ +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY/{img/,README.md} $PKG$PREFIX/doc/$PRGNAM/ +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install @@ -54,17 +58,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (grunt completion for zsh) -$PRGNAM: -$PRGNAM: The zsh completion script for grunt. +$PRGNAM: $PRGNAM (Screen locker for Wayland) $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: https://github.com/yonchu/grunt-zsh-completion $PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/swaywm/swaylock EOF # empaquetage diff --git a/wayland/swaymgr/SlackBuild b/wayland/swaymgr/SlackBuild new file mode 100755 index 00000000..52f940ba --- /dev/null +++ b/wayland/swaymgr/SlackBuild @@ -0,0 +1,78 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/Difrex/swaymgr $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cd $PRGNAM +go get -v + +go build -o $PKG$PREFIX/bin/swaymgr . + +# move doc/ to the appropriate location +cd ../ +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Sway autotiling manager) +$PRGNAM: +$PRGNAM: This project adds a autotiling feature to the SwayWM based on the +$PRGNAM: gosway IPC library. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/Difrex/swaymgr +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/swayr/SlackBuild b/wayland/swayr/SlackBuild new file mode 100755 index 00000000..d47fc21d --- /dev/null +++ b/wayland/swayr/SlackBuild @@ -0,0 +1,98 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~tsdh/swayr $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* + +# mkdir -p $PKG$PREFIX/man/man1 +# cp extra/alacritty.man $PKG$PREFIX/man/man1/alacritty.1 +# gzip -9 $PKG$PREFIX/man/man1/alacritty.1 + +# mkdir -p $PKG$PREFIX/info +# cp extra/alacritty.info $PKG$PREFIX/info/ +# gzip -9 $PKG$PREFIX/info/alacritty.info + +# mkdir -p $PKG$PREFIX/share/applications +# cp extra/linux/Alacritty.desktop $PKG$PREFIX/share/applications/ + +# mkdir -p $PKG$PREFIX/share/appdata +# cp extra/linux/io.alacritty.Alacritty.appdata.xml $PKG$PREFIX/share/appdata/ + +# mkdir -p $PKG/usr/share/bash-completion/completions +# cp extra/completions/alacritty.bash $PKG/usr/share/bash-completion/completions/alacritty + +# mkdir -p $PKG/usr/share/zsh/site-functions +# cp extra/completions/_alacritty $PKG/usr/share/zsh/site-functions/ + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -a LICENSE *.md $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (An urgent-first/LRU window switcher for sway) +$PRGNAM: +$PRGNAM: Swayr consists of a demon, and a client. The demon swayrd records +$PRGNAM: window/workspace creations, deletions, and focus changes using sway's +$PRGNAM: JSON IPC interface. The client swayr offers subcommands, +$PRGNAM: see swayr --help, and sends them to the demon which executes them. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://git.sr.ht/~tsdh/swayr +$PRGNAM: +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/taiwins/SlackBuild b/wayland/taiwins/SlackBuild new file mode 100755 index 00000000..f21e0025 --- /dev/null +++ b/wayland/taiwins/SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/taiwins/taiwins --recursive $REPOSITORY +cd $REPOSITORY +git pull --all +git submodule update + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + -Dbuild-doc=true \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +cat < $PKG$PREFIX/bin/start_taiwins.sh +#!/bin/bash + +export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_FORCE_DPI=physical +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +export SAL_USE_VCLPLUGIN=gtk3 + +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +export _JAVA_AWT_WM_NONREPARENTING=1 + +# export GDK_BACKEND=wayland +export CLUTTER_BACKEND=gdk + +export SDL_VIDEODRIVER=wayland + +export XDG_CURRENT_DESKTOP=taiwins + +[ -e $HOME/.profile ] && . $HOME/.profile + +exec /usr/bin/taiwins -s /usr/bin/taiwins-shell -c /usr/bin/taiwins-console +EOF +chmod +x $PKG$PREFIX/bin/start_taiwins.sh + +mkdir -p $PKG/usr/share/wayland-sessions/ +cat < $PKG/usr/share/wayland-sessions/taiwins.desktop +[Desktop Entry] +Name=Taiwins +Comment=a modern wayland compositor +Exec=/usr/bin/start_taiwins.sh +Type=Application +EOF + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -a docs/ build/html/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (taiwins, a modern wayland compositor) +$PRGNAM: +$PRGNAM: Taiwins is a dynamic wayland window manager, supports both tiling +$PRGNAM: and floating layout. It is designed to be modern and modular. It is +$PRGNAM: extensible through lua script and it has built-in shell and widgets +$PRGNAM: implementation through nuklear GUI. It also supports popular tiling +$PRGNAM: window manager features like gapping. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/taiwins/taiwins +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/wayland/waybar/SlackBuild b/wayland/waybar/SlackBuild new file mode 100755 index 00000000..a8551c89 --- /dev/null +++ b/wayland/waybar/SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/Alexays/Waybar $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + -Dbuildtype=plain \ + -Dauto-features=enabled \ + -Dwrap-mode=nodownload \ + -Dsndio=disabled \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Highly customizable Wayland bar for Sway) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/Alexays/Waybar +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/libspiro/SlackBuild b/wayland/wlopm/SlackBuild similarity index 61% rename from UNUSED/l/libspiro/SlackBuild rename to wayland/wlopm/SlackBuild index bd6a6875..c8c88c03 100755 --- a/UNUSED/l/libspiro/SlackBuild +++ b/wayland/wlopm/SlackBuild @@ -1,10 +1,9 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 - TAG=gwh OUTPUT=/tmp TMP=/tmp/$TAG @@ -19,30 +18,26 @@ REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr # nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION +rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - # svn checkout http://svn.pyyaml.org/libyaml/trunk/ $REPOSITORY - svn checkout https://libspiro.svn.sourceforge.net/svnroot/libspiro $PRGNAM -else - ( cd $REPOSITORY - svn update - ) -fi +[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~leon_plickat/wlopm $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -./configure \ - --prefix=$PREFIX \ - --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o 64) \ - --mandir=$PREFIX/man +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + make -make install DESTDIR=$PKG + +make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE README $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG @@ -61,17 +56,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (simplifies the drawing of beautiful curves.) +$PRGNAM: $PRGNAM (Wayland output power management) $PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: http://libspiro.sourceforge.net/ -$PRGNAM: +$PRGNAM: Simple client implementing zwlr-output-power-management-v1. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://git.sr.ht/~leon_plickat/wlopm EOF # empaquetage diff --git a/wayland/wlr-randr/SlackBuild b/wayland/wlr-randr/SlackBuild new file mode 100755 index 00000000..b5a8a320 --- /dev/null +++ b/wayland/wlr-randr/SlackBuild @@ -0,0 +1,72 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/emersion/wlr-randr $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (An xrandr clone for wlroots compositors) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://wayland.emersion.fr/wlr-randr/ +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/l/zsh-syntax-highlighting/SlackBuild b/wayland/wlroots/SlackBuild similarity index 60% rename from UNUSED/l/zsh-syntax-highlighting/SlackBuild rename to wayland/wlroots/SlackBuild index b124556e..69b9df33 100755 --- a/UNUSED/l/zsh-syntax-highlighting/SlackBuild +++ b/wayland/wlroots/SlackBuild @@ -1,7 +1,9 @@ -#!/bin/sh +#!/bin/bash + +set -e # variables -VERSION=$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -12,32 +14,39 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM -ARCH=noarch +ARCH=$(uname -m) REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr # nettoyage prĂ©alable -rm -fr $PKG +rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -cd $TMP -[ ! -e $REPOSITORY ] && git clone "git://github.com/zsh-users/zsh-syntax-highlighting.git" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/wlroots $REPOSITORY +cd $REPOSITORY +git pull --all -mkdir -p $PKG$PREFIX/share/zsh/site-functions/ -cp -R $REPOSITORY/highlighters/ $PKG$PREFIX/share/zsh/site-functions/ -cp -R $REPOSITORY/zsh-syntax-highlighting.zsh $PKG$PREFIX/share/zsh/site-functions/_zsh-syntax-highlighting +cp -R $REPOSITORY $TMP/ + +cd $TMP/$PRGNAM/ +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp -R $REPOSITORY/* $PKG$PREFIX/doc/$PRGNAM/ +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * +# find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install @@ -51,7 +60,7 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Fish shell like syntax highlighting for Zsh.) +$PRGNAM: $PRGNAM (A modular Wayland compositor library) $PRGNAM: $PRGNAM: $PRGNAM: @@ -60,8 +69,8 @@ $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: http://github.com/zsh-users/zsh-syntax-highlighting $PRGNAM: +$PRGNAM: https://github.com/swaywm/wlroots EOF # empaquetage diff --git a/UNUSED/ap/likwid/SlackBuild b/wayland/wlsunset/SlackBuild similarity index 60% rename from UNUSED/ap/likwid/SlackBuild rename to wayland/wlsunset/SlackBuild index be08e433..10ba5d97 100755 --- a/UNUSED/ap/likwid/SlackBuild +++ b/wayland/wlsunset/SlackBuild @@ -1,14 +1,13 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 - TAG=gwh -TMP=/tmp/$TAG/ -CWD=$(pwd) OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM @@ -24,22 +23,24 @@ rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -cd $TMP -if [ ! -e $REPOSITORY ] ; then - mkdir -p $(dirname $REPOSITORY) - hg clone https://likwid.googlecode.com/hg/ $REPOSITORY -else - ( cd $REPOSITORY - hg pull -u - ) -fi +[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~kennylevinsen/wlsunset $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM -sed -i 's|/usr/local|/usr|' config.mk -make -make install PREFIX=$PKG$PREFIX +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG @@ -58,17 +59,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (lightweight messaging kernel) +$PRGNAM: $PRGNAM (Day/night gamma adjustments for Wayland compositors) $PRGNAM: -$PRGNAM: Likwid stands for 'Like I knew what I am doing'. -$PRGNAM: This project contributes easy to use command line tools for Linux -$PRGNAM: to support programmers in developing high performance multi threaded -$PRGNAM: programs. -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://code.google.com/p/likwid/ -$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://git.sr.ht/~kennylevinsen/wlsunset EOF # empaquetage diff --git a/UNUSED/l/girara/SlackBuild b/wayland/wofi/SlackBuild similarity index 59% rename from UNUSED/l/girara/SlackBuild rename to wayland/wofi/SlackBuild index f930e9ce..b61bacd0 100755 --- a/UNUSED/l/girara/SlackBuild +++ b/wayland/wofi/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=master_$(date +"%Y.%m.%d_%H.%M") +VERSION=${VERSION:-"trunk"} BUILD=1 TAG=gwh @@ -17,24 +17,30 @@ ARCH=$(uname -m) REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr -EMACS=$(basename $(ls /usr/bin/emacs-2*)) -EMACS_VERSION=$(echo "$EMACS" | grep -o "\-[0-9\.]*\-" | tr -d - | head -n1) - # nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM-$VERSION +rm -fr $PKG $TMP/$PRGNAM mkdir -p $PKG # mise en place -[ ! -e $REPOSITORY ] && git clone git://pwmt.org/girara.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && hg clone https://hg.sr.ht/~scoopta/wofi $REPOSITORY +cd $REPOSITORY +hg pull cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ -cd $TMP/$PRGNAM -make -make install DESTDIR=$PKG MANPREFIX=$PREFIX/man LIBDIR=$PREFIX/lib$(uname -m | grep -o 64) +# [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="hg_$(date +%F)" + +meson setup --prefix /usr --mandir /usr/man/ build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG @@ -53,17 +59,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (user interface library) +$PRGNAM: $PRGNAM (launcher/menu for Wayland compositors) $PRGNAM: -$PRGNAM: girara is a library that implements a user interface that focuses on -$PRGNAM: simplicity and minimalism. Currently based on GTK+, a cross-platform -$PRGNAM: widget toolkit +$PRGNAM: Wofi is a launcher/menu program for wlroots based wayland +$PRGNAM: compositors such as sway $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: http://pwmt.org/girara/ $PRGNAM: +$PRGNAM: +$PRGNAM: https://hg.sr.ht/~scoopta/wofi EOF # empaquetage diff --git a/wayland/yambar/SlackBuild b/wayland/yambar/SlackBuild new file mode 100755 index 00000000..89328333 --- /dev/null +++ b/wayland/yambar/SlackBuild @@ -0,0 +1,82 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=1 + +TAG=gwh +OUTPUT=/tmp +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM +PREFIX=/usr + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://gitlab.com/dnkl/yambar.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM/ + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +meson setup \ + --prefix /usr \ + --mandir /usr/man/ \ + --buildtype=release \ + -Dbackend-x11=disabled \ + -Dbackend-wayland=enabled \ + build/ +ninja -C build/ +cd build/ +meson install --destdir=$PKG +cd ../ + +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -a examples/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ + +# correction +cd $PKG +chown -R root:root * +find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (Modular status panel for X11 and Wayland) +$PRGNAM: +$PRGNAM: yambar is a lightweight and configurable status panel (bar, for +$PRGNAM: short) for X11 and Wayland, that goes to great lengths to be both +$PRGNAM: CPU and battery efficient - polling is only done when absolutely +$PRGNAM: necessary. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://gitlab.com/dnkl/yambar +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/LDCad/SlackBuild b/xap/LDCad/SlackBuild index 7d034514..da37402c 100755 --- a/xap/LDCad/SlackBuild +++ b/xap/LDCad/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) @@ -101,7 +101,7 @@ EOF mkdir -p $PKG/install/ cat < $PKG/install/doinst.sh -#!/bin/sh +#!/bin/bash update-mime-database /usr/share/mime update-desktop-database EOF diff --git a/xap/alacritty/SlackBuild b/xap/alacritty/SlackBuild index 01e41366..2f584909 100755 --- a/xap/alacritty/SlackBuild +++ b/xap/alacritty/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -25,21 +25,42 @@ mkdir -p $PKG # mise en place cd $TMP [ ! -e $REPOSITORY ] && git clone https://github.com/jwilm/alacritty.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION cargo build --release mkdir -p $PKG$PREFIX/bin -cp target/release/$PRGNAM $PKG$PREFIX/bin/ +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; chmod 755 $PKG$PREFIX/bin/* +mkdir -p $PKG$PREFIX/man/man1 +cp extra/alacritty.man $PKG$PREFIX/man/man1/alacritty.1 +gzip -9 $PKG$PREFIX/man/man1/alacritty.1 + +mkdir -p $PKG$PREFIX/info +cp extra/alacritty.info $PKG$PREFIX/info/ +gzip -9 $PKG$PREFIX/info/alacritty.info + +mkdir -p $PKG$PREFIX/share/applications +cp extra/linux/Alacritty.desktop $PKG$PREFIX/share/applications/ + +mkdir -p $PKG$PREFIX/share/appdata +cp extra/linux/io.alacritty.Alacritty.appdata.xml $PKG$PREFIX/share/appdata/ + +mkdir -p $PKG/usr/share/bash-completion/completions +cp extra/completions/alacritty.bash $PKG/usr/share/bash-completion/completions/alacritty + +mkdir -p $PKG/usr/share/zsh/site-functions +cp extra/completions/_alacritty $PKG/usr/share/zsh/site-functions/ + # move doc/ to the appropriate location mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp *.md $PKG$PREFIX/doc/$PRGNAM +cp -a docs/ extra/ *.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG @@ -69,7 +90,7 @@ $PRGNAM: requires no additional setup. However, it does allow configuration of $PRGNAM: many aspects of the terminal. $PRGNAM: $PRGNAM: https://github.com/jwilm/alacritty -$PRGNAM: +$PRGNAM: EOF # empaquetage diff --git a/UNUSED/xap/alttab/SlackBuild b/xap/alttab/SlackBuild similarity index 89% rename from UNUSED/xap/alttab/SlackBuild rename to xap/alttab/SlackBuild index 34569f8b..f9588dae 100755 --- a/UNUSED/xap/alttab/SlackBuild +++ b/xap/alttab/SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash set -x PRGNAM=$(basename $(pwd)) +VERSION=${VERSION:-"trunk"} BUILD=1 @@ -25,13 +26,15 @@ rm -fr $PRGNAM $PKG # Fetching sources [ ! -e $REPOSITORY ] && git clone https://github.com/sagb/alttab.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM # Preparation cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -44,6 +47,7 @@ find . \ ./configure \ --prefix=$PREFIX \ --mandir=$PREFIX/man \ + --docdir=$PREFIX/doc/$PRGNAM \ --libdir=$PREFIX/lib$(echo "$ARCH" | grep -o "64") \ --sysconfdir=/etc @@ -53,11 +57,6 @@ make # Installation make install DESTDIR=$PKG -mkdir -p $PKG$PREFIX/share/$PRGNAM -cd $PKG$PREFIX/share/$PRGNAM -cp $TMP/$PRGNAM/ROMs/*rom*.bz2 . -find . -name "*.bz2" -exec bunzip2 {} \; - # Cleaning cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null diff --git a/xap/android-x86/SlackBuild b/xap/android-x86/SlackBuild index d5778b82..852b5e34 100755 --- a/xap/android-x86/SlackBuild +++ b/xap/android-x86/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) @@ -38,7 +38,7 @@ chmod 755 $PKG$PREFIX/bin/${PRGNAM}.sh mkdir -p $PKG$PREFIX/share/${PRGNAM} cat < $PKG$PREFIX/share/${PRGNAM}/create-data-img.sh -#!/bin/sh +#!/bin/bash SIZE=\${SIZE:-128G} @@ -47,13 +47,13 @@ qemu-img create -f qcow2 \$HOME/.android-x86/data.img \$SIZE EOF cat < $PKG$PREFIX/share/${PRGNAM}/create-data-dir.sh -#!/bin/sh +#!/bin/bash mkdir -p \$HOME/.android-x86/data EOF cat < $PKG$PREFIX/share/${PRGNAM}/mount-data-img.sh -#!/bin/sh +#!/bin/bash sudo modprobe nbd max_part=63 sudo qemu-nbd -c /dev/nbd0 \$HOME/.android-x86/data.img @@ -62,7 +62,7 @@ sudo mount /dev/nbd0 /media/android-x86-data EOF cat < $PKG$PREFIX/share/${PRGNAM}/umount-data-img.sh -#!/bin/sh +#!/bin/bash sudo umount /media/android-x86-data EOF diff --git a/xap/brightnessctl/SlackBuild b/xap/brightnessctl/SlackBuild index bd748327..37acd49a 100755 --- a/xap/brightnessctl/SlackBuild +++ b/xap/brightnessctl/SlackBuild @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $(pwd)) BRANCH= -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -19,11 +19,8 @@ REPOSITORIES=/home/installs/SlackBuilds/repositories PREFIX=/usr [ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/Hummer12007/brightnessctl.git $REPOSITORIES/$PRGNAM -( cd $REPOSITORIES/$PRGNAM - git pull -) - -VERSION="$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORIES/$PRGNAM +git pull --all # nettoyage préalable rm -fr $PKG $TMP/$PRGNAM @@ -35,6 +32,7 @@ cd $TMP cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # compilation make -j3 PREFIX=$PREFIX diff --git a/xap/calibre/SlackBuild b/xap/calibre/SlackBuild index b29c5f6e..dd06a2b7 100755 --- a/xap/calibre/SlackBuild +++ b/xap/calibre/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) @@ -32,7 +32,7 @@ find . -type l -exec sh -c 'rm "$1"; ln -s ../../opt/calibre/$(basename $1)' _ { mkdir -p $PKG/install cat < $PKG/install/doinst.sh -#!/bin/sh +#!/bin/bash config() { NEW="\$1" OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" diff --git a/xap/coolreader/SlackBuild b/xap/coolreader/SlackBuild deleted file mode 100755 index aa31a63d..00000000 --- a/xap/coolreader/SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -BUILD=${BUILD:-1} - -TAG=gwh -TMP=/tmp/$TAG -CWD=$(pwd) - -PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -ARCH=${ARCH:-$(uname -m)} - -REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} -PREFIX=${PREFIX:-/usr} - -# nettoyage prĂ©alable -rm -fr $PKG $TMP/$PRGNAM - -mkdir -p $PKG - -# mise en place -cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/buggins/coolreader.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - -cp -R $REPOSITORY $TMP/ -cd $TMP/$PRGNAM - -# Fix upstream typo -sed -i 's,documetn,document,g' cr3qt/src/*.ui cr3qt/src/i18n/*.ts || exit 1 - -mkdir -p build -cd build -cmake \ - -D CMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -D CMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -D CMAKE_INSTALL_PREFIX=/usr \ - -D LIB_SUFFIX=${LIBDIRSUFFIX} \ - -D CMAKE_BUILD_TYPE=Release \ - -D MAX_IMAGE_SCALE_MUL=2 \ - -D DOC_DATA_COMPRESSION_LEVEL=3 \ - -D DOC_BUFFER_SIZE=0x1400000 \ - -D GUI=QT5 .. -make VERBOSE=1 -make install DESTDIR=$PKG -cd .. - -strip $PKG/usr/bin/$ORIG_PRGNAM - -mkdir -p $PKG/usr/man -mv $PKG/usr/share/man/* $PKG/usr/man -rm -rf $PKG/usr/share/man - -sed -i '/Icon/s|\.png||' $PKG/usr/share/applications/$ORIG_PRGNAM.desktop - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/$ORIG_PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc - -# correction -cd $PKG -chown -R root:root * - -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; - -# embaumement -mkdir -p $PKG/install - -cat < $PKG/install/slack-desc -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -coolreader: coolreader (e-book reader) -coolreader: -coolreader: CoolReader is an e-book reader for various platforms. -coolreader: -coolreader: Supported file formats include plain text, HTML, RTF, Microsoft Word -coolreader: (.doc), Palm Pilot (.prc, .pdb, .pml, .mobi), FB2, and EPUB. -coolreader: -coolreader: -coolreader: -coolreader: https://github.com/buggins/coolreader -coolreader: -EOF - -# empaquetage -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/dbeaver/SlackBuild b/xap/dbeaver/SlackBuild index 9000989d..1a80a0d6 100755 --- a/xap/dbeaver/SlackBuild +++ b/xap/dbeaver/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for dbeaver @@ -66,7 +66,7 @@ chmod ga+x $DESTDIR/$PRGNAM/$PRGNAM mkdir -p $PKG/usr/bin cat << EOF > $PKG/usr/bin/$PRGNAM -#!/bin/sh +#!/bin/bash cd \$HOME /opt/$PRGNAM/$PRGNAM \$@ EOF diff --git a/xap/gammastep/SlackBuild b/xap/gammastep/SlackBuild new file mode 100755 index 00000000..a1f6728a --- /dev/null +++ b/xap/gammastep/SlackBuild @@ -0,0 +1,83 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM-$VERSION + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://gitlab.com/chinstrap/gammastep.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +./bootstrap +./configure \ + --prefix=$PREFIX \ + --libdir=$PREFIX/lib$(uname -m | grep -o 64) \ + --mandir=$PREFIX/man \ + --enable-wayland \ + --enable-gui + +make +make install DESTDIR=$PKG + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (screen color adjuster) +$PRGNAM: +$PRGNAM: Adjust the color temperature of your screen according to +$PRGNAM: your surroundings. This may help your eyes hurt less if you are +$PRGNAM: working in front of the screen at night. +$PRGNAM: Run gammastep -h for help on command line options. +$PRGNAM: A graphical indicator is provided, gammastep-indicator. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://gitlab.com/chinstrap/gammastep +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/i3status-rust/SlackBuild b/xap/i3status-rust/SlackBuild new file mode 100755 index 00000000..018a211b --- /dev/null +++ b/xap/i3status-rust/SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/greshake/i3status-rust.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* + +mkdir -p $PKG$PREFIX/share/$PRGNAM +cp -R files/* $PKG$PREFIX/share/$PRGNAM + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -R doc/ example/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM + +mkdir -p $PKG$PREFIX/man +cp man/i3status-rs.1 $PKG$PREFIX/man +find $PKG$PREFIX/man -exec gzip -9 {} \; + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (resourcefriendly and feature-rich replacement for i3status) +$PRGNAM: +$PRGNAM: a feature-rich and resource-friendly replacement for i3status, +$PRGNAM: written in pure Rust. It provides a way to display "blocks" of system +$PRGNAM: information (time, battery status, volume, etc) on the i3 bar. It is +$PRGNAM: also compatible with sway. +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/greshake/i3status-rust +$PRGNAM: +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/UNUSED/ap/vimpager/SlackBuild b/xap/image-roll/SlackBuild similarity index 60% rename from UNUSED/ap/vimpager/SlackBuild rename to xap/image-roll/SlackBuild index fe1f1ad5..aaa1e8e1 100755 --- a/UNUSED/ap/vimpager/SlackBuild +++ b/xap/image-roll/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -12,7 +12,7 @@ PRGNAM=$(basename $CWD) PKG=$TMP/pkg-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -ARCH=noarch +ARCH=${ARCH:-$(uname -m)} REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} PREFIX=${PREFIX:-/usr} @@ -24,15 +24,23 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/rkitover/vimpager $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/weclaw1/image-roll.git $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION -sed -i 's|share/man/|man/|g' Makefile -make install DESTDIR=$PKG PREFIX=$PREFIX SYSCONFDIR=/etc +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM # correction cd $PKG @@ -40,10 +48,6 @@ chown -R root:root * find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; -# move doc/ to the appropriate location -mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp README $PKG$PREFIX/doc/$PRGNAM - # embaumement mkdir -p $PKG/install @@ -56,17 +60,17 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (Use ViM as PAGER) +$PRGNAM: $PRGNAM (fast GTK image viewer with basic image manipulation tools) $PRGNAM: -$PRGNAM: A slightly more sophisticated replacement for less.sh that also -$PRGNAM: supports being set as the PAGER environment variable. Displays man -$PRGNAM: pages, perldocs and python documentation properly. Works on Linux, -$PRGNAM: Solaris, FreeBSD, NetBSD, OpenBSD, OSX, Cygwin and msys. Should work -$PRGNAM: on most other systems as well. +$PRGNAM: Image Roll is a simple and fast GTK image viewer with basic image +$PRGNAM: manipulation tools. $PRGNAM: $PRGNAM: -$PRGNAM: http://github.com/rkitover/vimpager $PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/weclaw1/image-roll EOF # empaquetage diff --git a/xap/kitty/SlackBuild b/xap/kitty/SlackBuild index f84169fc..cae4c61c 100755 --- a/xap/kitty/SlackBuild +++ b/xap/kitty/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -7,11 +7,13 @@ CWD=$(pwd) OUTPUT=/tmp PRGNAM=$(basename $CWD) -PKG=$TMP/pkg-$PRGNAM +VERSION=${VERSION:-"trunk"} ARCH=$(uname -m) BUILD=1 +PKG=$TMP/pkg-$PRGNAM + PREFIX=/usr REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM @@ -23,11 +25,12 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/kovidgoyal/kitty.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/ +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # installation mkdir -p $PKG/ diff --git a/xap/leocad/SlackBuild b/xap/leocad/SlackBuild index 877a07b8..3a3573cb 100755 --- a/xap/leocad/SlackBuild +++ b/xap/leocad/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -11,6 +11,7 @@ PKG=$TMP/pkg-$PRGNAM ARCH=$(uname -m) BUILD=1 +VERSION=${VERSION:-"trunk"} REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM @@ -21,11 +22,12 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/leozide/leocad.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/ +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION qmake-qt5 DISABLE_UPDATE_CHECK=1 DOCS_DIR=/usr/doc/$PRGNAM MAN_DIR=/usr/man/man1 leocad.pro CFLAGS="$SLKCFLAGS" \ @@ -41,14 +43,14 @@ cp -a docs/leocad.1 $PKG/usr/man/man1 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -LIBRARY_URL=$(curl -s https://api.github.com/repos/leozide/leocad/releases | grep -o "http.*Library-Linux.*zip" | head -n1) -LIBRARY_FILE=$(echo $LIBRARY_URL | grep -o "Library-Linux-[0-9]*.zip") -LIBRARY_VERSION=$(echo $LIBRARY_FILE | grep -o "[0-9]*") +LIBRARY_URL=$(curl -s https://api.github.com/repos/leozide/leocad/releases | grep -o "http.*Library-.*zip" | head -n1) +LIBRARY_FILE=$(echo $LIBRARY_URL | grep -o "Library-[0-9.]*.zip") +LIBRARY_VERSION=$(echo $LIBRARY_FILE | grep -o "[0-9.]*") [ ! -e $CWD/$LIBRARY_FILE ] && wget -c -O $CWD/$LIBRARY_FILE $LIBRARY_URL # Data from zip-file + set permissions mkdir -p $PKG/usr/share/leocad -unzip $CWD/$LIBRARY_FILE -d $PKG/usr/share/leocad +unzip $CWD/$LIBRARY_FILE -d $PKG/usr/share/leocad/ chown -R root:root $PKG # correction diff --git a/xap/makemkv/SlackBuild b/xap/makemkv/SlackBuild index 8c377b95..10eaf117 100755 --- a/xap/makemkv/SlackBuild +++ b/xap/makemkv/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x PRGNAM=$(basename $(pwd)) diff --git a/xap/nextcloud-client/SlackBuild b/xap/nextcloud-client/SlackBuild index 1dbc04d0..296405f7 100755 --- a/xap/nextcloud-client/SlackBuild +++ b/xap/nextcloud-client/SlackBuild @@ -1,11 +1,10 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} -STABLE=${STABLE:-"NO"} +VERSION=${VERSION:-"trunk"} ARCH=${ARCH:-$(uname -m)} BUILD=1 @@ -18,8 +17,6 @@ REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM PREFIX=/usr -SLCKFLAGS=" -O " - # nettoyage prĂ©alable rm -fr $PKG $TMP/$PRGNAM @@ -27,29 +24,27 @@ mkdir -p $PKG # mise en place cd $TMP -if [ "x$STABLE" == "xYES" ]; then - wget -c https://download.owncloud.com/desktop/stable/$PRGNAM-$VERSION.tar.xz -O $CWD/$PRGNAM-$VERSION.tar.xz - tar xf $CWD/$PRGNAM-$VERSION.tar.xz -else - [ ! -e $REPOSITORY ] && git clone https://github.com/nextcloud/desktop.git $REPOSITORY +[ ! -e $REPOSITORY ] && git clone https://github.com/nextcloud/desktop.git $REPOSITORY - ( cd $REPOSITORY - git pull - git submodule update --init --recursive ) +cd $REPOSITORY +git pull --all - VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" - cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION -fi +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM -cd $TMP/$PRGNAM-$VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION +git submodule update --init --recursive # configuration +mkdir build +cd build/ + cmake \ -DCMAKE_INSTALL_PREFIX=$PREFIX \ -DSYSCONFDIR=/etc \ -DCMAKE_BUILD_TYPE=Release \ -DNO_SHIBBOLETH=1 \ - . + .. # compilation make -j3 diff --git a/xap/nextcloud-client/SlackBuild.appImage b/xap/nextcloud-client/SlackBuild.appImage index 71ef3d26..735a01f6 100755 --- a/xap/nextcloud-client/SlackBuild.appImage +++ b/xap/nextcloud-client/SlackBuild.appImage @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables CWD=$(pwd) diff --git a/UNUSED/xap/synergy-core/SlackBuild b/xap/polybar/SlackBuild similarity index 68% rename from UNUSED/xap/synergy-core/SlackBuild rename to xap/polybar/SlackBuild index f159763d..6d17fcdd 100755 --- a/UNUSED/xap/synergy-core/SlackBuild +++ b/xap/polybar/SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # variables -VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")} +VERSION=${VERSION:-"trunk"} BUILD=${BUILD:-1} TAG=gwh @@ -24,32 +24,33 @@ mkdir -p $PKG # mise en place cd $TMP -[ ! -e $REPOSITORY ] && git clone https://github.com/symless/synergy-core.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +[ ! -e $REPOSITORY ] && git clone https://github.com/polybar/polybar.git $REPOSITORY +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + git submodule init git submodule update +mkdir -p build +cd build cmake \ -D CMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -D CMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -D CMAKE_INSTALL_PREFIX=/usr \ - -D LIB_SUFFIX=${LIBDIRSUFFIX} - + -D CMAKE_BUILD_TYPE=Release \ + -D BUILD_DOC=OFF \ + .. make VERBOSE=1 make install DESTDIR=$PKG - -strip $PKG/usr/bin/* - -mkdir -p $PKG/usr/man/man1/ -cp doc/synergys.man $PKG/usr/man/man1/synergys.1 -cp doc/synergyc.man $PKG/usr/man/man1/synergyc.1 +cd .. mkdir -p $PKG/usr/doc/$PRGNAM -cp -R LICENSE README.md doc/ $PKG/usr/doc/$PRGNAM +cp LICENSE *.md $PKG/usr/doc/$PRGNAM # correction cd $PKG @@ -69,16 +70,16 @@ cat < $PKG/install/slack-desc # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -$PRGNAM: $PRGNAM (core of Synergy, the keyboard and mouse sharing tool) +$PRGNAM: $PRGNAM (A fast and easy-to-use status bar) +$PRGNAM: +$PRGNAM: Polybar aims to help users build beautiful and highly customizable +$PRGNAM: status bars for their desktop environment, without the need of having a +$PRGNAM: black belt in shell scripting. $PRGNAM: $PRGNAM: $PRGNAM: $PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: -$PRGNAM: https://symless.com/synergy +$PRGNAM: https://polybar.github.io/ $PRGNAM: EOF diff --git a/xap/radeon-profile/SlackBuild b/xap/radeon-profile/SlackBuild index 5f020a4c..d1aebd1d 100755 --- a/xap/radeon-profile/SlackBuild +++ b/xap/radeon-profile/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # variables TAG=gwh @@ -11,6 +11,7 @@ PKG=$TMP/pkg-$PRGNAM ARCH=$(uname -m) BUILD=1 +VERSION=${VERSION:-"trunk"} REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM @@ -21,11 +22,12 @@ mkdir -p $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/marazmista/radeon-profile.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/$PRGNAM/ +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION qmake-qt5 DISABLE_UPDATE_CHECK=1 DOCS_DIR=/usr/doc/$PRGNAM MAN_DIR=/usr/man/man1 CFLAGS="$SLKCFLAGS" \ diff --git a/xap/rkvm/SlackBuild b/xap/rkvm/SlackBuild new file mode 100755 index 00000000..f1129cc3 --- /dev/null +++ b/xap/rkvm/SlackBuild @@ -0,0 +1,169 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/htrefil/rkvm.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* +(cd $PKG$PREFIX/bin/ + for i in *; do + mv $i rkvm-$i; + done +) + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp -R example/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM + +cat < $PKG$PREFIX/doc/$PRGNAM/setup-keys.sh +#!/bin/bash +$PREFIX/bin/rkvm-certificate-gen /etc/rkvm/identity.p12.new /etc/rkvm/certificate.pem.new /etc/rkvm/key.pem.new -i \$(hostname -I | cut -d\\ -f1) +EOF +chmod +x $PKG$PREFIX/doc/$PRGNAM/setup-keys.sh + +mkdir -p $PKG/etc/rc.d +cat < $PKG/etc/rc.d/rc.rkvm-server +#!/bin/bash + +start() { + echo "Starting rkvm server..." + + /usr/bin/rkvm-server /etc/rkvm/server.toml & + + [ $? -ne 0 ] && echo "Could not start rkvm-server." +} + +stop() { + killall /usr/bin/rkvm-server +} + +case \$1 in + start ) + start + ;; + stop ) + stop + ;; + restart ) + stop + start + ;; + * ) + echo "Unrecognized command: \$1" + echo "Try one of the following: (start|stop|restart)" + ;; +esac +EOF +cat < $PKG/etc/rc.d/rc.rkvm-client +#!/bin/bash + +start() { + echo "Starting rkvm client..." + + /usr/bin/rkvm-client /etc/rkvm/client.toml & + + [ $? -ne 0 ] && echo "Could not start rkvm-client." +} + +stop() { + killall /usr/bin/rkvm-client +} + +case \$1 in + start ) + start + ;; + stop ) + stop + ;; + restart ) + stop + start + ;; + * ) + echo "Unrecognized command: \$1" + echo "Try one of the following: (start|stop|restart)" + ;; +esac +EOF + +mkdir -p $PKG/etc/rkvm +cat < $PKG/etc/rkvm/server.toml.new +listen-address = "0.0.0.0:5258" +# Switch to next client by pressing the right alt key. +switch-keys = ["RightAlt"] +identity-path = "/etc/rkvm/identity.p12" +# Leave unset if no password is set. +#identity-password = "123456789" +EOF +cat < $PKG/etc/rkvm/client.toml.new +server = "$(hostname -I | cut -d\ -f1):5258" +certificate-path = "/etc/rkvm/certificate.pem" +EOF + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM ( Virtual KVM switch for Linux machines ) +$PRGNAM: +$PRGNAM: rkvm is a tool for sharing keyboard and mouse across multiple Linux +$PRGNAM: and Windows machines. It is based on a client/server architecture, +$PRGNAM: where server is the machine controlling mouse and keyboard and relays +$PRGNAM: events (mouse move, key presses, ...) to clients. +$PRGNAM: Switching between different clients is done by a configurable keyboard +$PRGNAM: shortcut. +$PRGNAM: +$PRGNAM: (use $PREFIX/doc/$PRGNAM/gen-keys.sh) +$PRGNAM: https://github.com/htrefil/rkvm +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/wezterm/SlackBuild b/xap/wezterm/SlackBuild new file mode 100755 index 00000000..3f27fcdd --- /dev/null +++ b/xap/wezterm/SlackBuild @@ -0,0 +1,79 @@ +#!/bin/bash + +# variables +VERSION=${VERSION:-"trunk"} +BUILD=${BUILD:-1} + +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +ARCH=${ARCH:-$(uname -m)} + +REPOSITORY=${REPOSITORY:-/home/installs/SlackBuilds/repositories/$PRGNAM} +PREFIX=${PREFIX:-/usr} + +# nettoyage prĂ©alable +rm -fr $PKG $TMP/$PRGNAM-$VERSION + +mkdir -p $PKG + +# mise en place +cd $TMP +[ ! -e $REPOSITORY ] && git clone https://github.com/wez/wezterm.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/ +cd $TMP/$PRGNAM + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +cargo build --release + +mkdir -p $PKG$PREFIX/bin +find target/release/ -type f -executable -maxdepth 1 -exec cp {} $PKG$PREFIX/bin/ \; +chmod 755 $PKG$PREFIX/bin/* + +# move doc/ to the appropriate location +mkdir -p $PKG$PREFIX/doc/$PRGNAM +cp *.md $PKG$PREFIX/doc/$PRGNAM + +# correction +cd $PKG +chown -R root:root * + +find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; + +# embaumement +mkdir -p $PKG/install + +cat < $PKG/install/slack-desc +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (A GPU-accelerated terminal emulator and multiplexer) +$PRGNAM: +$PRGNAM: written by @wez and implemented in Rust +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://wezfurlong.org/wezterm/ +$PRGNAM: https://github.com/wez/wezterm +EOF + +# empaquetage +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz diff --git a/xap/x48/SlackBuild b/xap/x48/SlackBuild index 927c4651..1183827c 100755 --- a/xap/x48/SlackBuild +++ b/xap/x48/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash set -x PRGNAM=x48 -VERSION=${VERSION:-0.6.4} BUILD=1 +VERSION=${VERSION:-"trunk"} ARCH=$(uname -m) LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") @@ -26,13 +26,16 @@ rm -fr $PRGNAM $PKG # Fetching sources [ ! -e $REPOSITORY ] && git clone https://github.com/gwenhael-le-moine/x48.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all cp -R $REPOSITORY $TMP/$PRGNAM # Preparation cd $TMP/$PRGNAM + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/xap/x49gp/SlackBuild b/xap/x49gp/SlackBuild index a1b862da..59dc1eda 100755 --- a/xap/x49gp/SlackBuild +++ b/xap/x49gp/SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash set -x CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(date +%F | tr - .)} +VERSION=${VERSION:-"trunk"} BUILD=1 @@ -27,12 +27,14 @@ rm -fr $TMP/$PRGNAM $PKG # Fetching sources [ ! -e $REPOSITORY ] && git clone https://github.com/gwenhael-le-moine/x49gp.git $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all + cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # Preparation -cd $TMP/$PRGNAM chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -58,7 +60,7 @@ mkdir -p $PKG$PREFIX/bin/ cp x49gp $PKG$PREFIX/bin/x49gp-bin cp $CWD/bootstrap-config.sh $PKG$PREFIX/bin/x49gp-bootstrap-config cat < $PKG$PREFIX/bin/x49gp -#!/bin/sh +#!/bin/bash if [ ! -e ~/.x49gp/config ]; then echo "Please run x49gp-bootstrap-config first" diff --git a/y/Blockout/SlackBuild b/y/Blockout/SlackBuild index 1b1e83ba..ed6ead22 100755 --- a/y/Blockout/SlackBuild +++ b/y/Blockout/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) TAG=${TAG:-gwh} @@ -144,7 +144,7 @@ EOF cd $PKG/usr/games/ cat < $PRGNAM.sh -#!/bin/sh +#!/bin/bash dosbox -conf /usr/share/games/$PRGNAM/dosbox.config \$* EOF chmod +x $PRGNAM.sh diff --git a/y/FlashBack/SlackBuild b/y/FlashBack/SlackBuild index 4b860a69..77a51479 100755 --- a/y/FlashBack/SlackBuild +++ b/y/FlashBack/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) TAG=${TAG:-gwh} @@ -145,7 +145,7 @@ EOF cd $PKG/usr/games/ cat < flashback.sh -#!/bin/sh +#!/bin/bash dosbox -conf /usr/share/games/FlashBack/dosbox.config \$* EOF chmod +x flashback.sh diff --git a/y/REminiscence_FlashBack/SlackBuild b/y/REminiscence_FlashBack/SlackBuild index 6fdb108d..cb740adf 100755 --- a/y/REminiscence_FlashBack/SlackBuild +++ b/y/REminiscence_FlashBack/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # --- INIT --- # Set initial variables: diff --git a/y/cboard/SlackBuild b/y/cboard/SlackBuild index 8308fbc0..5ce9183f 100755 --- a/y/cboard/SlackBuild +++ b/y/cboard/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x CWD=$(pwd) @@ -6,6 +6,7 @@ CWD=$(pwd) PRGNAM=$(basename $CWD) BUILD=1 +VERSION=${VERSION:-"trunk"} ARCH=$(uname -m) LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)") @@ -25,12 +26,15 @@ rm -fr $PKG mkdir -p $TMP [ ! -e $REPOSITORY ] && git clone "http://repo.or.cz/r/cboard.git" $REPOSITORY -( cd $REPOSITORY && git pull ) -VERSION="$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )" +cd $REPOSITORY +git pull --all # Preparation cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION + +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ diff --git a/y/dhewm3-data/SlackBuild b/y/dhewm3-data/SlackBuild index e88a394d..d01d58dc 100755 --- a/y/dhewm3-data/SlackBuild +++ b/y/dhewm3-data/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x CWD=$(pwd) diff --git a/y/ioquake3-data/SlackBuild b/y/ioquake3-data/SlackBuild index 7da3f3e9..3879f095 100755 --- a/y/ioquake3-data/SlackBuild +++ b/y/ioquake3-data/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x CWD=$(pwd) diff --git a/y/iortcw-data/SlackBuild b/y/iortcw-data/SlackBuild index a7d2a48e..c2207cbb 100755 --- a/y/iortcw-data/SlackBuild +++ b/y/iortcw-data/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -x CWD=$(pwd) diff --git a/y/lutris/SlackBuild b/y/lutris/SlackBuild index 4564bdba..23846273 100755 --- a/y/lutris/SlackBuild +++ b/y/lutris/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for lutris @@ -68,9 +68,10 @@ python3 setup.py install --root $PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mv $PKG/usr/share/man $PKG/usr/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -#cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat < $PKG/install/slack-desc diff --git a/y/minecraft-launcher/SlackBuild b/y/minecraft-launcher/SlackBuild index d8192a6e..21802613 100755 --- a/y/minecraft-launcher/SlackBuild +++ b/y/minecraft-launcher/SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash CWD=$(pwd) PRGNAM=$(basename $CWD) -VERSION=${VERSION:-$(curl -s https://minecraft.gamepedia.com/Launcher_version_history | grep Linux | head -n 1 | grep -o ">[0-9.]*$" | sed 's|>\([0-9.]*\)$|\1|')} +VERSION=${VERSION:-$(curl "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=minecraft-launcher" | grep "pkgver=" | grep -o "[0-9]*")} ARCH=$(uname -m) BUILD=${BUILD:-1} @@ -19,7 +19,7 @@ mkdir -p $PKG/opt/${PRGNAM} tar xvf $CWD/minecraft-launcher_${VERSION}.tar.gz -C $PKG/opt/ -# rm $CWD/minecraft-launcher_${VERSION}.tar.gz +rm $CWD/minecraft-launcher_${VERSION}.tar.gz mkdir -p $PKG/usr/bin cd $PKG/usr/bin diff --git a/y/steam/SlackBuild b/y/steam/SlackBuild index e3adaf49..bda1b730 100755 --- a/y/steam/SlackBuild +++ b/y/steam/SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for steam diff --git a/y/steamtinkerlaunch/SlackBuild b/y/steamtinkerlaunch/SlackBuild new file mode 100755 index 00000000..25a3ee4c --- /dev/null +++ b/y/steamtinkerlaunch/SlackBuild @@ -0,0 +1,75 @@ +#!/bin/bash + +# variables +TAG=gwh +TMP=/tmp/$TAG +CWD=$(pwd) +OUTPUT=/tmp + +PRGNAM=$(basename $CWD) +PKG=$TMP/pkg-$PRGNAM + +ARCH=$(uname -m) +BUILD=1 +VERSION=${VERSION:-"trunk"} + +REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM + +# nettoyage préalable +rm -fr $PKG $TMP/$PRGNAM + +mkdir -p $PKG + +# mise en place +[ ! -e $REPOSITORY ] && git clone https://github.com/frostworx/steamtinkerlaunch.git $REPOSITORY +cd $REPOSITORY +git pull --all + +cp -R $REPOSITORY $TMP/$PRGNAM +cd $TMP/$PRGNAM/ +[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION + +make PREFIX="$PKG/usr" install + +mv $PKG/usr/share/doc $PKG/usr/ +# correction +cd $PKG +chown -R root:root * + +# embaumement +mkdir -p $PKG/install +cat < $PKG/install/doinst.sh +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi +EOF + +cat < $PKG/install/slack-desc + |-----handy-ruler------------------------------------------------------| +$PRGNAM: $PRGNAM (wrapper tool for Steam client: custom options and 3rd party) +$PRGNAM: +$PRGNAM: a Linux wrapper tool for use with the Steam client +$PRGNAM: Steam Tinker Launch (short stl) is a Linux wrapper tool for use with +$PRGNAM: the Steam client which allows customizing and start tools and +$PRGNAM: options for games quickly on the fly (see Features) +$PRGNAM: +$PRGNAM: +$PRGNAM: +$PRGNAM: https://github.com/frostworx/steamtinkerlaunch +$PRGNAM: +EOF + +# empaquetage +cd $PKG +rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo ${VERSION}_${LIBRARY_VERSION} | sed 's/-//g')-$ARCH-$BUILD$TAG.txz