How cblrepo decides when to add 'haskell-' prefix?

After cloning habs repo, syncing hackage db with 'cblrepo sync' and adding yeganesh with 'cblrepo add --ghc-version=7.8.3-1 -u https://hackage.haskell.org/package/yeganesh-2.5/yeganesh.cabal' I see different behavior with 'cblrepo pkgbuild taffybar' and 'cblrepo pkgbuild yeganesh'. Former one generates haskell-taffybar with adjusted PKGBUILD for that name, but latter generates regular 'yeganesh' without any haskell-yeganesh. I cannot find any important difference in cblrepo.db and also grepping through source code, I can't find any other references to taffybar than in cblrepo.db which looks similar to yeganesh's entry. Can you clarify in README of cblrepo or habs - how to generate haskell-* package? I've built xmobar and yeganesh with makeahpkg for x86_64 and i686 and I want to contribute, but I'm totally lost here. Should I change names and PKBUILDS by hand? Why cblrepo pkgbuild generates different results for similar packages in cblrepo.db? Thanks in advance for any help.

I believe (though someone else may correct me here), that the "haskell-" is
only prepended to the package name if the package has a library component.
If the package comprises only executables, as in the case of yeganesh, then
it is left as-is.
On Sat, Jul 19, 2014 at 11:18 AM, Rafał Babinicz
After cloning habs repo, syncing hackage db with 'cblrepo sync' and adding yeganesh with 'cblrepo add --ghc-version=7.8.3-1 -u https://hackage.haskell.org/package/yeganesh-2.5/yeganesh.cabal' I see different behavior with 'cblrepo pkgbuild taffybar' and 'cblrepo pkgbuild yeganesh'. Former one generates haskell-taffybar with adjusted PKGBUILD for that name, but latter generates regular 'yeganesh' without any haskell-yeganesh.
I cannot find any important difference in cblrepo.db and also grepping through source code, I can't find any other references to taffybar than in cblrepo.db which looks similar to yeganesh's entry.
Can you clarify in README of cblrepo or habs - how to generate haskell-* package?
I've built xmobar and yeganesh with makeahpkg for x86_64 and i686 and I want to contribute, but I'm totally lost here.
Should I change names and PKBUILDS by hand? Why cblrepo pkgbuild generates different results for similar packages in cblrepo.db?
Thanks in advance for any help.
_______________________________________________ arch-haskell mailing list arch-haskell@haskell.org http://www.haskell.org/mailman/listinfo/arch-haskell

On Sat, Jul 19, 2014 at 11:43:38AM -0700, Taylor Hedberg wrote:
I believe (though someone else may correct me here), that the "haskell-" is only prepended to the package name if the package has a library component. If the package comprises only executables, as in the case of yeganesh, then it is left as-is.
That is exactly it! /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay
participants (3)
-
Magnus Therning
-
Rafał Babinicz
-
Taylor Hedberg