summaryrefslogtreecommitdiff
path: root/community/notion/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-24 23:14:38 +0000
committerroot <root@rshg054.dnsready.net>2011-08-24 23:14:38 +0000
commitf53c212680c1817ef2337855ef8814dea6b07e4e (patch)
treec93db9dbaade4f2c86a8d550c237edf7d574f6da /community/notion/PKGBUILD
parent9254c2bc6500471b22eead69781ddef84f87e2bf (diff)
Wed Aug 24 23:14:37 UTC 2011
Diffstat (limited to 'community/notion/PKGBUILD')
-rw-r--r--community/notion/PKGBUILD24
1 files changed, 20 insertions, 4 deletions
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 <pupykin.s+arch@gmail.com>
# 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
}