diff options
-rw-r--r-- | system/patool/patool.SlackBuild | 13 | ||||
-rw-r--r-- | system/patool/patool.info | 7 |
2 files changed, 9 insertions, 11 deletions
diff --git a/system/patool/patool.SlackBuild b/system/patool/patool.SlackBuild index 6c589373d8897..957aa54fd8d3e 100644 --- a/system/patool/patool.SlackBuild +++ b/system/patool/patool.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=patool -VERSION=${VERSION:-1.4} +VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -69,20 +69,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# patch to install man page in correct place +sed -i 's/share\/man/\/usr\/man/' setup.py + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mv $PKG/usr/share/man $PKG/usr -rm -rf $PKG/usr/share find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION - -cp -a README.md COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION - +cp -a COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/patool/patool.info b/system/patool/patool.info index 054cb9ec3f695..a367219e8d17d 100644 --- a/system/patool/patool.info +++ b/system/patool/patool.info @@ -1,11 +1,10 @@ PRGNAM="patool" -VERSION="1.4" +VERSION="1.5" HOMEPAGE="http://wummel.github.io/patool/" -DOWNLOAD="http://wummel.github.io/patool/dist/patool-1.4.tar.gz" -MD5SUM="716917917d12484e87aa8409670161e8" +DOWNLOAD="http://wummel.github.io/patool/dist/patool-1.5.tar.gz" +MD5SUM="0c18cf66e4fc618c0e59700a570b99a5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" - |