Permalink
Browse files

Set a default homepage to hackport if none is set

  • Loading branch information...
1 parent e199c38 commit 175e75335ea026680bc0f2fc3556cc744269f511 @kolmodin kolmodin committed Mar 1, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 Merge.hs
View
@@ -269,5 +269,9 @@ fixSrc serverURI p ebuild =
</> display (pkgVersion p)
</> display (pkgName p) ++ "-" ++ display (pkgVersion p)
<.> "tar.gz"
- }
+ },
+ E.homepage = case E.homepage ebuild of
+ "" -> "http://hackage.haskell.org/cgi-bin/hackage-scripts/package/"
+ ++ display (pkgName p)
+ x -> x
}

0 comments on commit 175e753

Please sign in to comment.