From d6be88948d681a9782989464d3e955df36276ccb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 30 Dec 2010 13:58:48 +0000 Subject: main/perl-[various]: set noarch --- main/perl-parse-syslog/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'main/perl-parse-syslog') diff --git a/main/perl-parse-syslog/APKBUILD b/main/perl-parse-syslog/APKBUILD index 09b35c6aa5..06792cb385 100644 --- a/main/perl-parse-syslog/APKBUILD +++ b/main/perl-parse-syslog/APKBUILD @@ -3,10 +3,10 @@ pkgname=perl-parse-syslog _realname=Parse-Syslog pkgver=1.10 -pkgrel=0 +pkgrel=1 pkgdesc="Parse Unix syslog files" url="http://search.cpan.org/~dschwei/Parse-Syslog-1.10/" -arch="x86 x86_64" +arch="noarch" license="unknown" depends="perl" 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