andyfischer/circa

Now on Arch Linux

xyproto opened this issue · 2 comments

Hi,

I just packaged Circa for the Arch User Submitted package repository (AUR):

https://aur.archlinux.org/packages/circa-git

If people have yaourt installed, they can install circa git with this command:

yaourt -S circa-git

If you were to make a release tarball of circa, for instance something like:
circa-0.1.tar.bz2

It would be possible to also make a release version on AUR.

If that package in turn would get moderately popular (above 10 votes or so), it would be possible to move it to the official package repository, to make it an official Arch Linux package.

The main modifications I had to do to make circa compile, was to add "-ldl" before "-lcirca" in both src/unit_tests.make and src/command_line.make.

Best regards,
Alexander Rødseth
Arch Linux Trusted User (TU)

Hi Alex, thanks for doing this work! I'll look in to making that makefile change permanent. The makefiles are generated by premake4 so I'll need to convince it to rearrange the flags.

I'm not sure if the order of the flags matter, but these are the two commands I used to make it compile:

sed -i 's/-lcirca/-ldl -lcirca/g' src/unit_tests.make src/command_line.make
LDFLAGS='-ldl' make config=release PREFIX=/usr

(PREFIX=/usr is normal when using make in PKGBUILD files, but LDFLAGS='-ldl' and config=release is not normally needed). Here's the complete PKGBUILD, if you should be interested: https://aur.archlinux.org/packages/ci/circa-git/PKGBUILD

Circa looks really interesting, btw! 👍