aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-convert-binhex/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-30 13:37:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-30 13:37:55 +0000
commit5d68b6f29de7b0d51b2b7e5c816129f6d94b1942 (patch)
tree0a7f350aa87a0ca0b251da27f66d4933fef4ed62 /main/perl-convert-binhex/APKBUILD
parentc31781de880bb08a16795ccfc4011c02eaf2539e (diff)
downloadaports-5d68b6f29de7b0d51b2b7e5c816129f6d94b1942.tar.gz
aports-5d68b6f29de7b0d51b2b7e5c816129f6d94b1942.tar.bz2
aports-5d68b6f29de7b0d51b2b7e5c816129f6d94b1942.tar.xz
main/perl-[various]: set noarch
Diffstat (limited to 'main/perl-convert-binhex/APKBUILD')
-rw-r--r--main/perl-convert-binhex/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-convert-binhex/APKBUILD b/main/perl-convert-binhex/APKBUILD
index a585c607b5..a5fc1bcec9 100644
--- a/main/perl-convert-binhex/APKBUILD
+++ b/main/perl-convert-binhex/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-convert-binhex
_realname=Convert-BinHex
pkgver=1.119
-pkgrel=0
+pkgrel=1
pkgdesc="Extract data from Macintosh BinHex files"
url="http://search.cpan.org/~eryq/Convert-BinHex-1.119/"
-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