Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/vim/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-02 20:47:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-02 20:47:23 +0200
commit30d817d43fc3afb0b5ab3a98199bdad2bde80b9b (patch)
tree42148fe7fa18536492c96ed9d0a84afc65a74268 /extra/vim/PKGBUILD
parent0460d8f49aa4e7e37730c2e357c2274856d77a99 (diff)
extra/vim: removed gtk3, libcanberra cycle break for i486
Diffstat (limited to 'extra/vim/PKGBUILD')
-rw-r--r--extra/vim/PKGBUILD38
1 files changed, 0 insertions, 38 deletions
diff --git a/extra/vim/PKGBUILD b/extra/vim/PKGBUILD
deleted file mode 100644
index 7d8d7da9..00000000
--- a/extra/vim/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-unset check
-
-# do not build gvim on i486 - no gtk3 and no libcanberra
-
-makedepends=(
- $(
- echo "${makedepends[@]}" \
- | tr -s ' ' '\n' \
- | grep -vxF 'gtk3' \
- | grep -vxF 'libcanberra'
- )
-)
-makedepends_i686=(gtk3 libcanberra)
-makedepends_pentium4=("${makedepends_i686[@]}")
-
-eval "$(
- declare -f prepare \
- | sed '
- /gvim/ s/^/[ "${CARCH}" = i486 ] || /
- '
-
- declare -f build \
- | sed '
- /cd gvim/ s/^/[ "${CARCH}" = i486 ] || /
- '
-
- declare -f package_gvim \
- | sed '
- /^\s*\S*depends=/ {
- h
- s/=/_i686=/
- p
- g
- s/=/_pentium4=/
- }
- /cd gvim/ i [ "${CARCH}" != i486 ] || return 0
- '
-)"