lsd-packages

LSD Linux packages
git clone git://r-36.net/lsd-packages
Log | Files | Refs

SRCBUILD (524B)


      1 # Maintainer: Christoph Lohmann <20h@r-36.net>
      2 
      3 version=15.8a
      4 description="A developers tool for browsing program code"
      5 depends=('ncurses')
      6 sources=("http://downloads.sourceforge.net/cscope/cscope-$version.tar.gz")
      7 
      8 src_compile() {
      9 	cd "$SOURCE_DIR/cscope-$version"
     10 	sed -i 's|/usr/local/lib/cs|/usr/lib/cs|' contrib/ocs
     11 
     12 	./configure --prefix=/usr
     13 	make
     14 }
     15 
     16 src_install() {
     17 	cd "$SOURCE_DIR/cscope-$version"
     18 	make DESTDIR="$INSTALL_DIR" install
     19   
     20 	cd contrib/xcscope
     21 	install -m755 cscope-indexer "$INSTALL_DIR"/usr/bin
     22 }
     23