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

This commit is contained in:
Gwenhael Le moine 2009-12-19 18:12:21 +07:00
commit 50be17eabe

View file

@ -2,7 +2,7 @@
set -x -e set -x -e
PRGNAM=clojure PRGNAM=clojure
VERSION=1.0.0 VERSION=1.1.0-rc1
ARCH=java ARCH=java
BUILD=1 BUILD=1
PACKAGER=cyco PACKAGER=cyco
@ -16,9 +16,9 @@ PREFIX=/usr
rm -fr $PKG rm -fr $PKG
# unpacking # unpacking
mkdir -p $PKG$PREFIX/libexec/$PRGNAM-$VERSION mkdir -p $PKG$PREFIX/libexec #/$PRGNAM-$VERSION
( cd $PKG$PREFIX/libexec/$PRGNAM-$VERSION ( cd $PKG$PREFIX/libexec #/$PRGNAM-$VERSION
unzip $CWD/${PRGNAM}_$VERSION.zip unzip $CWD/${PRGNAM}-$VERSION.zip
) )
# compilation # compilation
@ -65,4 +65,4 @@ $PRGNAM:
$PRGNAM: http://clojure.org $PRGNAM: http://clojure.org
EOF EOF
makepkg -l y -c n $TMP/$PRGNAM-$VERSION-$ARCH-$BUILD$PACKAGER.txz makepkg -l y -c n $TMP/$PRGNAM-$(echo $VERSION|tr -d -)-$ARCH-$BUILD$PACKAGER.txz