Upgraded gtk-layer-shell from 0.8.0 to 0.8.1

This commit is contained in:
dslm4515
2023-09-21 09:17:21 -05:00
parent 61a686304d
commit 57a07e19b4

View File

@ -1,7 +1,7 @@
#! /bin/bash
# GTK-Layer-Shell
# Source: https://github.com/wmww/gtk-layer-shell/archive/refs/tags/v0.8.0.tar.gz
# Source: https://github.com/wmww/gtk-layer-shell/archive/refs/tags/v0.8.1.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
@ -9,14 +9,14 @@
# DEPS
# Required: GTK+3, wayland, wayland-protocols, gobject-introspection
# Recommended: NONE
# Optional: NONE
# Optional: vala gtk-doc
# If optimizing with GCC
export CFLAGS="-march=native -pipe "
export CFLAGS+="-O3 -ffat-lto-objects -flto=4 "
export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
meson --prefix=/usr BUILD
meson --prefix=/usr -Dvapi=false BUILD
ninja -C BUILD -j2
sudo -E DESTDIR=${BUILD} ninja -C BUILD install
@ -42,5 +42,5 @@ gtk-layer-shell:
gtk-layer-shell:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/gtk-layer-shell-0.8.0-$PSUFFIX &&
sudo -S makepkg -l y -c n $PKGS/gtk-layer-shell-0.8.1-$PSUFFIX &&
sudo -S rm -rf ${BUILD}/*