From f66e0fca51d811528bfd49e6595b7de0454afb07 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 14 Dec 2011 16:24:32 -0600 Subject: python/pyasn1: Miscellaneous tweaks/cleanups Signed-off-by: Robby Workman --- python/pyasn1/pyasn1.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'python/pyasn1/pyasn1.SlackBuild') diff --git a/python/pyasn1/pyasn1.SlackBuild b/python/pyasn1/pyasn1.SlackBuild index fb55772dbe..8a55495b4b 100644 --- a/python/pyasn1/pyasn1.SlackBuild +++ b/python/pyasn1/pyasn1.SlackBuild @@ -21,7 +21,7 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# + # markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115 # 2011 September 04 - initial release @@ -72,8 +72,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py build || exit 1 -python setup.py install --root=$PKG || exit 1 +python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -82,7 +81,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ README THANKS TODO CHANGES LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3