iglunix/gui/wayland/build.sh

38 lines
565 B
Bash
Raw Normal View History

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