aboutsummaryrefslogtreecommitdiff
path: root/network/yturl/yturl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/yturl/yturl.SlackBuild')
-rw-r--r--network/yturl/yturl.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild
index 0654d9fb3fe10..39b2c9dd48de1 100644
--- a/network/yturl/yturl.SlackBuild
+++ b/network/yturl/yturl.SlackBuild
@@ -10,7 +10,7 @@
# wget -O yturl-master-$(date +%Y%m%d).zip https://github.com/cdown/yturl/archive/master.zip
PRGNAM=yturl
-VERSION=${VERSION:-20130202}
+VERSION=${VERSION:-20130618}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,12 +58,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i 's,share/man,man,' setup.py
-python setup.py install --root=$PKG
-gzip $PKG/usr/man/man1/$PRGNAM.1
+mkdir -p $PKG/usr/bin
+install -m0755 $PRGNAM $PKG/usr/bin/$PRGNAM
+mkdir -p $PKG/usr/man/man1
+gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install