system/pommed-light: Strip binary.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-04-13 14:32:25 -04:00 committed by Willy Sudiarto Raharjo
parent 827d945809
commit 6385a12045
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 2 deletions

View File

@ -22,13 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220413 bkw: Modified by SlackBuilds.org, BUILD=2: strip binary.
# 20220210 bkw: Modified by SlackBuilds.org to fix the build on 15.0.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pommed-light
VERSION=${VERSION:-1.51lw}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,7 +81,7 @@ find -L . \
make EXTRA_CFLAGS="$SLKCFLAGS -fcommon"
mkdir -p $PKG/usr/sbin
install -m755 pommed/pommed $PKG/usr/sbin
install -s -m755 pommed/pommed $PKG/usr/sbin
mkdir -p $PKG/usr/man/man1
gzip -c pommed.1 > $PKG/usr/man/man1/pommed.1.gz