Commit 8a4b754b authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] ocaml-findlib: update to 1.8.0

parent f8991e6f
Pipeline #3346 skipped
# Contributions from Arch:
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
# Contributor: Sebastian Wiesner <lunaryorn googlemail com>
# Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
# Contributor: scj <scj archlinux us>
# Contributor: Thomas S Hatch <thatch45@gmail.com>
# Contributor: Sebastian Wiesner <lunaryorn@googlemail.com>
# Contributor: Benjamin Andresen <benny@klapmuetz.org>
# Contributor: scj <scj@archlinux.us>
# Contributor: Alif <alive4ever@live.com>
pkgname=ocaml-findlib
pkgver=1.7.3
pkgver=1.8.0
pkgrel=1
license=('MIT')
pkgdesc='OCaml package manager'
arch=('x86_64')
pkgdesc='Objective Caml (OCaml) package manager'
url='http://projects.camlcity.org/projects/findlib.html'
depends=('ocaml')
license=('MIT')
depends=('ocaml-compiler-libs')
source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
md5sums=('7d57451218359f7b7dfc969e3684a6da')
options=('staticlibs' '!strip' '!makeflags') # otherwise the bytecode gets broken
sha256sums=('2b7b7d6d65bb0f3f8a2c51c63c02b0bcf1fea4c23513f866140dc7dc24fe27ad')
options=('staticlibs' '!strip' 'zipman' '!makeflags')
build() {
cd "$srcdir/findlib-$pkgver"
cd "findlib-$pkgver"
./configure \
-sitelib /usr/lib/ocaml \
-config /etc/findlib.conf \
-mandir /usr/share/man
./configure -config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man
make all opt
}
package () {
cd "$srcdir/findlib-$pkgver"
cd "findlib-$pkgver"
make prefix="$pkgdir" install
make prefix="$pkgdir" install
install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
install -Dm755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/ocamlfind_opt"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment