From 8398260cf677b7e3fd58e0bb8393ee49e2f6574a Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 15 Apr 2024 22:28:09 +0800 Subject: [PATCH] wayland 1.22.0-1 --- PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b8e3c94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=wayland +pkgver=1.22.0 +pkgrel=1 +pkgdesc="A computer display server protocol" +arch=('x86_64') +url="https://wayland.freedesktop.org/" +license=('MIT') +depends=('glibc' 'libffi' 'expat' 'libxml2') +makedepends=('meson') +source=(https://gitlab.freedesktop.org/wayland/wayland/-/releases/${pkgver}/downloads/${pkgname}-${pkgver}.tar.xz) +sha256sums=(1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842) + +build() { + cd ${pkgname}-${pkgver} + + meson setup build \ + --prefix=/usr \ + --buildtype=release \ + -Dlibdir=/usr/lib64 \ + -Ddocumentation=false + + meson compile -C build +} + +package() { + cd ${pkgname}-${pkgver} + + meson install -C build --destdir ${pkgdir} +}