wayland-protocols 1.34-1

This commit is contained in:
xhaa123 2024-04-15 22:30:38 +08:00
commit 193462fafb

34
PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# 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 <future_linux@163.com>
pkgname=wayland-protocols
pkgver=1.34
pkgrel=1
pkgdesc="Specifications of extended Wayland protocols"
arch=('x86_64')
url='https://wayland.freedesktop.org/'
license=('MIT')
depends=('wayland')
makedepends=('meson' 'ninja')
source=(https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${pkgver}/downloads/${pkgname}-${pkgver}.tar.xz)
sha256sums=(c59b27cacd85f60baf4ee5f80df5c0d15760ead6a2432b00ab7e2e0574dcafeb)
build() {
cd ${pkgname}-${pkgver}
meson setup build \
--prefix=/usr \
--buildtype=release \
-Dlibdir=/usr/lib64
meson compile -C build
}
package() {
cd ${pkgname}-${pkgver}
meson install -C build --destdir ${pkgdir}
}