Skip to content

Instantly share code, notes, and snippets.

@alex4o
Created March 25, 2018 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alex4o/8fec5c450fcb1a1fcdebfc601ce6fe8b to your computer and use it in GitHub Desktop.
Save alex4o/8fec5c450fcb1a1fcdebfc601ce6fe8b to your computer and use it in GitHub Desktop.
gala-git PKGBUILD using mason and ninja
diff --git a/PKGBUILD b/PKGBUILD
index 31564b0..11986aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=gala-git
-pkgver=r1018.66b5d4a
+pkgver=r1091.a71e8c1
pkgrel=1
pkgdesc='The Pantheon Window Manager'
arch=('i686' 'x86_64')
@@ -29,16 +29,17 @@ pkgver() {
build() {
cd gala
- ./autogen.sh \
- --prefix='/usr' \
- --disable-schemas-compile
- make
+ meson build \
+ --prefix='/usr'
+ cd build
+ ninja
}
package() {
- cd gala
+ cd gala/build
+
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja install
}
# vim: ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment