From 512ffadf9c70c040c22d047e9c2b830cb7bbb52b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 8 Nov 2022 23:17:05 +0700 Subject: [PATCH] php-ast: move files up 1 level since php put a package.xml in top-level --- srcpkgs/php-ast/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/php-ast/template b/srcpkgs/php-ast/template index 11c50fe190b..615361fe50f 100644 --- a/srcpkgs/php-ast/template +++ b/srcpkgs/php-ast/template @@ -16,6 +16,10 @@ distfiles="https://pecl.php.net/get/ast-${version}.tgz" checksum=ee3d4f67e24d82e4d340806a24052012e4954d223122949377665427443e6d13 make_check_pre="env NO_INTERACTION=1" +post_extract() { + mv ast-$version/* . +} + pre_configure() { phpize }