From afab8c0cc7095c81cafd4ef2f1c9a17fe1f0087a Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 17 Mar 2016 07:39:28 +0700 Subject: python/py3cairo: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- python/py3cairo/py3cairo.SlackBuild | 7 ++----- python/py3cairo/py3cairo.info | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'python/py3cairo') diff --git a/python/py3cairo/py3cairo.SlackBuild b/python/py3cairo/py3cairo.SlackBuild index 1645b80d8b..0d5b0980be 100644 --- a/python/py3cairo/py3cairo.SlackBuild +++ b/python/py3cairo/py3cairo.SlackBuild @@ -21,7 +21,6 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - PRGNAM=py3cairo SRCNAM=pycairo VERSION=${VERSION:-1.10.0} @@ -72,7 +71,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/pycairo-1.10.0-waf_unpack-1.patch wafdir=$(./waf unpack) @@ -99,9 +98,7 @@ 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 \ - $DOCS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/py3cairo/py3cairo.info b/python/py3cairo/py3cairo.info index 2718d5eb43..22bc7cca86 100644 --- a/python/py3cairo/py3cairo.info +++ b/python/py3cairo/py3cairo.info @@ -8,4 +8,3 @@ MD5SUM_x86_64="" REQUIRES="python3" MAINTAINER="Bojan Popovic" EMAIL="bocke@slackware-srbija.org" - -- cgit v1.2.3