summaryrefslogtreecommitdiff
path: root/user/wayland-protocols/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/wayland-protocols/APKBUILD')
-rw-r--r--user/wayland-protocols/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/wayland-protocols/APKBUILD b/user/wayland-protocols/APKBUILD
new file mode 100644
index 000000000..d5779a4f4
--- /dev/null
+++ b/user/wayland-protocols/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=wayland-protocols
+pkgver=1.13
+pkgrel=0
+pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
+url="https://wayland.freedesktop.org"
+arch="noarch"
+license="MIT"
+depends=
+provides="$pkgname-dev"
+makedepends="wayland-dev"
+subpackages=
+source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f35c21da289038651b75af064ec7c10779158829f578e7320faf401e980da3c958d85e5bcad00994c574cac6319a3ab975aa5483a9b438f781b767bd6303e194 wayland-protocols-1.13.tar.xz"