aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-xml-writer
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-xml-writer')
-rw-r--r--community/perl-xml-writer/APKBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/community/perl-xml-writer/APKBUILD b/community/perl-xml-writer/APKBUILD
index b2c04934d8..7b11f55dbd 100644
--- a/community/perl-xml-writer/APKBUILD
+++ b/community/perl-xml-writer/APKBUILD
@@ -3,7 +3,7 @@
pkgname=perl-xml-writer
_realname=XML-Writer
pkgver=0.625
-pkgrel=0
+pkgrel=1
pkgdesc="Perl extension for writing XML documents"
url="http://search.cpan.org/~josephw/XML-Writer-0.625/"
arch="noarch"
@@ -15,20 +15,18 @@ install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/$_realname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_realname-$pkgver
+builddir="$srcdir/$_realname-$pkgver"
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="b9c2420c243c6a36ce45a008740fcede XML-Writer-0.625.tar.gz"
-sha256sums="e080522c6ce050397af482665f3965a93c5d16f5e81d93f6e2fe98084ed15fbe XML-Writer-0.625.tar.gz"
sha512sums="30ad348e7f1423ce82dc0709e767d4ae384ad6e76f6444c8a12d97b1dc9c2b39e2c5bec43779bc35891942fa75f852cd26e8831dd6b5cfb9c72bc8512ca55923 XML-Writer-0.625.tar.gz"