Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2011-06-14 20:19:39 +02:00
commit 4198c1c15b
36 changed files with 169 additions and 50 deletions

View file

@ -26,7 +26,7 @@ mkdir -p $PKG/var/lib/sbopkg/
# mise en place # mise en place
[ ! -e $REPOSITORY ] \ [ ! -e $REPOSITORY ] \
&& git clone git://gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git $REPOSITORY \ && git clone https://git.gitorious.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git $REPOSITORY \
|| (cd $REPOSITORY; git pull) || (cd $REPOSITORY; git pull)
cd $PKG/var/lib/sbopkg/ cd $PKG/var/lib/sbopkg/

View file

@ -36,7 +36,7 @@ cd $TMP
if [ ! -e $REPOSITORIES/$PRGNAM ] ; then if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
mkdir -p $REPOSITORIES mkdir -p $REPOSITORIES
( cd $REPOSITORIES ( cd $REPOSITORIES
git clone git://github.com/petdance/ack.git $PRGNAM git clone https://github.com/petdance/ack.git $PRGNAM
) )
else else
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM

95
ap/ledger/ledger.SlackBuild Executable file
View file

@ -0,0 +1,95 @@
#!/bin/sh
# 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 <gwenhael.le.moine-AT-gmail.com>
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=${VERSION:=2.6.3}
ARCH=${ARCH:-$(uname -m)}
BUILD=${BUILD:-1}
TAG=${TAG:-cyco}
TMP=${TMP:-/tmp/$TAG}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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/usr
cd $TMP
rm -rf $PRGNAM-$VERSION
[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c -O $CWD/$PRGNAM-$VERSION.tar.gz http://cloud.github.com/downloads/jwiegley/$PRGNAM/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
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 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--build=$ARCH-slackware-linux
# fix a bug where Emacs' binary name isn't detected correctly (with emacs 24)
sed -i 's|^EMACS = .*$|EMACS = emacs|g' Makefile
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
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/usr/doc/$PRGNAM-$VERSION/scripts
cp -a \
LICENSE NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a scripts/* $PKG/usr/doc/$PRGNAM-$VERSION/scripts
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
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------------------------------------------------------|
ledger: ledger (a command-line accounting program)
ledger:
ledger: Ledger is an accounting program which is invoked from the command-line
ledger: using a textual ledger file. See the documentation ( use "info ledger"
ledger: or read ledger.pdf from the website) for full documentation on how to
ledger: create a ledger file and using Ledger to generate reports.
ledger:
ledger: Homepage: http://wiki.github.com/jwiegley/ledger
ledger:
ledger:
ledger:
EOF
cd $TMP/package-$PRGNAM
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -29,7 +29,7 @@ cd $TMP
if [ ! -e $REPOSITORIES/$PRGNAM ] ; then if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
mkdir -p $REPOSITORIES mkdir -p $REPOSITORIES
( cd $REPOSITORIES ( cd $REPOSITORIES
git clone git://github.com/sukria/Dancer.git $PRGNAM git clone https://github.com/sukria/Dancer.git $PRGNAM
) )
else else
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM

View file

@ -32,7 +32,7 @@ PREFIX=/usr
# if [ ! -e $REPOSITORIES/$PRGNAM ] ; then # if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
# mkdir -p $REPOSITORIES # mkdir -p $REPOSITORIES
# cd $REPOSITORIES # cd $REPOSITORIES
# git clone git://github.com/earl/gforth-mirror.git $PRGNAM # git clone https://github.com/earl/gforth-mirror.git $PRGNAM
# fi # fi
# ( cd $REPOSITORIES/$PRGNAM # ( cd $REPOSITORIES/$PRGNAM

View file

@ -36,7 +36,7 @@ if [ -e $CWD/$PRGNAM-$VERSION.$EXT ]; then
else else
[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES [ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES
if [ ! -e $REPOSITORIES/$PRGNAM ]; then if [ ! -e $REPOSITORIES/$PRGNAM ]; then
git clone git://github.com/keplerproject/luarocks.git $REPOSITORIES/$PRGNAM git clone https://github.com/keplerproject/luarocks.git $REPOSITORIES/$PRGNAM
else else
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM
git pull git pull

View file

@ -39,7 +39,7 @@ if [ -e $CWD/$PRGNAM-$VERSION.$EXT ] ; then
else else
if [ ! -e $REPOSITORIES/$PRGNAM ] ; then if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
( cd $REPOSITORIES ( cd $REPOSITORIES
git clone git://github.com/joyent/node.git $PRGNAM git clone https://github.com/joyent/node.git $PRGNAM
) ; ) ;
fi fi
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM

View file

@ -29,7 +29,7 @@ rm -fr $PKG
git pull git pull
) )
else else
git clone git://github.com/parrot/parrot.git parrot git clone https://github.com/parrot/parrot.git parrot
fi fi
) )

View file

@ -29,7 +29,7 @@ mkdir -p $TMP $PKG
git pull git pull
) )
else else
git clone git://github.com/rakudo/rakudo.git $REPOSITORIES/$PRGNAM git clone https://github.com/rakudo/rakudo.git $REPOSITORIES/$PRGNAM
fi fi
) )

View file

@ -13,17 +13,33 @@ TMP=/tmp/$TAG
PKG=$TMP/pkg-$PRGNAM PKG=$TMP/pkg-$PRGNAM
OUTPUT=/tmp OUTPUT=/tmp
REPOSITORIES=/home/cycojesus/projets/packages/repositories
PREFIX=/usr PREFIX=/usr
# cleaning # cleaning
rm -fr $PKG rm -fr $PKG
# get sources # get sources
[ -e $CWD/LearnPythonTheHardWay.pdf ] && mv $CWD/LearnPythonTheHardWay.pdf $CWD/LearnPythonTheHardWay.pdf.orig if [ ! -e $REPOSITORIES/$PRGNAM ]; then
wget -c http://learnpythonthehardway.org/static/LearnPythonTheHardWay.pdf -O $CWD/LearnPythonTheHardWay.pdf mkdir -p $REPOSITORIES/$PRGNAM
( cd $REPOSITORIES/$PRGNAM
httrack http://learnpythonthehardway.org/book/
)
else
( cd $REPOSITORIES/$PRGNAM
httrack --update
)
fi
mkdir -p $PKG$PREFIX/doc/$PRGNAM mkdir -p $PKG$PREFIX/doc/
cp -R $CWD/LearnPythonTheHardWay.pdf $PKG$PREFIX/doc/$PRGNAM cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM
# [ -e $CWD/LearnPythonTheHardWay.pdf ] && mv $CWD/LearnPythonTheHardWay.pdf $CWD/LearnPythonTheHardWay.pdf.orig
# wget -c http://learnpythonthehardway.org/static/LearnPythonTheHardWay.pdf -O $CWD/LearnPythonTheHardWay.pdf
# mkdir -p $PKG$PREFIX/doc/$PRGNAM
# cp -R $CWD/LearnPythonTheHardWay.pdf $PKG$PREFIX/doc/$PRGNAM
( cd $PKG ( cd $PKG
mkdir -p install mkdir -p install

View file

@ -28,7 +28,7 @@ rm -fr $PKG
git pull git pull
) )
else else
git clone git://github.com/perl6/book.git $REPOSITORIES/$PRGNAM git clone https://github.com/perl6/book.git $REPOSITORIES/$PRGNAM
fi fi
) )

View file

@ -28,7 +28,7 @@ rm -fr $PKG
git pull git pull
) )
else else
git clone git://github.com/sandal/rbp-book.git $REPOSITORIES/$PRGNAM git clone https://github.com/sandal/rbp-book.git $REPOSITORIES/$PRGNAM
fi fi
) )

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://github.com/jochu/clojure-mode.git" $PRGNAM git clone "https://github.com/jochu/clojure-mode.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://git.naquadah.org/google-maps.git" $PRGNAM git clone "http://git.naquadah.org/git/google-maps.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://git.naquadah.org/google-weather-el.git" $PRGNAM git clone "http://git.naquadah.org/git/google-weather-el.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -31,7 +31,7 @@ if [ -e $REPOSITORY ]; then
git pull git pull
) )
else else
git clone git://git.naquadah.org/naquadah-theme.git $REPOSITORY git clone http://git.naquadah.org/git/naquadah-theme.git $REPOSITORY
fi fi
mkdir -p $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes mkdir -p $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://github.com/mattharrison/$PRGNAM.git" $PRGNAM git clone "https://github.com/mattharrison/$PRGNAM.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://git.naquadah.org/rainbow.git" $PRGNAM git clone "http://git.naquadah.org/git/rainbow.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://github.com/chrisdone/zencoding.git" $PRGNAM git clone "https://github.com/chrisdone/zencoding.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -36,7 +36,7 @@ ARCH=${ARCH:-$(uname -m)}
NUMJOBS=${NUMJOBS:-" -j3 "} NUMJOBS=${NUMJOBS:-" -j3 "}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
X_TOOLKIT=${X_TOOLKIT:=lucid} X_TOOLKIT=${X_TOOLKIT:=gtk}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"

View file

@ -19,7 +19,7 @@ rm -rf $PKG
( cd $REPOSITORIES ( cd $REPOSITORIES
if [ ! -e $PRGNAM ] ; then if [ ! -e $PRGNAM ] ; then
svn checkout "svn://svn.sv.gnu.org/emacswiki/emacswikipages" $PRGNAM svn checkout "http://svn.sv.gnu.org/svn/emacswiki/emacswikipages" $PRGNAM
else else
( cd $PRGNAM ( cd $PRGNAM
svn update svn update
@ -37,6 +37,7 @@ mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM/
( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM/ ( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM/
for el in \ for el in \
"no-word.el" \ "no-word.el" \
"xml-rpc.el" \
"buffer-move.el" \ "buffer-move.el" \
"goto-last-change.el" \ "goto-last-change.el" \
"fill-column-indicator.el" \ "fill-column-indicator.el" \

View file

@ -31,7 +31,7 @@ cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY) cd $(dirname $REPOSITORY)
git clone "git://git.naquadah.org/offlineimap-el.git" $PRGNAM git clone "http://git.naquadah.org/git/offlineimap-el.git" $PRGNAM
fi fi
( cd $REPOSITORY ( cd $REPOSITORY

View file

@ -29,15 +29,13 @@ mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) git clone "http://github.com/punchagan/org2blog.git" $REPOSITORY
cd $(dirname $REPOSITORY) else
git clone "http://github.com/punchagan/org2blog.git" $PRGNAM ( cd $REPOSITORY
git pull
)
fi fi
( cd $REPOSITORY
git pull
)
mkdir -p $PKG$PREFIX/share/emacs/site-lisp mkdir -p $PKG$PREFIX/share/emacs/site-lisp
cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp
( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM ( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM
@ -48,9 +46,8 @@ cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp
) )
# correction # correction
( cd $PKG cd $PKG
chown -R root:root * chown -R root:root *
)
# embaumement # embaumement
mkdir -p $PKG/install mkdir -p $PKG/install
@ -78,5 +75,4 @@ $PRGNAM:
EOF EOF
# empaquetage # empaquetage
cd $PKG
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz

View file

@ -9,7 +9,7 @@ CWD=$(pwd)
PRGNAM=libxdg-basedir PRGNAM=libxdg-basedir
PKG=$TMP/pkg-$PRGNAM PKG=$TMP/pkg-$PRGNAM
VERSION=1.0.0 VERSION=$(date +%Y.%m.%d_%H.%M)
EXT=tar.gz EXT=tar.gz
@ -18,6 +18,7 @@ DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1
REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
PREFIX=/usr PREFIX=/usr
@ -30,10 +31,19 @@ mkdir -p $PKG
# mise en place # mise en place
cd $TMP cd $TMP
tar xf $CWD/$PRGNAM-$VERSION.$EXT 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 cd $PRGNAM-$VERSION
# configuration # configuration
./autogen.sh
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \
CPPFLAGS=$SLCKFLAGS \ CPPFLAGS=$SLCKFLAGS \
./configure \ ./configure \

View file

@ -27,7 +27,7 @@ if [ -e $CWD/PRGNAM-$VERSION.tar.$GZBZ2 ] ; then
tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2 tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2
else else
if [ ! -e $REPOSITORIES/$PRGNAM ] ; then if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
git clone git://git.naquadah.org/oocairo.git $REPOSITORIES/$PRGNAM git clone http://git.naquadah.org/git/oocairo.git $REPOSITORIES/$PRGNAM
else else
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM
git pull git pull

View file

@ -27,7 +27,7 @@ if [ -e $CWD/PRGNAM-$VERSION.tar.$GZBZ2 ] ; then
tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2 tar xvf $CWD/PRGNAM-$VERSION.tar.$GZBZ2
else else
if [ ! -e $REPOSITORIES/$PRGNAM ] ; then if [ ! -e $REPOSITORIES/$PRGNAM ] ; then
git clone git://git.naquadah.org/oopango.git $REPOSITORIES/$PRGNAM git clone http://git.naquadah.org/git/oopango.git $REPOSITORIES/$PRGNAM
else else
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM
git pull git pull

View file

@ -28,7 +28,7 @@ rm -fr $PKG
# git pull # git pull
# ) # )
# else # else
# git clone git://github.com/bauhouse/fluid960gs.git $REPOSITORIES/$PRGNAM # git clone https://github.com/bauhouse/fluid960gs.git $REPOSITORIES/$PRGNAM
# fi # fi
# ) # )

View file

@ -28,7 +28,7 @@ rm -fr $PKG
git pull git pull
) )
else else
git clone git://github.com/bauhouse/fluid960gs.git $REPOSITORIES/$PRGNAM git clone https://github.com/bauhouse/fluid960gs.git $REPOSITORIES/$PRGNAM
fi fi
) )

View file

@ -28,7 +28,7 @@ rm -fr $PKG
git pull git pull
) )
else else
git clone git://github.com/$PRGNAM/$PRGNAM.git $REPOSITORIES/$PRGNAM git clone https://github.com/$PRGNAM/$PRGNAM.git $REPOSITORIES/$PRGNAM
fi fi
) )

View file

@ -28,7 +28,7 @@ rm -fr $PKG
git pull git pull
) )
else else
git clone git://github.com/jeresig/processing-js.git $REPOSITORIES/$PRGNAM git clone https://github.com/jeresig/processing-js.git $REPOSITORIES/$PRGNAM
fi fi
) )

View file

@ -24,7 +24,7 @@ function pull_or_clone() {
git pull git pull
) )
else else
git clone git://github.com/rightjs/$NAM.git $REPOSITORIES/$NAM git clone https://github.com/rightjs/$NAM.git $REPOSITORIES/$NAM
fi fi
} }

View file

@ -49,7 +49,7 @@ if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then
SRC_PATH=. SRC_PATH=.
cd $TMP/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION
else else
git_clone_or_pull git://git.naquadah.org/$PRGNAM.git $PRGNAM git_clone_or_pull http://git.naquadah.org/git/$PRGNAM.git $PRGNAM
rm -fr $TMP/$PRGNAM-$VERSION rm -fr $TMP/$PRGNAM-$VERSION
mkdir -p $TMP/$PRGNAM-$VERSION mkdir -p $TMP/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION cd $TMP/$PRGNAM-$VERSION

View file

@ -27,7 +27,7 @@ mkdir -p $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
git clone "git://github.com/mason-larobina/luakit.git" $REPOSITORY git clone "https://github.com/mason-larobina/luakit.git" $REPOSITORY
else else
( cd $REPOSITORY ( cd $REPOSITORY
git pull git pull

View file

@ -27,7 +27,7 @@ rm -fr $PKG $TMP/$PRGNAM-$VERSION
tar xf $CWD/$PRGNAM-$VERSION.tar.?z* tar xf $CWD/$PRGNAM-$VERSION.tar.?z*
else else
if [ ! -e $REPOSITORIES/$PRGNAM ]; then if [ ! -e $REPOSITORIES/$PRGNAM ]; then
git clone git://github.com/cortesi/qtile.git git clone https://github.com/cortesi/qtile.git
else else
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM
git pull git pull

View file

@ -27,7 +27,7 @@ mkdir -p $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
git clone "git://github.com/nonstop/termit.git" $REPOSITORY git clone "https://github.com/nonstop/termit.git" $REPOSITORY
else else
( cd $REPOSITORY ( cd $REPOSITORY
git pull git pull
@ -50,8 +50,9 @@ cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
# Installation # Installation
make install DESTDIR=$PKG make install DESTDIR=$PKG
mkdir -p $PKG$PREFIX/doc/$PRGNAM
mv $PKG$PREFIX/share/man mv $PKG$PREFIX/ mv $PKG$PREFIX/share/man mv $PKG$PREFIX/
mv $PKG$PREFIX/share/doc/* $PKG$PREFIX/doc/ mv $PKG$PREFIX/share/doc/* $PKG$PREFIX/doc/$PRGNAM
rm -fr $PKG$PREFIX/share/doc rm -fr $PKG$PREFIX/share/doc
cp -a ChangeLog INSTALL COPYING TODO $PKG$PREFIX/doc/$PRGNAM cp -a ChangeLog INSTALL COPYING TODO $PKG$PREFIX/doc/$PRGNAM
) )

View file

@ -27,7 +27,7 @@ mkdir -p $TMP
if [ ! -e $REPOSITORY ] ; then if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY) mkdir -p $(dirname $REPOSITORY)
git clone "git://github.com/poelzi/ulatencyd.git" $REPOSITORY git clone "https://github.com/poelzi/ulatencyd.git" $REPOSITORY
else else
( cd $REPOSITORY ( cd $REPOSITORY
git pull git pull