blob: aa4ea118d2267b335a1e86a7a035136bb3dc840d (
plain) (
blame)
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
32
33
34
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-patchreader
_pkgname=PatchReader
pkgver=0.9.6
pkgrel=0
pkgdesc="Read and manipulate patches from Perl"
url="https://metacpan.org/release/PatchReader"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TM/TMANNERM/PatchReader-$pkgver.tar.gz"
builddir="$srcdir/PatchReader-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="4ad51a193e9bb24a736e36723cca4e6394f9e54b489ba2e44887fdc034081ab9efdcabdf22ed1976f381e685bd90867098ae47ffb8966c2021d5c690cc4c70d5 PatchReader-0.9.6.tar.gz"
|