summaryrefslogtreecommitdiffstats
path: root/network/epiphany/epiphany.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/epiphany/epiphany.SlackBuild')
-rw-r--r--network/epiphany/epiphany.SlackBuild21
1 files changed, 14 insertions, 7 deletions
diff --git a/network/epiphany/epiphany.SlackBuild b/network/epiphany/epiphany.SlackBuild
index 1d50f6b6e1..33597f55a6 100644
--- a/network/epiphany/epiphany.SlackBuild
+++ b/network/epiphany/epiphany.SlackBuild
@@ -21,11 +21,13 @@
# 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.
+#
+# June 7, 2023: Bumped to version 43.1, cleaned up, and taken over mtce - Bob Funk
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=epiphany
-VERSION=${VERSION:-42.4}
+VERSION=${VERSION:-43.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,15 +40,11 @@ case "$( uname -m )" in
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
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,12 +80,21 @@ find -L . \
mkdir build
cd build
- CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" meson .. --buildtype=release --infodir=/usr/info --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --mandir=/usr/man --prefix=/usr --sysconfdir=/etc -Dstrip=true -Dlibportal=disabled
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
-
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