blob: 6c2216d1a13183abc22a6ae8ae55163a983b145a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Nathan Owe <ndowens.aur at gmail dot com>
pkgname=camlp5
pkgver=6.02.2
pkgrel=1
pkgdesc='A preprocessor-pretty-printer of OCaml.'
arch=('i686' 'x86_64')
url='http://pauillac.inria.fr/~ddr/camlp5/'
license=('BSD')
depends=('sh')
makedepends=('ocaml')
conflicts=('camlp5-transitional')
options=('!makeflags')
source=("http://pauillac.inria.fr/~ddr/camlp5/distrib/src/${pkgname}-${pkgver}.tgz"
'http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-6.02.2-1'
'http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-6.02.2-2'
'http://pauillac.inria.fr/~ddr/camlp5/distrib/src/patch-6.02.2-3')
md5sums=('b495bf26355451186c6725ee01add0da'
'3acab547f3c0acb3c09d1d707e6c5ee3'
'2e911c01e7da967bf68deee13e9712c8'
'6fa59ec7c684919b6c8e2eb2bcabcf93')
build() {
cd ${pkgname}-${pkgver}
patch -Np0 -i ${srcdir}/patch-6.02.2-1
patch -Np0 -i ${srcdir}/patch-6.02.2-2
patch -Np0 -i ${srcdir}/patch-6.02.2-3
./configure \
-prefix '/usr' \
-mandir '/usr/share/man' \
-strict
make world.opt
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|