diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2017-02-13 22:09:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-18 07:54:05 +0700 |
commit | f96f9a9a8e9a09d225f064a623cc25b78f2d16ee (patch) | |
tree | f74218b2a9baf6b79f895118b43ab833ab36432e /python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild | |
parent | b0fe1b7c7678277e0c45e0fcf58243cdcf8a98af (diff) |
python/python-axolotl-curve25519: Updated for version 0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild')
-rw-r--r-- | python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild b/python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild index 596e4895f3..60e2a4f9f1 100644 --- a/python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild +++ b/python/python-axolotl-curve25519/python-axolotl-curve25519.SlackBuild @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-axolotl-curve25519 -GITREV=${GITREV:-e4a9c4de0eae27223200579c58d1f8f6d20637e2} -VERSION=${VERSION:-git$(echo "$GITREV" | sed 's/^\(.\{7\}\).*$/\1/')} +VERSION=${VERSION:-0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +59,14 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$GITREV -tar xvf $CWD/$PRGNAM-$GITREV.tar.gz -cd $PRGNAM-$GITREV +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION + +for sha1 in e31fe347051e8dd051514398c56a816a3a71f8a4 2bd1f5556fed92afb4efc2a95846a1c0f8332baf 87303fb7cffc99c13895c9888b270b740a7245d0 ; do + patch -p1 < "$CWD/patches/$sha1.patch" +done + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -81,7 +85,6 @@ 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 README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |