[arch-commits] Commit in cscope/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Wed Feb 3 17:32:32 UTC 2010
Date: Wednesday, February 3, 2010 @ 12:32:32
Author: andrea
Revision: 67119
Merged revisions 67117 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/cscope/trunk
........
r67117 | andrea | 2010-02-03 18:30:52 +0100 (Wed, 03 Feb 2010) | 2 lines
upgpkg: cscope 15.7a-2
added xemacs interface (FS#17969)
........
Modified:
cscope/repos/extra-x86_64/ (properties)
cscope/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Property changes on: cscope/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /cscope/trunk:1-57016
+ /cscope/trunk:1-67118
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2010-02-03 17:31:39 UTC (rev 67118)
+++ extra-x86_64/PKGBUILD 2010-02-03 17:32:32 UTC (rev 67119)
@@ -1,10 +1,10 @@
# $Id$
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Maintainer: Jason Chu <jason at archlinux.org>
+# Contributor: Jason Chu <jason at archlinux.org>
pkgname=cscope
pkgver=15.7a
-pkgrel=1
+pkgrel=2
pkgdesc="A developers tool for browsing program code"
arch=('i686' 'x86_64')
url="http://cscope.sourceforge.net/index.html"
@@ -12,14 +12,21 @@
depends=('ncurses' 'sh')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('da43987622ace8c36bbf14c15a350ec1')
-sha1sums=('f6348694e5443769add851f97fd39365e93dc474')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|/usr/local/lib/cs|/usr/lib/cs|' contrib/ocs || return 1
+
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
+
install -d "${pkgdir}/usr/lib/cs"
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/cscope/LICENSE"
+
+ cd contrib/xcscope
+ install -Dm644 xcscope.el ${pkgdir}/usr/share/emacs/site-lisp/xcscope.el || return 1
+ install -m755 cscope-indexer $pkgdir/usr/bin || return 1
+
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYING \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list