Verified Commit f81c6c48 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

gitpkg: Make default meson funcs a bit more compact

parent 43b47094
......@@ -392,7 +392,6 @@ if gitify
prepare: case
when meson
<<~END
mkdir build
cd #{localname}
END
when autotools
......@@ -419,17 +418,15 @@ if gitify
build: case
when meson
<<~END
cd build
arch-meson ../#{localname}
ninja
arch-meson #{localname} build
ninja -C build
END
end,
package: case
when meson
<<~END
cd build
DESTDIR="$pkgdir" ninja install
DESTDIR="$pkgdir" ninja -C build install
END
end,
}.reverse_each do |name, content|
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment