summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-29 22:38:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-29 22:38:12 (GMT)
commit4b4d193e95d0d0bb705591c44bbedbaa0c72d080 (patch)
tree66ff4702d8b0d1ef218652b2055b6e1d8efef2ed /abs/core
parent5f4ba4662bb83a5dcde4823147e33a1418f1b3fa (diff)
downloadlinhes_pkgbuild-4b4d193e95d0d0bb705591c44bbedbaa0c72d080.zip
linhes_pkgbuild-4b4d193e95d0d0bb705591c44bbedbaa0c72d080.tar.gz
linhes_pkgbuild-4b4d193e95d0d0bb705591c44bbedbaa0c72d080.tar.bz2
libxml-perl: update to 0.08-6
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/libxml-perl/PKGBUILD35
1 files changed, 20 insertions, 15 deletions
diff --git a/abs/core/perl_modules/libxml-perl/PKGBUILD b/abs/core/perl_modules/libxml-perl/PKGBUILD
index 474d3eb..055b08c 100644
--- a/abs/core/perl_modules/libxml-perl/PKGBUILD
+++ b/abs/core/perl_modules/libxml-perl/PKGBUILD
@@ -1,29 +1,34 @@
-# $Id: PKGBUILD 55561 2011-09-14 10:11:00Z andrea $
-# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
-# Contributor: François Charette <firmicus ατ gmx δοτ net>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Contributor: Chris Brannon <cmbrannon79@gmail.com>
+# Contributor: François Charette <firmicus@gmx.net>
pkgname=libxml-perl
pkgver=0.08
-pkgrel=3
+pkgrel=6
pkgdesc="Perl library for working with XML"
arch=('any')
-url="http://search.cpan.org/~KMACLEOD/libxml-perl"
+url="http://search.cpan.org/~KMACLEOD/$pkgname"
license=('GPL' 'PerlArtistic')
-depends=('perlxml>=2.19')
+depends=('perl-xml-parser')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-$pkgver.tar.gz)
-md5sums=('0ed5fbdda53d1301ddaed88db10503bb')
+source=("http://www.cpan.org/authors/id/K/KM/KMACLEOD/$pkgname-$pkgver.tar.gz")
+sha512sums=('66c1874a04b746334d4324ab37ee057c6da7fa7191dffae2900e0832dab3b2ededc5cbdc5e838c0d57c22161c9cf196ab40b62f61338d4c994bda9fa7b1a7702')
build() {
- cd "${srcdir}"/$pkgname-$pkgver
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd $pkgname-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1
make
}
-package() {
- cd "${srcdir}"/$pkgname-$pkgver
- make DESTDIR="${pkgdir}" install
+check() {
+ cd $pkgname-$pkgver
+ make test
+}
- find "${pkgdir}" -name '.packlist' -delete
- find "${pkgdir}" -name '*.pod' -delete
+package() {
+ make -C $pkgname-$pkgver/ DESTDIR="$pkgdir" install
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}