new bblfs: dev-util/wayland-scanner-1.24.0
This commit is contained in:
34
dev-util/wayland-scanner-1.24.0.PKGBUILD
Normal file
34
dev-util/wayland-scanner-1.24.0.PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
pkgname=wayland-scanner
|
||||
pkgver=1.24.0
|
||||
pkgdesc="wayland-scanner tool"
|
||||
homepage="https://wayland.freedesktop.org/"
|
||||
license=('MIT')
|
||||
sources=("wayland-${pkgver}.tar.xz")
|
||||
urls=("https://gitlab.freedesktop.org/wayland/wayland/-/releases/$pkgver/downloads/${sources[0]}")
|
||||
md5sums=("fda0b2a73ea2716f61d75767e02008e1")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
local mesonargs=(
|
||||
--prefix=/usr
|
||||
-Ddocumentation=false
|
||||
-Ddtd_validation=false
|
||||
-Dlibraries=false
|
||||
-Dscanner=true
|
||||
-Dtests=false
|
||||
)
|
||||
|
||||
meson setup build "${mesonargs[@]}"
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
install -Dm644 README.md "${pkgdir}"/usr/share/doc/${pkgname}-${pkgver}/README.md
|
||||
}
|
||||
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user