36 lines
916 B
Bash
36 lines
916 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=camlp5
|
|
pkgver=8.0
|
|
_relname=rel8.00.01
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
pkgdesc='A preprocessor-pretty-printer of OCaml.'
|
|
url='https://camlp5.github.io/'
|
|
license=('Modified-BSD')
|
|
depends=('ocaml')
|
|
makedepends=('ocaml-compiler-libs')
|
|
source=("camlp5-${_relname}.tar.gz::https://github.com/camlp5/camlp5/archive/$_relname.tar.gz")
|
|
sha512sums=('f40e57845ac4a14cf260ddd9df616d12df09f67efaf6735e915598aee981721e8203bf9203fb83d08e34e43021c08003de64dbf3bdcd4d12fd079542fb7649aa')
|
|
options=('staticlibs')
|
|
|
|
build() {
|
|
cd "${srcdir}/camlp5-${_relname}"
|
|
|
|
./configure \
|
|
-prefix '/usr' \
|
|
-mandir '/usr/share/man' \
|
|
-strict
|
|
|
|
make world.opt
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/camlp5-${_relname}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -D -m644 etc/META "${pkgdir}/usr/lib/ocaml/$pkgname"
|
|
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|