blob: 831bf3182a0163bec609b1052b5d0b02d5ee8caf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Vincent Grande <shoober420@gmail.com>
# Contributor: Daniel Bermond <dbermond@archlinux.org>
# Contributor: Joel Teichroeb <joel@teichroeb.net>
# Contributor: Scimmia
pkgname=('wayland-nodocs-git')
pkgver=1.18.0.r18.gef611a80
pkgrel=1
pkgdesc='A computer display server protocol (git version)'
arch=('x86_64')
url='https://wayland.freedesktop.org/'
license=('MIT')
depends=('glibc' 'libffi' 'expat' 'libxml2')
makedepends=('git' 'meson' 'ninja' 'libxslt')
source=('git+https://gitlab.freedesktop.org/wayland/wayland.git')
sha256sums=('SKIP')
pkgver() {
git -C wayland describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
meson build wayland --buildtype='release' --prefix='/usr' -Ddocumentation=false
}
#check() {
# ninja -C build test
#}
package_wayland-nodocs-git() {
provides=('wayland' "wayland=${pkgver}")
conflicts=('wayland')
DESTDIR="$pkgdir" ninja $NINJAFLAGS -C build install
# mkdir -p docs/share
# mv "${pkgdir}/usr/share/"{doc,man} docs/share
install -D -m644 wayland/COPYING "$p{kgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|