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

Baptiste Jonglez zorun at archlinux.org
Sat Nov 10 18:57:36 UTC 2018


    Date: Saturday, November 10, 2018 @ 18:57:35
  Author: zorun
Revision: 405708

upgpkg: dia 0.97.3-5

Fix build by switching from freetype2-config to pkg-config

Modified:
  dia/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-10 18:45:19 UTC (rev 405707)
+++ PKGBUILD	2018-11-10 18:57:35 UTC (rev 405708)
@@ -5,7 +5,7 @@
 
 pkgname=dia
 pkgver=0.97.3
-pkgrel=4
+pkgrel=5
 pkgdesc="A GTK+ based diagram creation program"
 arch=('x86_64')
 license=('GPL')
@@ -23,6 +23,8 @@
       sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$file"
   done
   sed -i 's#python2\.1#python2 python2.1#' configure
+  sed -i 's#freetype-config --cflags#pkg-config --cflags freetype2#' configure
+  sed -i 's#freetype-config --libs#pkg-config --libs freetype2#' configure
 }
 
 build() {



More information about the arch-commits mailing list