From: "Jason St. John" <jstjohn@purdue.edu> Most Perl modules are going to be architecture independent, so to make packge listings clearer in the long run (less unnecessary architecture-specific packages), setting arch=('any') by default seems to make sense. Signed-off-by: Jason St. John <jstjohn@purdue.edu> --- prototypes/PKGBUILD-perl.proto | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/prototypes/PKGBUILD-perl.proto b/prototypes/PKGBUILD-perl.proto index c32a65a..c4260fb 100644 --- a/prototypes/PKGBUILD-perl.proto +++ b/prototypes/PKGBUILD-perl.proto @@ -2,9 +2,12 @@ # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. - -# See http://wiki.archlinux.org/index.php/Perl_Package_Guidelines for more +# +# See https://wiki.archlinux.org/index.php/Perl_Package_Guidelines for more # information on Perl packaging. +# +# In most cases, 'arch' should be 'any' because most Perl packages are +# architecture independent. # Maintainer: Your Name <youremail@domain.com> _author=AUTHOR_NAME @@ -13,7 +16,7 @@ pkgname=perl-$_perlmod pkgver=VERSION pkgrel=1 pkgdesc="" -arch=() +arch=('any') url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/" license=('GPL' 'PerlArtistic') groups=() @@ -23,9 +26,9 @@ provides=() conflicts=() replaces=() backup=() -options=(!emptydirs) +options=('!emptydirs') install= -source=(http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz) +source=("http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz") md5sums=() build() { -- 1.7.11.4