iglunix/gui/wayland/build.sh

31 lines
472 B
Bash
Raw Normal View History

2021-01-31 11:09:14 +00:00
pkgname=wayland
pkgver=1.19.0
2021-04-08 17:41:35 +00:00
deps="libxml2"
2021-01-31 11:09:14 +00:00
fetch() {
curl "https://wayland.freedesktop.org/releases/wayland-1.19.0.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 \
-Ddocumentation=false
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat COPYING
}