Skip to content

Commit eabcb74

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

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

Formula/bandage.rb

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,27 @@ 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+
sha256 "beccfe21aa775f309e18b2835e942405e439268b9082e06f7c1765f2d3ad39b6"
7+
license "GPL-3.0-only"
88

99
bottle do
1010
root_url "https://ghcr.io/v2/brewsci/bio"
1111
sha256 cellar: :any_skip_relocation, x86_64_linux: "2f9db41fa2cc366255bc4cf5d58db949f0765db087021adf6d701a44b4a2f6ab"
1212
end
1313

14+
depends_on "patchelf" => :build
1415
depends_on :linux
15-
depends_on "qt"
16-
depends_on "patchelf" => :build unless OS.mac?
1716

1817
uses_from_macos "zlib"
1918

2019
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
20+
bin.install "Bandage_Ubuntu-x86-64_v#{version}.AppImage" => "Bandage"
21+
system "patchelf",
22+
"--set-interpreter", HOMEBREW_PREFIX/"lib/ld.so",
23+
"--set-rpath", HOMEBREW_PREFIX/"lib",
24+
bin/"Bandage"
2825
pkgshare.install "sample_LastGraph"
29-
doc.install "dependencies"
3026
end
3127

3228
test do

0 commit comments

Comments
 (0)