diff options
Diffstat (limited to 'source/l/python-chardet')
-rw-r--r-- | source/l/python-chardet/chardet.url | 1 | ||||
-rwxr-xr-x | source/l/python-chardet/python-chardet.SlackBuild | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/source/l/python-chardet/chardet.url b/source/l/python-chardet/chardet.url new file mode 100644 index 000000000..e29cd6a9e --- /dev/null +++ b/source/l/python-chardet/chardet.url @@ -0,0 +1 @@ +https://github.com/chardet/chardet diff --git a/source/l/python-chardet/python-chardet.SlackBuild b/source/l/python-chardet/python-chardet.SlackBuild index d059002d1..0a9bdc5e9 100755 --- a/source/l/python-chardet/python-chardet.SlackBuild +++ b/source/l/python-chardet/python-chardet.SlackBuild @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=python-chardet -VERSION=${VERSION:-$(echo chardet-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-6} +VERSION=${VERSION:-$(echo chardet-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} SRCNAM=chardet @@ -52,7 +52,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* || exit 1 +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 cd $SRCNAM-$VERSION || exit 1 chown -R root:root . find -L . \ |