Package Details: camllight 0.75-2

Git Clone URL: https://aur.archlinux.org/camllight.git (read-only)
Package Base: camllight
Description: Compiler for caml light source code
Upstream URL: http://caml.inria.fr/
Licenses: custom:INRIA
Submitter: Poroing
Maintainer: Poroing
Last Packager: Poroing
Votes: 5
Popularity: 0.809420
First Submitted: 2016-08-25 09:08
Last Updated: 2017-11-20 20:49

Latest Comments

Poroing commented on 2017-11-20 20:27

Thank's for the report, It seems that it didn't gave me any error this past year because I didn't remove the cloned repository.
I will apply your patch right away.

Everything should be working well now.

nmaggioni commented on 2017-11-20 09:48

Compiled executables have "/tmp/yaourt-tmp-USERNAME/aur-camllight/pkg/camllight/usr/bin//camlrun" as shebang and are therefore not runnable by themselves.

Adding `sed -i "s/${pkgdir//\//\\/}//" $pkgdir/usr/lib/caml-light/header` at the end of the `package` function in the PKGBUILD fixes the problem. Removing the trailing slash from the BINDIR var also gives more coherent results.

Here is my patch: https://pastebin.com/eDZdsprM