iglunix/pkgs/wayland/build.sh

30 lines
457 B
Bash
Raw Normal View History

2021-01-31 11:09:14 +00:00
pkgname=wayland
pkgver=1.19.0
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
}