summaryrefslogtreecommitdiff
path: root/extra/cscope
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-09 00:02:24 +0000
committerroot <root@rshg054.dnsready.net>2012-08-09 00:02:24 +0000
commita28736b03b50ff37ce2cd0fb2fa1ef2e37508108 (patch)
treead764bf5ccbcea902e6cd4d189364e0411bd67f8 /extra/cscope
parentef815a5d80eecd4ba0679a376386741c374e0d1b (diff)
Thu Aug 9 00:02:24 UTC 2012
Diffstat (limited to 'extra/cscope')
-rw-r--r--extra/cscope/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/cscope/PKGBUILD b/extra/cscope/PKGBUILD
index 65f665d2e..a77200d2b 100644
--- a/extra/cscope/PKGBUILD
+++ b/extra/cscope/PKGBUILD
@@ -3,18 +3,19 @@
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=cscope
-pkgver=15.8
+pkgver=15.8.a
+_realver=15.8a
pkgrel=1
pkgdesc="A developers tool for browsing program code"
arch=('i686' 'x86_64')
url="http://cscope.sourceforge.net/"
license=('BSD')
depends=('ncurses' 'sh')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('7114b5838b3edcb3f5821efd444fff06')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_realver}.tar.gz)
+md5sums=('b5c898ccedcfe2d4aa69537dad73b610')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${_realver}"
sed -i 's|/usr/local/lib/cs|/usr/lib/cs|' contrib/ocs
./configure --prefix=/usr
@@ -22,7 +23,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${_realver}"
make DESTDIR="${pkgdir}" install
install -d ${pkgdir}/usr/lib/cs
@@ -32,3 +33,4 @@ package() {
install -Dm644 xcscope.el "${pkgdir}"/usr/share/emacs/site-lisp/xcscope.el
install -m755 cscope-indexer "${pkgdir}"/usr/bin
}
+