system/msitools: Updated for version 0.103.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
henesy 2024-11-09 16:04:40 -08:00 committed by Willy Sudiarto Raharjo
parent 7cc44e746d
commit 34915fc43a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 35 additions and 26 deletions

View file

@ -2,7 +2,8 @@
# Slackware build script for "msitools".
# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
# Copyright 2024 Sean Hinchee
# Copyright 2015 Marcel Saegebarth
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -27,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=msitools
VERSION=${VERSION:-0.94}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.103}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -83,31 +84,39 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
--build=$ARCH-slackware-linux
#./configure \
# --prefix=/usr \
# --libdir=/usr/lib${LIBDIRSUFFIX} \
# --sysconfdir=/etc \
# --localstatedir=/var \
# --mandir=/usr/man \
# --docdir=/usr/doc/$PRGNAM-$VERSION \
# --enable-static=no \
# --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
meson setup \
--prefix /usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
build-aux/
meson compile -C build-aux/
DESTDIR=$PKG meson install -C build-aux/
(
cd .libs
for file in msibuild msiextract msiinfo wixl wixl-heat; do
install -s -D -m 0755 $file $PKG/usr/bin
done
)
#make
#make install DESTDIR=$PKG
#(
# cd .libs
# for file in msibuild msiextract msiinfo wixl wixl-heat; do
# install -s -D -m 0755 $file $PKG/usr/bin
# done
#)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la

View file

@ -1,10 +1,10 @@
PRGNAM="msitools"
VERSION="0.94"
VERSION="0.103"
HOMEPAGE="https://wiki.gnome.org/msitools/"
DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/msitools/0.94/msitools-0.94.tar.xz"
MD5SUM="76dec60217d3bfa44c744a6a55577a83"
DOWNLOAD="https://download.gnome.org/sources/msitools/0.103/msitools-0.103.tar.xz"
MD5SUM="e43ae2f121ef65c67744b15e79471692"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gcab"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
MAINTAINER="Sean Hinchee"
EMAIL="henesy.dev@gmail.com"