Making the cscope package work. - lsd-packages - LSD Linux packages
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit ff399fad9ade5a3e8cf2114bd79f3eb7f9df7e83
(DIR) parent 1f8b2f7998ec60291dbde4b1a8464cfe486dd215
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 22 Feb 2014 23:10:28 +0100
Making the cscope package work.
Diffstat:
tools/cscope/SRCBUILD | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
---
(DIR) diff --git a/tools/cscope/SRCBUILD b/tools/cscope/SRCBUILD
@@ -1,12 +1,9 @@
-# Maintainer: Dan McGee <dan@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor: Jason Chu <jason@archlinux.org>
+# Maintainer: Christoph Lohmann <20h@r-36.net>
-version=15.8.a
-_realver=15.8a
+version=15.8a
description="A developers tool for browsing program code"
depends=('ncurses')
-sources=(http://downloads.sourceforge.net/cscope/cscope-${_realver}.tar.gz)
+sources=(http://downloads.sourceforge.net/cscope/cscope-$version.tar.gz)
src_compile() {
cd "$SOURCE_DIR/cscope-${_realver}"
@@ -20,10 +17,8 @@ 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
}
+