aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-23 11:49:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-23 11:49:34 +0000
commitf142c240e777d6076ddb6d5deb33a45ac7ee05fe (patch)
tree1b01779718329d824f60c0a076be2987eb1a0cec
parent266b94a83821a795d1004eddca4e9c3ac9313399 (diff)
downloadaports-f142c240e777d6076ddb6d5deb33a45ac7ee05fe.tar.bz2
aports-f142c240e777d6076ddb6d5deb33a45ac7ee05fe.tar.xz
main/per-net-smtp-ssl: set arch to noarch
package contains only perl files
-rw-r--r--main/perl-net-smtp-ssl/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-net-smtp-ssl/APKBUILD b/main/perl-net-smtp-ssl/APKBUILD
index a898d5255b..c3837d5224 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