summaryrefslogtreecommitdiff
path: root/development/pylint/pylint.SlackBuild
diff options
context:
space:
mode:
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}