diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-12-14 16:24:32 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-18 00:07:50 -0200 |
commit | f66e0fca51d811528bfd49e6595b7de0454afb07 (patch) | |
tree | 36d5899d5b2cb00076aed367e325ec8d1a51aa1d /python/pyasn1/pyasn1.SlackBuild | |
parent | 730402d64b6ccb8bf31b6b96a9348cff574cf301 (diff) |
python/pyasn1: Miscellaneous tweaks/cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/pyasn1/pyasn1.SlackBuild')
-rw-r--r-- | python/pyasn1/pyasn1.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/python/pyasn1/pyasn1.SlackBuild b/python/pyasn1/pyasn1.SlackBuild index fb55772dbe3d0..8a55495b4bbed 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 |