diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-17 07:39:28 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-17 07:39:28 +0700 |
commit | afab8c0cc7095c81cafd4ef2f1c9a17fe1f0087a (patch) | |
tree | e1fb2443e4db03cd9170b9e48e47a15fcf0fc6ec /python | |
parent | 7053f8913085135cf6aebf24e9440c312b571f8d (diff) | |
download | slackbuilds-afab8c0cc7095c81cafd4ef2f1c9a17fe1f0087a.tar.gz |
python/py3cairo: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/py3cairo/py3cairo.SlackBuild | 7 | ||||
-rw-r--r-- | python/py3cairo/py3cairo.info | 1 |
2 files changed, 2 insertions, 6 deletions
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" - |