index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-13 11:52:57 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-13 11:52:57 +0200 |
commit | a0c43cd9e64c929dd78ef65352693e3e404a8e77 (patch) | |
tree | ad76c34c8c15f7c8a6a9a485bcf23c26be8a9aff /extra/gcr/PKGBUILD | |
parent | c6a19ae65c5212e0734ead52ae558b7703745622 (diff) |
-rw-r--r-- | extra/gcr/PKGBUILD | 15 |
diff --git a/extra/gcr/PKGBUILD b/extra/gcr/PKGBUILD new file mode 100644 index 00000000..f2897717 --- /dev/null +++ b/extra/gcr/PKGBUILD @@ -0,0 +1,15 @@ +# no Vala on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//vala/}) + source_i486+=('gcr-no-vala.arch32.patch') + sha256sums_i486+=('eb95b35b36595c7dfe3ccc22d135751c49c96d4878b03bef6884e13b8f3ea1cb') + if [ "${CARCH}" == "i486" ]; then + eval "$( + declare -f prepare | \ + sed ' + /cd.*/a for _p in \"$srcdir\"\/*.arch32.patch; do patch -p1 -i \"$_p\"; done + ' + )" + fi + +fi |