summaryrefslogtreecommitdiff
path: root/community/notion/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-23 18:28:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-23 18:28:19 -0300
commitd07d53d7af1e9694d9558783841bc2df3124a90f (patch)
tree40d68de204b29d3360efd654d3c458c9cdad3cd6 /community/notion/PKGBUILD
parenta873bdc69d24650d832933463af71dfaa96f1a8a (diff)
parent64e290184042563a240e2d6d15c02e06703d00ee (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/obconf/PKGBUILD community/obconf/obconf.install community/qstardict/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD.mips64el extra/cups/PKGBUILD extra/eject/PKGBUILD extra/emacs/PKGBUILD extra/evilwm/PKGBUILD extra/fbset/PKGBUILD extra/gmpc/PKGBUILD extra/gnome-alsamixer/PKGBUILD extra/gtkpod/PKGBUILD extra/kdepim/PKGBUILD extra/kile/PKGBUILD extra/libvpx/PKGBUILD extra/php-apc/PKGBUILD extra/php-suhosin/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/potrace/PKGBUILD extra/racket/PKGBUILD extra/soundtouch/PKGBUILD extra/wireshark/PKGBUILD extra/xpdf/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/lib32-acl/PKGBUILD multilib/lib32-attr/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-udev/PKGBUILD ~xihh/abiword/PKGBUILD
Diffstat (limited to 'community/notion/PKGBUILD')
-rw-r--r--community/notion/PKGBUILD77
1 files changed, 77 insertions, 0 deletions
diff --git a/community/notion/PKGBUILD b/community/notion/PKGBUILD
new file mode 100644
index 000000000..f7bb06784
--- /dev/null
+++ b/community/notion/PKGBUILD
@@ -0,0 +1,77 @@
+# $Id: PKGBUILD 54370 2011-08-17 15:48:41Z 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
+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')
+conflicts=('ion3')
+provides=('libtu' 'libextl')
+source=()
+
+_gitroot="git://notion.git.sourceforge.net/gitroot/notion/notion"
+_gitname="notion"
+_gitroot2="git://notion.git.sourceforge.net/gitroot/notion/libtu"
+_gitname2="libtu"
+_gitroot3="git://notion.git.sourceforge.net/gitroot/notion/libextl"
+_gitname3="libextl"
+
+build() {
+ cd ${srcdir}
+
+ msg "Connecting to the git repository..."
+ if [ -d ${srcdir}/${_gitname} ]; then
+ cd ${_gitname}
+ git pull origin
+ else
+ git clone --depth 1 ${_gitroot}
+ cd ${_gitname}
+ fi
+
+ if [ -d ${srcdir}/${_gitname}/${_gitname2} ]; then
+ echo
+ git pull origin
+ else
+ git clone --depth 1 ${_gitroot2}
+ echo
+ fi
+
+ if [ -d ${srcdir}/${_gitname}/${_gitname3} ]; then
+ echo
+ git pull origin
+ else
+ git clone --depth 1 ${_gitroot3}
+ echo
+ fi
+
+ msg "GIT checkout done or server timeout"
+
+ rm -rf ${srcdir}/${_gitname}-build
+ cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
+
+ cd ${srcdir}/${_gitname}-build
+
+ msg "Starting make..."
+
+ sed -e 's/^\(PREFIX=\).*$/\1\/usr/' \
+ -e 's/^\(ETCDIR=\).*$/\1\/etc\/notion/' \
+ -e 's/^\(LUA_DIR=\).*$/\1\/usr/' \
+ -e 's/^\(X11_PREFIX=\).*/\1\/usr/' \
+ -i system.mk
+
+ make INCLUDES=-I${srcdir}/${_gitname}-build
+}
+
+package() {
+ cd ${srcdir}/${_gitname}-build
+ make PREFIX=${pkgdir}/usr ETCDIR=${pkgdir}/etc/notion install
+ mkdir -p ${pkgdir}/usr/share/licenses/notion
+ cp LICENSE ${pkgdir}/usr/share/licenses/notion
+}