updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / otags / PKGBUILD
blob6e71e03e2b4f8a52ef470d5087e2dba7aa58e460
1 # Maintainer: Wei Hu <weihu@cs.virginia.edu>
2 pkgname=otags
3 pkgver=3.09.3
4 pkgrel=3
5 pkgdesc="Emacs and vi Tag Generation for OCaml, with Debian patches for OCaml 3.11"
6 license=('GPL2')
7 arch=('i686' 'x86_64')
8 url="http://packages.debian.org/sid/otags"
9 depends=('camlp5-transitional')
10 options=(!strip !makeflags)
11 source=('http://ftp.us.debian.org/debian/pool/main/o/otags/otags_3.09.3.orig.tar.gz' 'camlp5.dpatch')
12 md5sums=('daee1ae02ee7c4b904372e5b87dbc1b6'
13          '72d50d4e6d4dcca3a87b5c2cdcc5a64c')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   patch -p1 -i ${srcdir}/camlp5.dpatch
20   ./configure --prefix /usr
21   make || return 1
22   make INSTALLLIBDIR=$pkgdir/usr/lib/ocaml BINDIR=$pkgdir/usr/bin install
24   # No need to install a common license
25 #  install -Dm 644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING