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

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 17 20:42:49 UTC 2015


    Date: Thursday, September 17, 2015 @ 22:42:49
  Author: foutrelis
Revision: 140432

Fix detection of ncurses config script for ncurses 6.0

Modified:
  angband/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-17 20:30:05 UTC (rev 140431)
+++ PKGBUILD	2015-09-17 20:42:49 UTC (rev 140432)
@@ -18,6 +18,13 @@
 makedepends=('python-docutils')
 source=("http://rephial.org/downloads/${pkgver:0:3}/${pkgname}-${pkgver}.tar.gz")
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # Fix detection of ncurses config script for ncurses 6.0
+  sed -i 's/ncursesw5-config/ncursesw6-config/g' acinclude.m4
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 



More information about the arch-commits mailing list