summaryrefslogtreecommitdiff
path: root/python/python-magic/python-magic.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-12-21 12:05:45 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-21 21:27:24 +0100
commita0c8747e511eb02e1b7e38c24d8110f8a49f1550 (patch)
tree287c4ca59df4cd09057aad5ae9022ddfb0756d00 /python/python-magic/python-magic.SlackBuild
parent56d7d5c20203bad5ce5109405f8b83ad020f8c60 (diff)
downloadslackbuilds-a0c8747e511eb02e1b7e38c24d8110f8a49f1550.tar.gz
python/python-magic: Updated for version 0.4.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/python-magic/python-magic.SlackBuild')
-rw-r--r--python/python-magic/python-magic.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/python-magic/python-magic.SlackBuild b/python/python-magic/python-magic.SlackBuild
index b57603b3aa..8754258325 100644
--- a/python/python-magic/python-magic.SlackBuild
+++ b/python/python-magic/python-magic.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=python-magic
-VERSION=${VERSION:-0.4.2}
+VERSION=${VERSION:-0.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README.md > $PKG/usr/doc/$PRGNAM-$VERSION/README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install