commit cf13c5c6c291ef0d9ab90f20a17b1e0da0f7e257
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 22 Feb 2014 17:36:43 +0100
Initial commit of some packages.
Diffstat:
3 files changed, 93 insertions(+), 0 deletions(-)
diff --git a/python/cython/SRCBUILD b/python/cython/SRCBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Christoph Lohmann <20h@r-36.net>
+#
+# http://www.cython.org
+#
+
+version=0.20.1
+description="C-Extensions for Python"
+depends=('python')
+makedepends=('python-distribute')
+sources=("http://www.cython.org/release/Cython-$version.tar.gz")
+
+src_compile() {
+ cd "$SOURCE_DIR/Cython-$version"
+ python setup.py build
+}
+
+src_install() {
+ cd "$SOURCE_DIR/Cython-$version"
+ python setup.py install --prefix=/usr --root="$INSTALL_DIR" --optimize=1
+}
+
diff --git a/shells/zsh/SRCBUILD b/shells/zsh/SRCBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Christoph Lohmann <20h@r-36.net>
+#
+# http://www.zsh.org
+#
+
+version=5.0.5
+description="sh-compatible with features from ksh and csh"
+depends=('glibc', 'ncurses', 'readline', 'pcre', 'libcap', 'gdbm')
+sources=("http://www.zsh.org/pub/zsh-$version.tar.bz2"
+ "zsh-xattr-fix.patch")
+
+src_compile() {
+ cd "$SOURCE_DIR/zsh-$version"
+
+ # patching xattr redefinition. I think the problem is somewhere else.
+ patch -Np1 -i "$SOURCE_DIR/zsh-xattr-fix.patch"
+
+ ./configure --prefix=/usr \
+ --docdir=/usr/share/doc/zsh \
+ --htmldir=/usr/share/doc/zsh/html \
+ --with-term-lib='ncursesw' \
+ --enable-multibyte \
+ --enable-function-subdirs \
+ --with-tcsetpgrp \
+ --enable-pcre \
+ --enable-cap \
+ --enable-zsh-secure-free
+ make
+}
+
+src_check() {
+ cd "$SOURCE_DIR/zsh-$version"
+
+ HOME="$SOURCE_DIR" make check
+}
+
+src_install() {
+ cd "$SOURCE_DIR/zsh-$version"
+
+ make DESTDIR="$INSTALL_DIR/" install
+}
+
diff --git a/tools/cscope/SRCBUILD b/tools/cscope/SRCBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Dan McGee <dan@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Jason Chu <jason@archlinux.org>
+
+version=15.8.a
+_realver=15.8a
+description="A developers tool for browsing program code"
+depends=('ncurses' 'sh')
+sources=(http://downloads.sourceforge.net/cscope/cscope-${_realver}.tar.gz)
+md5sums=('b5c898ccedcfe2d4aa69537dad73b610')
+
+src_compile() {
+ cd "$SOURCE_DIR/cscope-${_realver}"
+ sed -i 's|/usr/local/lib/cs|/usr/lib/cs|' contrib/ocs
+
+ ./configure --prefix=/usr
+ make
+}
+
+src_install() {
+ cd "$SOURCE_DIR/cscope-${_realver}"
+ make DESTDIR="$INSTALL_DIR" install
+
+ install -d $INSTALL_DIR/usr/lib/cs
+ install -Dm644 COPYING "$INSTALL_DIR"/usr/share/licenses/cscope/LICENSE
+
+ cd contrib/xcscope
+ install -Dm644 xcscope.el "$INSTALL_DIR"/usr/share/emacs/site-lisp/xcscope.el
+ install -m755 cscope-indexer "$INSTALL_DIR"/usr/bin
+}