git » patchutils.git » commit 8d532b1

Remove i686 from arch=()

author Evangelos Foutras
2017-11-15 14:29:11 UTC
committer Evangelos Foutras
2017-11-15 14:29:11 UTC
parent 0c4762ea418faf1151d230374d5e5fef67d03895

Remove i686 from arch=()

FTR, commands used to change arch=() and then verify the changes:

$ sed -Ei "/^arch=/{s/ *?['\"]?i686['\"]? *?//;s/ *$//}" */*/PKGBUILD*

$ grep -r i686 * | grep arch= | grep -v repos

$ svn diff | grep -A 1 ^-[^-] | grep -v -- -- | cut -c2- |
  while IFS=$'\n' read -r l1; IFS=$'\n' read -r l2; do
    echo "$l1 -> $l2"
  done | sort -u

PKGBUILD +1 -1

diff --git a/PKGBUILD b/PKGBUILD
index 3c8e8d7..5176b11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="A small collection of programs that operate on patch files"
 license=('GPL')
 url="http://cyberelk.net/tim/patchutils/"
 depends=('perl')
-arch=('i686' 'x86_64')
+arch=('x86_64')
 source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.xz)
 md5sums=('ee95b5993d07ccdf27ca9f2cc4e6ffee')