Date: Tuesday, April 10, 2018 @ 11:44:27
  Author: bgyorgy
Revision: 315571

Use arch-meson

Modified:
  eolie/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-10 11:41:31 UTC (rev 315570)
+++ PKGBUILD    2018-04-10 11:44:27 UTC (rev 315571)
@@ -28,7 +28,6 @@
 }
 
 prepare() {
-       mkdir build
        cd $pkgname
        git config submodule.subprojects/po.url "$srcdir/eolie-po"
        git submodule update --init
@@ -35,12 +34,10 @@
 }
 
 build() {
-       cd build
-       meson --prefix=/usr --libexecdir=/usr/lib/$pkgname --buildtype=release 
../$pkgname
-       ninja
+       arch-meson $pkgname build
+       ninja -C build
 }
 
 package() {
-       cd build
-       DESTDIR="$pkgdir" ninja install
+       DESTDIR="$pkgdir" ninja -C build install
 }

Reply via email to