aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mime-tools
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-30 13:58:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-30 13:58:48 +0000
commitd6be88948d681a9782989464d3e955df36276ccb (patch)
treea9e36e931660fad2df52fd109d41fba500a5ded6 /main/perl-mime-tools
parent21cb26138bba808bfeaf9870d52249d2fb9e8947 (diff)
downloadaports-d6be88948d681a9782989464d3e955df36276ccb.tar.bz2
aports-d6be88948d681a9782989464d3e955df36276ccb.tar.xz
main/perl-[various]: set noarch
Diffstat (limited to 'main/perl-mime-tools')
-rw-r--r--main/perl-mime-tools/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-mime-tools/APKBUILD b/main/perl-mime-tools/APKBUILD
index 019f70e7b6..3ae8f2afd3 100644
--- a/main/perl-mime-tools/APKBUILD
+++ b/main/perl-mime-tools/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-mime-tools
_realname=MIME-tools
pkgver=5.427
-pkgrel=0
+pkgrel=1
pkgdesc="Perl modules for parsing (and creating!) MIME entities"
url="http://search.cpan.org/~doneill/MIME-tools-5.427/"
-arch="x86 x86_64"
+arch="noarch"
license="PerlArtistic GPL"
depends="perl perl-io-stringy perl-mail-tools perl-convert-binhex"
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