PKGBUILDs/extra/cscope/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
821 B
Bash

# $Id: PKGBUILD 9121 2008-08-17 03:57:34Z allan $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=cscope
pkgver=15.6
pkgrel=2
pkgdesc="Cscope is a developers tool for browsing program code"
arch=(i686 x86_64)
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('beb6032a301bb11524aec74bfb5e4840')
url="http://cscope.sourceforge.net/index.html"
license=('custom')
depends=(ncurses)
build() {
cd $startdir/src/$pkgname-$pkgver
#patch -Np1 -i ../../cscope.patch
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
install -dm755 ${pkgdir}/usr/share/man
mv ${pkgdir}/usr/man ${pkgdir}/usr/share
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/cscope/LICENSE
}
md5sums=('db87833f90d8267b1fc0c419cfc4d219')