Skip to content

Commit e3cc504

Browse files
committed
wip
1 parent 5741d32 commit e3cc504

File tree

1 file changed

+9
-12
lines changed
  • projects/freedesktop.org/p11-kit

1 file changed

+9
-12
lines changed

projects/freedesktop.org/p11-kit/build.ts

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,21 @@ export default async function ({ prefix, version, deps }: BuildOptions) {
66
// because otherwise it tries to install to /etc/p11-kit
77
Deno.env.set("DESTDIR", prefix.string);
88

9-
run`./configure
10-
--prefix=/usr/local
11-
--disable-trust-module # not relocatable, and not generally needed
12-
--disable-debug
13-
--sysconfdir=/etc
14-
--localstatedir=/var
15-
--disable-doc
16-
`;
17-
run`make`;
18-
run`make install`;
9+
run`meson setup bld
10+
--prefix=/usr/local
11+
--buildtype=release
12+
-Dtrust_module=disabled
13+
-Dsysconfdir=/etc
14+
-Dgtk_doc=false
15+
`;
16+
run`ninja -C bld`
17+
run`ninja -C bld install`;
1918

2019
for await (const [path] of prefix.join("usr/local").ls()) {
2120
path.mv({ into: prefix });
2221
}
2322
prefix.join("usr/local").rm().parent().rm();
2423

25-
prefix.share.join("gtk-doc").rm('rf');
26-
2724
// we disable the trust module, but all the same let’s fix this
2825
inreplace(
2926
prefix.lib.join("pkgconfig/p11-kit-1.pc"),

0 commit comments

Comments
 (0)