aboutsummaryrefslogblamecommitdiffstats
path: root/testing/cscope/APKBUILD
blob: ff4a2fab0d42440549625fa6d604cf7ead0c796a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      
                                                            
              

           


                                                                
                      
                         
                          
                                                                         
                                   








                                         

                                    



                      
                                      

 
                                                                                                                                                                 
# Contributor: Cliff Free <nucular.limozeen@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=cscope
pkgver=15.9
pkgrel=0
pkgdesc="Cscope is a developer's tool for browsing source code."
url="http://cscope.sourceforge.net/"
arch="all"
license="BSD-3-Clause"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/cscope/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="f3b95da5eb5c036cd39215785990c7cce7ce7b8eda4b18e60792e70d01ffb63809ce32ace310a9aefd88e6761c1609039ccfab0e8e49f81730bc1630babbcb80  cscope-15.9.tar.gz"