aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-xml-simple/APKBUILD
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-xml-simple/APKBUILD
parent21cb26138bba808bfeaf9870d52249d2fb9e8947 (diff)
downloadaports-d6be88948d681a9782989464d3e955df36276ccb.tar.bz2
aports-d6be88948d681a9782989464d3e955df36276ccb.tar.xz
main/perl-[various]: set noarch
Diffstat (limited to 'main/perl-xml-simple/APKBUILD')
-rw-r--r--main/perl-xml-simple/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/perl-xml-simple/APKBUILD b/main/perl-xml-simple/APKBUILD
index e96c6f438e..ff6d56821e 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