archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-inline-filters / trunk / PKGBUILD
blob8ea6bc157b1acb2b62fc18a5dd97df782a211e9a
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-inline-filters
4 pkgver=0.20
5 pkgrel=5
6 pkgdesc="Common source code filters for Inline Modules"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Inline-Filters"
10 depends=('perl-inline' 'perl-inline-c')
11 checkdepends=('perl-test-pod')
12 options=('!emptydirs')
13 source=("https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Inline-Filters-$pkgver.tar.gz")
14 sha512sums=('d1f26682ab7a05bbc1951e87efe94c82b6420633f7f3ce7605e40a4272756a44998ec92c078c1b31dd9e25550c813d19e9829770ad16ae6774cdaf8a85eba620')
16 build() {
17   cd Inline-Filters-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd Inline-Filters-$pkgver
24   make test
27 package() {
28   cd Inline-Filters-$pkgver
29   make DESTDIR="$pkgdir" install