[arch-commits] Commit in cscope/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Sep 6 16:50:28 UTC 2015
Date: Sunday, September 6, 2015 @ 18:50:27
Author: foutrelis
Revision: 245360
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
cscope/repos/staging-i686/
cscope/repos/staging-i686/PKGBUILD
(from rev 245359, cscope/trunk/PKGBUILD)
cscope/repos/staging-x86_64/
cscope/repos/staging-x86_64/PKGBUILD
(from rev 245359, cscope/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: cscope/repos/staging-i686/PKGBUILD (from rev 245359, cscope/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-06 16:50:27 UTC (rev 245360)
@@ -0,0 +1,35 @@
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Jason Chu <jason at archlinux.org>
+
+pkgname=cscope
+pkgver=15.8.a
+_realver=15.8a
+pkgrel=3
+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
+}
Copied: cscope/repos/staging-x86_64/PKGBUILD (from rev 245359, cscope/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-06 16:50:27 UTC (rev 245360)
@@ -0,0 +1,35 @@
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Jason Chu <jason at archlinux.org>
+
+pkgname=cscope
+pkgver=15.8.a
+_realver=15.8a
+pkgrel=3
+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
+}
More information about the arch-commits
mailing list