2021-01-31 11:09:14 +00:00
|
|
|
pkgname=wayland-protocols
|
2021-12-26 12:40:14 +00:00
|
|
|
pkgver=1.24
|
|
|
|
deps="musl:pkgconf:wayland"
|
2021-01-31 11:09:14 +00:00
|
|
|
|
|
|
|
fetch() {
|
2021-06-24 21:13:16 +00:00
|
|
|
curl "https://wayland.freedesktop.org/releases/wayland-protocols-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
2021-01-31 11:09:14 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
2021-12-26 12:40:14 +00:00
|
|
|
mkdir $pkgname-$pkgver/build
|
2021-01-31 11:09:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-12-26 12:40:14 +00:00
|
|
|
cd build
|
|
|
|
meson .. \
|
|
|
|
--buildtype=release \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=lib
|
|
|
|
samu
|
2021-01-31 11:09:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-12-26 12:40:14 +00:00
|
|
|
cd build
|
|
|
|
DESTDIR=$pkgdir samu install
|
|
|
|
}
|
|
|
|
|
|
|
|
backup() {
|
|
|
|
return
|
2021-01-31 11:09:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat COPYING
|
|
|
|
}
|