iglunix/gui/wayland-protocols/build.sh
2021-07-31 12:42:11 +00:00

24 lines
398 B
Bash

pkgname=wayland-protocols
pkgver=1.21
deps="pkgconf:wayland"
fetch() {
curl "https://wayland.freedesktop.org/releases/wayland-protocols-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}
license() {
cd $pkgname-$pkgver
cat COPYING
}