diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-30 13:58:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-30 13:58:48 +0000 |
commit | d6be88948d681a9782989464d3e955df36276ccb (patch) | |
tree | a9e36e931660fad2df52fd109d41fba500a5ded6 /main/perl-parse-syslog/APKBUILD | |
parent | 21cb26138bba808bfeaf9870d52249d2fb9e8947 (diff) | |
download | aports-d6be88948d681a9782989464d3e955df36276ccb.tar.bz2 aports-d6be88948d681a9782989464d3e955df36276ccb.tar.xz |
main/perl-[various]: set noarch
Diffstat (limited to 'main/perl-parse-syslog/APKBUILD')
-rw-r--r-- | main/perl-parse-syslog/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
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 |