index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2025-03-24 16:27:20 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2025-03-24 16:27:20 +0100 |
commit | f262c5793da1c5a478c3593acddc3314634c524e (patch) | |
tree | 3bcb9687d8db69f25c4b6135dd4e9bda53b94d91 /core/libxml2/disabed/PKGBUILD-muon-minimal | |
parent | edd48076d7f2f24d7ad0c96ce2aefc16f24e9725 (diff) |
-rw-r--r-- | core/libxml2/disabed/PKGBUILD-muon-minimal | 32 |
diff --git a/core/libxml2/disabed/PKGBUILD-muon-minimal b/core/libxml2/disabed/PKGBUILD-muon-minimal new file mode 100644 index 00000000..6a40458d --- /dev/null +++ b/core/libxml2/disabed/PKGBUILD-muon-minimal @@ -0,0 +1,32 @@ +makedepends+=(git) + +# use muon instead of meson, no python (and meson needs python) +makedepends=(${makedepends[@]//meson/}) +makedepends+=(muon-meson) + +eval "$( + declare -f build | \ + sed ' + s/python=true/python=false/ + s/legacy=true/legacy=false/ + /arch-meson/ i \ + cd $srcdir/libxml2 + s/arch-meson.*/arch-muon -D minimum=true -D icu=disabled -D default_library=both ${meson_options[@]} ./ + s/meson compile -C build/muon samu -v -j1/ + ' + declare -f check | \ + sed ' + /meson test/ i \ + cd $srcdir/libxml2 + s/meson test -C build --print-errorlogs/muon test -v/ + ' + declare -f package_libxml2 | \ + sed ' + /meson install/ i \ + cd $srcdir/libxml2 + /meson install/ a \ + cd .. + s/meson install.*/muon install -d "$pkgdir"/ + /mv.*doc\/usr\/share/d + ' +)" |