iglunix/pkgs/wayland-protocols/build.sh
2021-04-08 19:38:36 +02:00

24 lines
395 B
Bash

pkgname=wayland-protocols
pkgver=1.20
deps="pkgconf:wayland"
fetch() {
curl "https://wayland.freedesktop.org/releases/wayland-protocols-1.20.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
}