Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

pngpaste formula #14985

Closed
wants to merge 2 commits into from

3 participants

@adamv

Use the stable download; this will break checksums when upstream pushes more commits.

Point to the commit sha? The source repo isn't versioned

@adamv

No slash on the end

@mistydemeo
Owner

I notice the Makefile hardcodes gcc, so Homebrew's compiler won't be respected.

@mistydemeo mistydemeo commented on the diff
Library/Formula/pngpaste.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Pngpaste < Formula
+ homepage 'https://github.com/jcsalterego/pngpaste'
+ url 'https://github.com/jcsalterego/pngpaste/tarball/f6e8a5931202573b85ff1ca6d0b5816b0d7f586f'
+ sha1 'd498e964cce02c6f3e7389a14139078f2819d6b9'
+ version '1.0.0'
@mistydemeo Owner

Shouldn't invent a version number - we use the original project's versioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@adamv
Owner

Please open an issue on the upstream project asking for a git tag.

@nevir nevir referenced this pull request in jcsalterego/pngpaste
Closed

Tagging a version (for homebrew) #1

@adamv adamv closed this pull request from a commit
@nevir nevir pngpaste 1.0.1
Closes #14985.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
0f46289
@adamv adamv closed this in 0f46289
@allenhuang allenhuang referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@theirix theirix referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@nevir nevir pngpaste 1.0.1
Closes #14985.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
009c6fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 14 additions and 0 deletions.
  1. +14 −0 Library/Formula/pngpaste.rb
View
14 Library/Formula/pngpaste.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Pngpaste < Formula
+ homepage 'https://github.com/jcsalterego/pngpaste'
+ url 'https://github.com/jcsalterego/pngpaste/tarball/f6e8a5931202573b85ff1ca6d0b5816b0d7f586f'
+ sha1 'd498e964cce02c6f3e7389a14139078f2819d6b9'
+ version '1.0.0'
@mistydemeo Owner

Shouldn't invent a version number - we use the original project's versioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+
+ def install
+ system 'make', 'all'
+
+ bin.install 'pngpaste'
+ end
+end
Something went wrong with that request. Please try again.