34 lines
717 B
Bash
34 lines
717 B
Bash
#!/usr/bin/env bash
|
|
name='wayland-protocols'
|
|
release='5'
|
|
version='1.37'
|
|
url='https://gitlab.freedesktop.org/wayland/wayland-protocols'
|
|
description='Wayland protocol files'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$version/downloads/wayland-protocols-$version.tar.xz")
|
|
depends=(wayland)
|
|
makedepends=()
|
|
sha256sums=('a70e9be924f2e8688e6824dceaf6188faacd5ae218dfac8d0a3d0976211ef326')
|
|
group=(dev.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build \
|
|
--prefix=/usr \
|
|
-Ddefault_library=both
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|