aboutsummaryrefslogtreecommitdiffstats
path: root/community/mako/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mako/APKBUILD')
-rw-r--r--community/mako/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/mako/APKBUILD b/community/mako/APKBUILD
new file mode 100644
index 0000000000..9a3f53de39
--- /dev/null
+++ b/community/mako/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=mako
+pkgver=1.4
+pkgrel=0
+pkgdesc="A modular Wayland compositor library"
+url="https://github.com/swaywm/wlroots"
+arch="all"
+license="MIT"
+options="!check" # contains no test suite
+makedepends="
+ cairo-dev
+ elogind-dev
+ gdk-pixbuf-dev
+ glib-dev
+ meson
+ ninja
+ pango-dev
+ scdoc
+ wayland-dev
+ wayland-protocols
+ "
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/$pkgname/archive/v$pkgver.tar.gz"
+
+build() {
+ meson \
+ --prefix /usr \
+ --libdir /usr/lib \
+ -Dicons=enabled \
+ . build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="6059103e3a0c0cca5b0f717fbd7522f9a13f3dd3d65fe674e65cc175122a3372041bee2050d253ccb47a2adaa1dfa3180a19276bcdcb20c1e00813d75e1b3683 mako-1.4.tar.gz"