iglunix/gui/wayland/build.sh
2021-12-26 12:40:14 +00:00

37 lines
565 B
Bash

pkgname=wayland
pkgver=1.20.0
fetch() {
curl "https://wayland.freedesktop.org/releases/wayland-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
-Dlibraries=true \
-Dscanner=true \
-Dtests=false \
-Ddocumentation=false \
-Ddtd_validation=false
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
backup() {
return
}
license() {
cd $pkgname-$pkgver
cat COPYING
}