diff --git a/SBo/development/gem2tgz/SlackBuild b/SBo/development/gem2tgz/gem2tgz.SlackBuild similarity index 100% rename from SBo/development/gem2tgz/SlackBuild rename to SBo/development/gem2tgz/gem2tgz.SlackBuild diff --git a/SBo/development/npm2tgz/SlackBuild b/SBo/development/npm2tgz/npm2tgz.SlackBuild similarity index 94% rename from SBo/development/npm2tgz/SlackBuild rename to SBo/development/npm2tgz/npm2tgz.SlackBuild index c22388db..926a8710 100755 --- a/SBo/development/npm2tgz/SlackBuild +++ b/SBo/development/npm2tgz/npm2tgz.SlackBuild @@ -5,7 +5,7 @@ # Written by Gwenhael Le Moine PRGNAM=npm2tgz -VERSION=1.3.4 +VERSION=1.3.5 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,7 +36,7 @@ mkdir -p $PKG/usr/{bin,doc/$PRGNAM-$VERSION} cp npm2tgz $PKG/usr/bin chmod +x $PKG/usr/bin/npm2tgz -cp README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/SBo/development/npm2tgz/npm2tgz.info b/SBo/development/npm2tgz/npm2tgz.info index 0f430137..bdcc641f 100644 --- a/SBo/development/npm2tgz/npm2tgz.info +++ b/SBo/development/npm2tgz/npm2tgz.info @@ -1,8 +1,8 @@ PRGNAM="npm2tgz" -VERSION="1.3.4" -HOMEPAGE="http://github.com/gwenhael-le-moine/npm2tgz" -DOWNLOAD="http://github.com/gwenhael-le-moine/npm2tgz/archive/1.3.4.tar.gz" -MD5SUM="82de40cadf8dfe2f72c7c765cd4c1860" +VERSION="1.3.5" +HOMEPAGE="https://github.com/gwenhael-le-moine/npm2tgz" +DOWNLOAD="https://github.com/gwenhael-le-moine/npm2tgz/archive/1.3.5.tar.gz" +MD5SUM="a89b659eae1190f62717c21211e6833e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nodejs" diff --git a/fonts/bitmap-fonts/SlackBuild b/fonts/bitmap-fonts/SlackBuild new file mode 100755 index 00000000..9cfede62 --- /dev/null +++ b/fonts/bitmap-fonts/SlackBuild @@ -0,0 +1,68 @@ +#!/bin/sh + +PRGNAM=$(basename $(pwd)) +ARCH=font +BUILD=${BUILD:-1} +TAG=${TAG:-cyco} + +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,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 +makepkg --linkadd y --chown n $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txz diff --git a/xap/google_chrome.sh b/xap/google_chrome.sh index a19f0645..530ef91e 100755 --- a/xap/google_chrome.sh +++ b/xap/google_chrome.sh @@ -13,14 +13,15 @@ case $ARCH in esac CHANNEL=${CHANNEL:=stable} -cd $BUILD_DIR +#cd $BUILD_DIR [ -e google-chrome-${CHANNEL}_current_$ARCH.deb ] && rm google-chrome-${CHANNEL}_current_$DEBARCH.deb wget -c --no-check-certificate https://dl.google.com/linux/direct/google-chrome-${CHANNEL}_current_$DEBARCH.deb +cp $BUILD_DIR/google-chrome.SlackBuild . RELEASE=$CHANNEL ./google-chrome.SlackBuild upgradepkg --install-new --reinstall /tmp/google-chrome-*-$ARCH-*.txz -rm google-chrome-${CHANNEL}_current_$DEBARCH.deb +rm google-chrome.SlackBuild google-chrome-${CHANNEL}_current_$DEBARCH.deb #/root/clean-tmp.sh