summaryrefslogtreecommitdiffstats
path: root/main/perl-net-server
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-net-server
parent21cb26138bba808bfeaf9870d52249d2fb9e8947 (diff)
downloadaports-d6be88948d681a9782989464d3e955df36276ccb.tar.bz2
aports-d6be88948d681a9782989464d3e955df36276ccb.tar.xz
main/perl-[various]: set noarch
Diffstat (limited to 'main/perl-net-server')
-rw-r--r--main/perl-net-server/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/perl-net-server/APKBUILD b/main/perl-net-server/APKBUILD
index ca0e49a5a..f1fb66a5e 100644
--- a/main/perl-net-server/APKBUILD
+++ b/main/perl-net-server/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-net-server
_realname=Net-Server
pkgver=0.97
-pkgrel=0
+pkgrel=1
pkgdesc="Extensible, general Perl server engine"
url="http://search.cpan.org/~rhandom/Net-Server-0.97/"
-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