summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-regexp/PKGBUILD
blob: e94119f4436e240ce0222c108ee7c32fe6c869a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-xml-regexp
pkgver=0.04
pkgrel=3
pkgdesc="Regular expressions for XML tokens"
arch=('any')
url="http://search.cpan.org/dist/XML-RegExp"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("https://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-${pkgver}.tar.gz")
sha256sums=('df1990096036085c8e2d45904fe180f82bfed40f1a7e05243f334ea10090fc54')

build() {
  cd  XML-RegExp-${pkgver}

  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 

  make
}

package() {
  cd  XML-RegExp-${pkgver}

  make install DESTDIR="$pkgdir"

  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}