From f142c240e777d6076ddb6d5deb33a45ac7ee05fe Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 23 Dec 2010 11:49:34 +0000 Subject: main/per-net-smtp-ssl: set arch to noarch package contains only perl files --- main/perl-net-smtp-ssl/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main/perl-net-smtp-ssl/APKBUILD b/main/perl-net-smtp-ssl/APKBUILD index a898d5255..c3837d522 100644 --- a/main/perl-net-smtp-ssl/APKBUILD +++ b/main/perl-net-smtp-ssl/APKBUILD @@ -3,10 +3,10 @@ pkgname=perl-net-smtp-ssl _realname=Net-SMTP-SSL pkgver=1.01 -pkgrel=0 +pkgrel=1 pkgdesc="SSL support for Net::SMTP" url="http://search.cpan.org/dist/Net-SMTP-SSL/" -arch="x86 x86_64" +arch="noarch" license="GPL" depends="perl perl-io-socket-ssl" makedepends="perl-dev" @@ -19,6 +19,10 @@ build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 +} + +package() { + cd "$srcdir/$_realname-$pkgver" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete -- cgit v1.2.3