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

Sergej Pupykin spupykin at archlinux.org
Wed Aug 12 12:48:56 UTC 2015


    Date: Wednesday, August 12, 2015 @ 14:48:55
  Author: spupykin
Revision: 138277

upgpkg: notion 20150812-1

upd

Modified:
  notion/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-12 07:42:12 UTC (rev 138276)
+++ PKGBUILD	2015-08-12 12:48:55 UTC (rev 138277)
@@ -4,7 +4,7 @@
 # Contributor: aunoor
 
 pkgname=notion
-pkgver=20150505
+pkgver=20150812
 pkgrel=1
 pkgdesc="Tabbed tiling, window manager. Fork of Ion3"
 url="http://sourceforge.net/projects/notion/"
@@ -61,6 +61,7 @@
 LUAC         := $(which luac)
 EOF
   sed -i 's|return \(lua_sethook.*\)|\1 return 0;|g' notion/libextl/luaextl.c
+  sed -i 's|mkdir|mkdir -p|g' notion-doc/Makefile
 }
 
 build() {
@@ -67,6 +68,23 @@
   cd ${srcdir}/notion
   make INCLUDES=-I${srcdir}/notion LUA_VERSION=5.2 PREFIX=/usr ETCDIR=/etc/notion
   cd ${srcdir}/notion-doc
+
+  # uggly rubber/makeindex workaround
+  make -j1 all || true
+  makeindex -o notionconf.ind notionconf.idx
+  make -j1 all || true
+  makeindex -o notionconf.ind notionconf.idx
+  makeindex -o notionnotes.ind notionnotes.idx
+  make -j1 all || true
+  makeindex -o notionconf.ind notionconf.idx
+  makeindex -o notionnotes.ind notionnotes.idx
+  make -j1 all || true
+  makeindex -o notionconf.ind notionconf.idx
+  makeindex -o notionnotes.ind notionnotes.idx
+  make -j1 all || true
+  makeindex -o notionconf.ind notionconf.idx
+  makeindex -o notionnotes.ind notionnotes.idx
+
   make -j1 all
 }
 



More information about the arch-commits mailing list