smlinux/base/wayland-protocols/wayland-protocols.SMBuild
PktSurf 21c2f83913 Rewrote CFLAGS for base/{parted.pciutils}
Discarded unnecessary build options in base/{sysstat,texinfo,tofrodos,unzip,util-linux,wayland-protocols,xmlto,zlib}
base/which is now statically-linked
2023-03-17 14:19:05 +05:30

33 lines
728 B
Text
Executable file

app=wayland-protocols
version=1.25
build=1sml
homepage="https://wayland.freedesktop.org/"
download="https://wayland.freedesktop.org/releases/wayland-protocols-$version.tar.xz"
desc="Specifications of extended wayland protocols"
requires="wayland"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix="/"
ninja
DESTDIR=$pkg ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
3df7015bae32665bdf7a454eec9707f532b4b22f65ba2e44c5097c135bd28f5fb83e3ae01dceaab8ee31e9369039c70ddc345c136ae1d06b7f76e74d3ded0a26 wayland-protocols-1.25.tar.lz
"