Package Details: cobra 2:0.9.6-3

Package Base: cobra
Description: Clean and expressive language for .NET and Mono
Upstream URL: http://cobra-language.com/
Category: devel
Licenses: custom:MIT
Submitter: wuischke
Maintainer: None
Last Packager: None
Votes: 6
First Submitted: 2010-12-16 15:24
Last Updated: 2013-12-25 12:48

Dependencies (1)

Required by (0)

Sources

Latest Comments

Comment by pauld

2013-12-25 13:21

Well, I did not really test my solution.
You seems to know stuff more than me, so I would be encline to let you take back the package if you want.

I modified target to any and added !strip to options, as CLR guidelines suggest:
https://wiki.archlinux.org/index.php/CLR_Package_Guidelines

It seems to make sense to me, as cobra execute mono cobra.exe under the hood as I understand it.

Comment by spider-mario

2013-12-25 12:58

It’s quite similar to yours, except I used perl instead of sed, and a look-ahead regexp to prepend $pkgdir.

I also used find because I didn’t know that replacing $(MSBuildExtensionsPath) in Cobra.targets was enough (it appears in other files as well).

Comment by pauld

2013-12-25 12:53

He, he, just reading your comment after doint it my wizardly learning magic way.
My magic line is:
sed -i "s|\$(MSBuildExtensionsPath)|$pkgdir/usr/lib/mono/xbuild|" Cobra.MSBuild/Targets/Cobra.targets

Need to study your way now, to see how if fits.

Comment by spider-mario

2013-12-25 11:28

I think I’ve managed to make it work again thanks to the info given by nerdzero (http://cobra-language.com/forums/viewtopic.php?p=22490&sid=5ad49331d707ff6a2c97cc1bbf2ed862#p22490 ).

http://ge.tt/1TVdg6B1/v/0

Comment by pauld

2013-12-25 04:37

Help requested in http://cobra-language.com/forums/viewforum.php?f=4
Waiting for moderation approval.

Comment by pauld

2013-12-25 04:17

I have adopted it, and try to make it build 0.9.6 rather than 0.9.4.
But it does not works:
run: xbuild /property:Configuration="";Platform="" /target:DisplayMSBuildExtensionsPath ./Cobra.MSBuild/Targets/Cobra.targets
make dir : /usr/lib/mono/xbuild/Cobra
** ERROR: Unable to create installation directory.
Access to the path "/usr/lib/mono/xbuild/Cobra" is denied.
Run as admin, or put a correct install path into a file called "install-directory.text".

Should I need to create a new install-directory.text ? Don't really know.
So basically I messed this package and am trying to figure out how to fix.