From f53c212680c1817ef2337855ef8814dea6b07e4e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Aug 2011 23:14:38 +0000 Subject: Wed Aug 24 23:14:37 UTC 2011 --- community/notion/PKGBUILD | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'community/notion/PKGBUILD') diff --git a/community/notion/PKGBUILD b/community/notion/PKGBUILD index f7bb06784..0bc1fcd14 100644 --- a/community/notion/PKGBUILD +++ b/community/notion/PKGBUILD @@ -1,20 +1,20 @@ -# $Id: PKGBUILD 54370 2011-08-17 15:48:41Z spupykin $ +# $Id: PKGBUILD 54702 2011-08-23 11:42:16Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Eugen Zagorodniy e dot zagorodniy at gmail dot com # Contributor: aunoor pkgname=notion -pkgver=20110817 +pkgver=20110823 pkgrel=1 pkgdesc="Tabbed tiling, window manager. Fork of Ion3" url="http://sourceforge.net/projects/notion/" arch=('i686' 'x86_64') license=('custom:LGPL') depends=('glib2' 'gettext' 'lua' 'libxext' 'libsm') -makedepends=('git' 'pkgconfig') +makedepends=('git' 'pkgconfig' + 'rubber' 'latex2html' 'texlive-htmlxml' 'texlive-latexextra') conflicts=('ion3') provides=('libtu' 'libextl') -source=() _gitroot="git://notion.git.sourceforge.net/gitroot/notion/notion" _gitname="notion" @@ -22,6 +22,11 @@ _gitroot2="git://notion.git.sourceforge.net/gitroot/notion/libtu" _gitname2="libtu" _gitroot3="git://notion.git.sourceforge.net/gitroot/notion/libextl" _gitname3="libextl" +_gitroot4="git://notion.git.sourceforge.net/gitroot/notion/notion-doc" +_gitname4="notion-doc" + +source=(doc-build-fix.patch) +md5sums=('68b348427d0531d2679a8a8d97d51c7d') build() { cd ${srcdir} @@ -51,6 +56,14 @@ build() { echo fi + if [ -d ${srcdir}/${_gitname}/${_gitname4} ]; then + echo + git pull origin + else + git clone --depth 1 ${_gitroot4} + echo + fi + msg "GIT checkout done or server timeout" rm -rf ${srcdir}/${_gitname}-build @@ -67,11 +80,14 @@ build() { -i system.mk make INCLUDES=-I${srcdir}/${_gitname}-build + (cd notion-doc && patch -p1 <$srcdir/doc-build-fix.patch) + (cd notion-doc && make -j1 TOPDIR=.. all) } package() { cd ${srcdir}/${_gitname}-build make PREFIX=${pkgdir}/usr ETCDIR=${pkgdir}/etc/notion install + (cd notion-doc && make PREFIX=${pkgdir}/usr TOPDIR=.. install) mkdir -p ${pkgdir}/usr/share/licenses/notion cp LICENSE ${pkgdir}/usr/share/licenses/notion } -- cgit v1.2.3-54-g00ecf