summaryrefslogtreecommitdiff
path: root/development/pylint/pylint.SlackBuild
diff options
context:
space:
mode:
authorgrissiom <chaos.proton@gmail.com>2010-05-13 00:25:20 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:25:20 +0200
commit86a926715f0b44bab31c1d4dcf224ff6d6753cec (patch)
treeba5bba1582bea70f9bdec7a568050680b9a4b412 /development/pylint/pylint.SlackBuild
parent1cc45bd25a8e1b4f37d4fc8c146147ea96d4f376 (diff)
downloadslackbuilds-86a926715f0b44bab31c1d4dcf224ff6d6753cec.tar.gz
development/pylint: Updated for version 0.18.0
Diffstat (limited to 'development/pylint/pylint.SlackBuild')
-rw-r--r--development/pylint/pylint.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/development/pylint/pylint.SlackBuild b/development/pylint/pylint.SlackBuild
index e6b3ad66e1..29e7f93d5c 100644
--- a/development/pylint/pylint.SlackBuild
+++ b/development/pylint/pylint.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=pylint
VERSION=${VERSION:-0.18.0}
-ARCH=${ARCH:-noarch}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,11 +42,13 @@ python setup.py install --root=$PKG
mkdir -p ${PKG}/usr/doc/$PRGNAM-$VERSION
rm -rf ${PKG}/usr/share
-cp PKG-INFO README ChangeLog COPYING TODO DEPENDS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ PKG-INFO README ChangeLog COPYING TODO DEPENDS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}