Skip to content

Commit

Permalink
lunar-date: use modern meson build syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jan 7, 2024
1 parent a301d1a commit e7e0444
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Formula/l/lunar-date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ class LunarDate < Formula
depends_on "glib"

def install
mkdir "build" do
system "meson", *std_meson_args, ".."
system "ninja", "-v"
system "ninja", "install", "-v"
end
system "meson", "setup", "build", *std_meson_args
system "meson", "compile", "-C", "build", "--verbose"
system "meson", "install", "-C", "build"

pkgshare.install "tests"

Expand Down

0 comments on commit e7e0444

Please sign in to comment.