aboutsummaryrefslogtreecommitdiff
path: root/labwc/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'labwc/Pkgfile')
-rw-r--r--labwc/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/labwc/Pkgfile b/labwc/Pkgfile
new file mode 100644
index 0000000..1914bb8
--- /dev/null
+++ b/labwc/Pkgfile
@@ -0,0 +1,33 @@
+# Description: A Wayland window-stacking compositor
+# URL: https://github.com/labwc/labwc
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: librsvg libsfdo wlroots xorg-xwayland scdoc
+
+name=labwc
+version=0.9.1
+release=1
+source=(https://github.com/labwc/labwc/archive/$version/$name-$version.tar.gz)
+
+build() {
+
+ meson setup $name-$version build \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dxwayland=enabled \
+ -Dnls=disabled \
+ -Db_lto=true \
+ -Db_pie=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ mkdir $PKG/usr/share/labwc
+ mv $PKG/usr/share/doc/* $PKG/usr/share
+ rm $PKG/usr/share/labwc/README
+ rmdir $PKG/usr/share/doc
+}