[arch-commits] Commit in pango/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 1 16:20:20 UTC 2018


    Date: Thursday, March 1, 2018 @ 16:20:19
  Author: heftig
Revision: 317693

1.40.14-2

Modified:
  pango/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-01 16:11:33 UTC (rev 317692)
+++ PKGBUILD	2018-03-01 16:20:19 UTC (rev 317693)
@@ -3,7 +3,7 @@
 
 pkgname=pango
 pkgver=1.40.14
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for layout and rendering of text"
 url="https://www.pango.org/"
 arch=(x86_64)
@@ -21,14 +21,12 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
 build() {
-  cd build
-  arch-meson ../$pkgname -Denable_docs=true
-  ninja
+  arch-meson $pkgname build -Denable_docs=true
+  ninja -C build
 }
 
 check() {
@@ -37,6 +35,6 @@
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
+  rm -r "$pkgdir"/usr/{lib,share}/installed-tests
 }



More information about the arch-commits mailing list