APKBUILD 675 Bytes
Newer Older
Michael Mason's avatar
Michael Mason committed
1 2
# Contributor: Michael Mason <ms13sp@gmail.com> 
pkgname=ctags
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=5.8
4
pkgrel=2
Michael Mason's avatar
Michael Mason committed
5 6
pkgdesc="Generator of tags for all types of C/C++ languages"
url="http://ctags.sourceforge.net/"
7
arch="all"
Michael Mason's avatar
Michael Mason committed
8
license="GPL"
9
depends=""
Michael Mason's avatar
Michael Mason committed
10 11 12 13 14 15 16 17
makedepends=""
install=
subpackages=""
source="http://prdownloads.sourceforge.net/ctags/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir/$pkgname-$pkgver"

18 19 20 21
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
Michael Mason's avatar
Michael Mason committed
22 23
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
24 25
		--infodir=/usr/share/info \
		|| return 1
Michael Mason's avatar
Michael Mason committed
26 27 28 29 30
	make || return 1
	
	install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname
}

Natanael Copa's avatar
Natanael Copa committed
31
md5sums="c00f82ecdcc357434731913e5b48630d  ctags-5.8.tar.gz"