blob: 0d265876ba17768ec4fc20440f803f59310e44bc (
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
35
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-object-pad
_pkgreal=Object-Pad
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.73
pkgrel=0
pkgdesc="Simple syntax for lexical field-based objects"
url="https://metacpan.org/pod/Object::Pad"
arch="all"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test-fatal perl-test-refcount"
makedepends="perl-dev perl-module-build perl-xs-parse-keyword perl-xs-parse-sublike"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
./Build
}
check() {
./Build test
}
package() {
./Build install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="2d2b1d7c6a1d65199549b9c61876613e2c712444e15da16ff4c9f6dce3f9d18ec512b3c3be6aa01b81d725f3ebbd6ffbf5ecfb439d6a919f061c0acc77963675 Object-Pad-0.73.tar.gz"
|