Merge branch 'master' of github.com:cycojesus/slackbuilds

This commit is contained in:
Gwenhael Le Moine 2012-01-06 15:35:03 +01:00
commit dac7029809
2 changed files with 56 additions and 1 deletions

55
d/Kivy/Kivy.SlackBuild Executable file
View file

@ -0,0 +1,55 @@
#!/bin/sh
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=$(date +%Y.%m.%d_%H.%M)
BUILD=1
ARCH=$(uname -m)
TAG=cyco
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 https://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 <<EOF > 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 *
makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.txz

View file

@ -4,7 +4,7 @@
CWD=$(pwd) CWD=$(pwd)
PRGNAM=$(basename $CWD) PRGNAM=$(basename $CWD)
VERSION=1.13 VERSION=1.14
ARCH=$(uname -m) ARCH=$(uname -m)
BUILD=1 BUILD=1