diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-30 10:02:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-30 10:02:49 +0000 |
commit | 0f2e3d0ddd1f70c3104ea2032e867e3e01f01ac9 (patch) | |
tree | 5abbed57e30b1d3c3c88c19c9a1415eb696e4e40 /main/perl-archive-zip | |
parent | 525e0aa74a4ff0d39323aaa19d814d288ceadd3a (diff) | |
download | aports-0f2e3d0ddd1f70c3104ea2032e867e3e01f01ac9.tar.bz2 aports-0f2e3d0ddd1f70c3104ea2032e867e3e01f01ac9.tar.xz |
main/perl-archive-zip: set noarch
Diffstat (limited to 'main/perl-archive-zip')
-rw-r--r-- | main/perl-archive-zip/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-archive-zip/APKBUILD b/main/perl-archive-zip/APKBUILD index 81950b01ea..6c7f75caf7 100644 --- a/main/perl-archive-zip/APKBUILD +++ b/main/perl-archive-zip/APKBUILD @@ -3,10 +3,10 @@ pkgname=perl-archive-zip _realname=Archive-Zip pkgver=1.30 -pkgrel=0 +pkgrel=1 pkgdesc="Provide a perl interface to ZIP archive files." url="http://search.cpan.org/dist/Archive-Zip/" -arch="x86 x86_64" +arch="noarch" license="GPL PerlArtistic" 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 |