iglunix/pkgs/wayland/build.sh
2021-04-08 19:41:35 +02:00

30 lines
472 B
Bash

pkgname=wayland
pkgver=1.19.0
deps="libxml2"
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
}