diff --git a/html/index.html.erb b/html/index.html.erb index f4c1aef7..0e71edc7 100644 --- a/html/index.html.erb +++ b/html/index.html.erb @@ -17,7 +17,7 @@ package.url = "packages/#{package.name}-#{package.version}." + (package.pkgtype == "single" ? "el" : "tar") package.recipe_url = "https://github.com/milkypostman/melpa/blob/master/recipes/#{package.name}" package.source = recipe["fetcher"] - if package.descr =~ /(.*?)(\s*-\*-.*?)?\s*\[source:\s*(\w+)\]\s*/ + if package.descr =~ /(.*?)(\s*-\*-.*?)?\s*\[(\w+)\]\s*/ package.descr = $1 end diff --git a/package-build.el b/package-build.el index 3de4ea29..1a247d91 100644 --- a/package-build.el +++ b/package-build.el @@ -563,7 +563,7 @@ If PKG-INFO is nil, an empty one is created." (let* ((merged (or (copy-sequence pkg-info) (vector name nil "No description available." version)))) (aset merged 0 name) - (aset merged 2 (format "%s [source: %s]" + (aset merged 2 (format "%s [%s]" (aref merged 2) (plist-get config :fetcher))) (aset merged 3 version) merged))