archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-ppix-regexp / trunk / PKGBUILD
blobc59d712d41df38beefdbd34936989caac9e95c45
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-ppix-regexp
4 pkgver=0.088
5 pkgrel=1
6 pkgdesc="Parse regular expressions"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/PPIx-Regexp"
10 depends=('perl-list-moreutils' 'perl-ppi' 'perl-task-weaken')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-$pkgver.tar.gz")
13 sha512sums=('a787c34c936f4b26f50a7dabd5212b2d7d4ba34e16753e740768bd354072cb6e45ebfe880658d2c9e3799ee6e99c7f2b208f128d76421750f38bd63abe2bba3c')
15 build() {
16   cd PPIx-Regexp-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd PPIx-Regexp-$pkgver
23   make test
26 package() {
27   cd PPIx-Regexp-$pkgver
28   make DESTDIR="$pkgdir" install