summaryrefslogtreecommitdiff
path: root/python/pyasn1/pyasn1.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyasn1/pyasn1.SlackBuild')
-rw-r--r--python/pyasn1/pyasn1.SlackBuild6
1 files changed, 2 insertions, 4 deletions
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