Merge branch 'master' of github.com:cycojesus/slackbuilds
This commit is contained in:
commit
d55e33d17a
6 changed files with 285 additions and 7 deletions
|
@ -12,7 +12,7 @@ for i in $(find . -type d -maxdepth 1 -not -name UNUSED -not -name . -not -name
|
||||||
(cd $i
|
(cd $i
|
||||||
THIS=$(basename $i)
|
THIS=$(basename $i)
|
||||||
sh $THIS.SlackBuild \
|
sh $THIS.SlackBuild \
|
||||||
&& upgradepkg --install-new /tmp/$THIS*.t?z \
|
&& upgradepkg /tmp/$THIS*.t?z \
|
||||||
&& mv /tmp/$THIS*.t?z /home/installs/PKGs/
|
&& mv /tmp/$THIS*.t?z /home/installs/PKGs/
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
|
71
l/grunt-zsh-completion/grunt-zsh-completion.SlackBuild
Executable file
71
l/grunt-zsh-completion/grunt-zsh-completion.SlackBuild
Executable file
|
@ -0,0 +1,71 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
VERSION=$(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=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
|
||||||
|
if [ ! -e $REPOSITORY ] ; then
|
||||||
|
git clone "https://github.com/yonchu/grunt-zsh-completion.git" $REPOSITORY
|
||||||
|
else
|
||||||
|
( cd $REPOSITORY
|
||||||
|
git pull
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p $PKG$PREFIX/share/zsh/site-functions/
|
||||||
|
cp $REPOSITORY/_grunt $PKG$PREFIX/share/zsh/site-functions/
|
||||||
|
|
||||||
|
mkdir -p $PKG$PREFIX/doc/$PRGNAM
|
||||||
|
cp -R $REPOSITORY/{img/,README.md} $PKG$PREFIX/doc/$PRGNAM/
|
||||||
|
|
||||||
|
# correction
|
||||||
|
cd $PKG
|
||||||
|
chown -R root:root *
|
||||||
|
|
||||||
|
# embaumement
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
|
||||||
|
cat <<EOF > $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 (grunt completion for zsh)
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: The zsh completion script for grunt.
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM:
|
||||||
|
$PRGNAM: https://github.com/yonchu/grunt-zsh-completion
|
||||||
|
$PRGNAM:
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# empaquetage
|
||||||
|
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
71
l/npm-zsh-completion/npm-zsh-completion.SlackBuild
Executable file
71
l/npm-zsh-completion/npm-zsh-completion.SlackBuild
Executable file
|
@ -0,0 +1,71 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
VERSION=$(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=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
|
||||||
|
if [ ! -e $REPOSITORY ] ; then
|
||||||
|
git clone "https://github.com/kuno/npm-zsh-completion" $REPOSITORY
|
||||||
|
else
|
||||||
|
( cd $REPOSITORY
|
||||||
|
git pull
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
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 <<EOF > $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
|
||||||
|
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
71
l/zsh-completions/zsh-completions.SlackBuild
Executable file
71
l/zsh-completions/zsh-completions.SlackBuild
Executable file
|
@ -0,0 +1,71 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
# variables
|
||||||
|
VERSION=$(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=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
|
||||||
|
if [ ! -e $REPOSITORY ] ; then
|
||||||
|
git clone "https://github.com/zsh-users/zsh-completions.git" $REPOSITORY
|
||||||
|
else
|
||||||
|
( cd $REPOSITORY
|
||||||
|
git pull
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
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 <<EOF > $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
|
||||||
|
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz
|
63
xap/gorilla/gorilla.SlackBuild
Executable file
63
xap/gorilla/gorilla.SlackBuild
Executable file
|
@ -0,0 +1,63 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
PRGNAM=$(basename $CWD)
|
||||||
|
VERSION=$(date +%Y.%m.%d_%H.%M)
|
||||||
|
BUILD=1
|
||||||
|
|
||||||
|
ARCH=noarch #$(uname -m)
|
||||||
|
|
||||||
|
HOME=/home/cycojesus
|
||||||
|
TAG=cyco
|
||||||
|
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 <<EOF > $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
|
||||||
|
makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - .)-$ARCH-$BUILD$TAG.txz
|
|
@ -23,19 +23,21 @@ BUILD=1
|
||||||
|
|
||||||
BRANCH=${BRANCH:=latest-mozilla-central}
|
BRANCH=${BRANCH:=latest-mozilla-central}
|
||||||
|
|
||||||
if [ $KEEP_TAR == "NO" ]; then
|
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
|
[ -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
|
||||||
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)
|
else
|
||||||
wget -c http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/$BRANCH/$WHICH_TAR
|
[ -e firefox-*.en-US.linux-x86_64.tar.bz2 ] && rm firefox-*.en-US.linux-x86_64.tar.bz2
|
||||||
fi
|
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
|
||||||
|
|
||||||
VERSION=$(ls -ut firefox-*.tar.bz2 | head -n1 | cut -d - -f 2 | sed 's|.en||')
|
VERSION=$(ls -ut firefox-*.tar.bz2 | head -n1 | cut -d - -f 2 | sed 's|.en||')
|
||||||
|
|
||||||
LIBSUFFIX=$(echo "$ARCH" | grep -o "64")
|
LIBSUFFIX=$(echo "$ARCH" | grep -o "64")
|
||||||
|
|
||||||
if [ ! -d $TMP ]; then
|
|
||||||
mkdir -p $TMP
|
mkdir -p $TMP
|
||||||
fi
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $PKG/usr/lib$LIBSUFFIX
|
mkdir -p $PKG/usr/lib$LIBSUFFIX
|
||||||
( cd $PKG/usr/lib$LIBSUFFIX
|
( cd $PKG/usr/lib$LIBSUFFIX
|
||||||
|
|
Loading…
Reference in a new issue