36 lines
1011 B
Bash
36 lines
1011 B
Bash
# 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
|
|
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}
|
|
}
|