Skip to content

Commit 4d428cd

Browse files
committed
bandage 0.9.0
The AppImage includes Qt.
1 parent cf57299 commit 4d428cd

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

Formula/bandage.rb

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,28 @@ class Bandage < Formula
22
# cite Wick_2015: "https://doi.org/10.1093/bioinformatics/btv383"
33
desc "Bioinf App for Navigating De novo Assembly Graphs Easily"
44
homepage "https://rrwick.github.io/Bandage/"
5-
url "https://github.com/rrwick/Bandage/releases/download/v0.8.1/Bandage_Ubuntu_dynamic_v0_8_1.zip"
6-
sha256 "2e8332e59b95438040a1b0ad29b3730ac63d7c638c635aeddde4789bf7a3116c"
7-
license "GPL-3.0"
5+
url "https://github.com/rrwick/Bandage/releases/download/v0.9.0/Bandage_Ubuntu-x86-64_v0.9.0_AppImage.zip"
6+
version "0.9.0"
7+
sha256 "beccfe21aa775f309e18b2835e942405e439268b9082e06f7c1765f2d3ad39b6"
8+
license "GPL-3.0-only"
89

910
bottle do
1011
root_url "https://ghcr.io/v2/brewsci/bio"
1112
sha256 cellar: :any_skip_relocation, x86_64_linux: "2f9db41fa2cc366255bc4cf5d58db949f0765db087021adf6d701a44b4a2f6ab"
1213
end
1314

15+
depends_on "patchelf" => :build
1416
depends_on :linux
15-
depends_on "qt"
16-
depends_on "patchelf" => :build unless OS.mac?
1717

1818
uses_from_macos "zlib"
1919

2020
def install
21-
bin.install "Bandage"
22-
unless OS.mac?
23-
system "patchelf",
24-
"--set-interpreter", HOMEBREW_PREFIX/"lib/ld.so",
25-
"--set-rpath", HOMEBREW_PREFIX/"lib:#{Formula["qt"].opt_lib}",
26-
bin/"Bandage"
27-
end
21+
bin.install "Bandage_Ubuntu-x86-64_v#{version}.AppImage" => "Bandage"
22+
system "patchelf",
23+
"--set-interpreter", HOMEBREW_PREFIX/"lib/ld.so",
24+
"--set-rpath", HOMEBREW_PREFIX/"lib",
25+
bin/"Bandage"
2826
pkgshare.install "sample_LastGraph"
29-
doc.install "dependencies"
3027
end
3128

3229
test do

0 commit comments

Comments
 (0)