summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-mime-tools/APKBUILD8
-rw-r--r--main/perl-net-rblclient/APKBUILD8
-rw-r--r--main/perl-net-server/APKBUILD8
-rw-r--r--main/perl-parse-syslog/APKBUILD8
-rw-r--r--main/perl-snmp-session/APKBUILD4
-rw-r--r--main/perl-uri/APKBUILD4
-rw-r--r--main/perl-xml-simple/APKBUILD11
7 files changed, 35 insertions, 16 deletions
diff --git a/main/perl-mime-tools/APKBUILD b/main/perl-mime-tools/APKBUILD
index 019f70e7b..3ae8f2afd 100644
--- a/main/perl-mime-tools/APKBUILD
+++ b/main/perl-mime-tools/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-mime-tools
_realname=MIME-tools
pkgver=5.427
-pkgrel=0
+pkgrel=1
pkgdesc="Perl modules for parsing (and creating!) MIME entities"
url="http://search.cpan.org/~doneill/MIME-tools-5.427/"
-arch="x86 x86_64"
+arch="noarch"
license="PerlArtistic GPL"
depends="perl perl-io-stringy perl-mail-tools perl-convert-binhex"
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
diff --git a/main/perl-net-rblclient/APKBUILD b/main/perl-net-rblclient/APKBUILD
index caa2f5500..5d99fcc14 100644
--- a/main/perl-net-rblclient/APKBUILD
+++ b/main/perl-net-rblclient/APKBUILD
@@ -3,10 +3,10 @@
pkgname=perl-net-rblclient
_realname=Net-RBLClient
pkgver=0.5
-pkgrel=0
+pkgrel=1
pkgdesc="Queries multiple Realtime Blackhole Lists in parallel"
url="http://search.cpan.org/dist/Net-RBLClient/"
-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/RBLCLient-$pkgver"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
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
diff --git a/main/perl-parse-syslog/APKBUILD b/main/perl-parse-syslog/APKBUILD
index 09b35c6aa..06792cb38 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
diff --git a/main/perl-snmp-session/APKBUILD b/main/perl-snmp-session/APKBUILD
index 67d2383c1..f03b86534 100644
--- a/main/perl-snmp-session/APKBUILD
+++ b/main/perl-snmp-session/APKBUILD
@@ -2,10 +2,10 @@
pkgname=perl-snmp-session
_name=SNMP_Session
pkgver=1.13
-pkgrel=0
+pkgrel=1
pkgdesc="A SNMP Perl Module"
url="http://code.google.com/p/snmp-session/"
-arch="x86 x86_64"
+arch="noarch"
license="PerlArtistic"
depends="perl"
makedepends="perl-dev"
diff --git a/main/perl-uri/APKBUILD b/main/perl-uri/APKBUILD
index 8eded7459..254074790 100644
--- a/main/perl-uri/APKBUILD
+++ b/main/perl-uri/APKBUILD
@@ -1,10 +1,10 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-uri
pkgver=1.40
-pkgrel=0
+pkgrel=1
pkgdesc="Perl Module: form Resource Identifiers (absolute and relative)"
url="http://search.cpan.org/dist/URI/"
-arch="x86 x86_64"
+arch="noarch"
license="PerlArtistic"
subpackages="$pkgname-doc"
depends="perl"
diff --git a/main/perl-xml-simple/APKBUILD b/main/perl-xml-simple/APKBUILD
index e96c6f438..ff6d56821 100644
--- a/main/perl-xml-simple/APKBUILD
+++ b/main/perl-xml-simple/APKBUILD
@@ -1,21 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-xml-simple
pkgver=2.18
-pkgrel=0
+pkgrel=1
pkgdesc="Simple XML parser for perl"
url="http://search.cpan.org/dist/XML-Simple/"
-arch="x86 x86_64"
+arch="noarch"
license="PerlArtistic"
subpackages="$pkgname-doc"
depends="perl-xml-parser perl"
makedepends="perl-dev"
source="ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$pkgver.tar.gz"
-build ()
-{
+build() {
cd "$srcdir"/XML-Simple-$pkgver
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/XML-Simple-$pkgver
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name 'perllocal.pod' -delete