summaryrefslogtreecommitdiffstats
path: root/abs/extra/cscope/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-02 23:42:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-02 23:42:21 (GMT)
commit30e6d1f8ae121f8c88d8d087aa29e200f8623ea7 (patch)
tree6397dc20b2dcfeab2e0a1878c84194aa0b6695c9 /abs/extra/cscope/PKGBUILD
parent27db268f8536e1d36bf89985500c84ecacb77743 (diff)
downloadlinhes_pkgbuild-30e6d1f8ae121f8c88d8d087aa29e200f8623ea7.zip
linhes_pkgbuild-30e6d1f8ae121f8c88d8d087aa29e200f8623ea7.tar.gz
linhes_pkgbuild-30e6d1f8ae121f8c88d8d087aa29e200f8623ea7.tar.bz2
cscope: initial inclusion. dep of automake
Diffstat (limited to 'abs/extra/cscope/PKGBUILD')
-rw-r--r--abs/extra/cscope/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/extra/cscope/PKGBUILD b/abs/extra/cscope/PKGBUILD
new file mode 100644
index 0000000..f79705a
--- /dev/null
+++ b/abs/extra/cscope/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Dan McGee <dan@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Jason Chu <jason@archlinux.org>
+
+pkgname=cscope
+pkgver=15.8.a
+_realver=15.8a
+pkgrel=2
+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}-${_realver}.tar.gz)
+md5sums=('b5c898ccedcfe2d4aa69537dad73b610')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_realver}"
+ sed -i 's|/usr/local/lib/cs|/usr/lib/cs|' contrib/ocs
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_realver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d ${pkgdir}/usr/lib/cs
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ cd contrib/xcscope
+ install -Dm644 xcscope.el "${pkgdir}"/usr/share/emacs/site-lisp/xcscope.el
+ install -m755 cscope-indexer "${pkgdir}"/usr/bin
+}