2021-02-11 13:57:10 +01:00
|
|
|
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
2013-09-09 14:57:42 +02:00
|
|
|
_author=SREZIC
|
|
|
|
_perlmod=Kwalify
|
|
|
|
pkgname=perl-kwalify
|
2021-02-11 13:57:10 +01:00
|
|
|
pkgver=1.23
|
2013-09-09 14:57:42 +02:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Kwalify schema for data structures"
|
|
|
|
arch=('any')
|
|
|
|
url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
|
|
|
|
license=('GPL' 'PerlArtistic')
|
|
|
|
depends=('perl>=5.10.0')
|
|
|
|
options=(!emptydirs)
|
2021-11-15 11:14:50 +01:00
|
|
|
source=(https://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
2021-02-11 13:57:10 +01:00
|
|
|
md5sums=('32a9791b25295e2590c316c64fd9d891')
|
2013-09-09 14:57:42 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_perlmod-$pkgver"
|
|
|
|
|
|
|
|
# Install module in vendor directories.
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_perlmod-$pkgver"
|
|
|
|
make install DESTDIR="$pkgdir/"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|