summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNarrat2020-07-23 18:04:03 +0200
committerNarrat2020-07-23 18:04:03 +0200
commit7e7e26b08246598a7522615a2b83e132954b9ec8 (patch)
tree90e176735de7c1da0d4b4eddaccf4a81b42756d3 /PKGBUILD
downloadaur-7e7e26b08246598a7522615a2b83e132954b9ec8.tar.gz
labwc: Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..4326ab3ba972
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Lex Black <autumn-wind@web.de>
+
+_pkgname=labwc
+pkgname=labwc-git
+pkgver=r100.93d5809
+pkgrel=1
+pkgdesc='stacking wayland compositor with look and fell from openbox (git version)'
+url="https://github.com/johanmalm/labwc"
+arch=('x86_64')
+license=('GPL2')
+depends=('wlroots' 'wayland' 'wayland-protocols' 'xorg-server-xwayland')
+makedepends=('git' 'meson')
+conflicts=(labwc)
+provides=(labwc)
+source=("git+https://github.com/johanmalm/${_pkgname}.git"
+ "remove-werror.patch")
+md5sums=('SKIP'
+ '7a04a45415b125dee8d46dab20039a2c')
+
+
+pkgver() {
+ cd "$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ patch -Np0 -i remove-werror.patch
+}
+
+build() {
+ cd "$_pkgname"
+ arch-meson ../build
+ ninja -v -C ../build
+}
+
+package() {
+ cd "$_pkgname"
+ DESTDIR="${pkgdir}" meson install -C ../build
+}