summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-04-04 12:54:04 -0400
committer B. Watson <yalhcru@gmail.com>2022-04-04 12:54:04 -0400
commit646e5d49f7cf87d1558a8c668e56c80cae4de26f (patch)
treea926c173032a83c1bd8499ddb00116c3cf9bb995
parent114fdec6d6669a80d35b50c02f780e815db950c2 (diff)
downloadslackbuilds-646e5d49f7cf87d1558a8c668e56c80cae4de26f.tar.gz
slackbuilds-646e5d49f7cf87d1558a8c668e56c80cae4de26f.tar.xz
academic/bedGraphToBigWig: Strip binary.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild b/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild
index a360f96262..0c04857e46 100644
--- a/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild
+++ b/academic/bedGraphToBigWig/bedGraphToBigWig.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binary.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bedGraphToBigWig
VERSION=${VERSION:-4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -64,7 +64,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-install -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM
+install -s -D -m755 $PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild