30 lines
457 B
Bash
30 lines
457 B
Bash
|
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
|
||
|
}
|