first packaging of perl Kwalify module

This commit is contained in:
Cedric Girard 2013-09-09 14:57:42 +02:00
parent d9286a8597
commit d313b14f08

View file

@ -0,0 +1,31 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
_author=SREZIC
_perlmod=Kwalify
pkgname=perl-kwalify
pkgver=1.22
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)
source=(http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz)
md5sums=('7a2e7ae407493e597108aa1dbfe0226b')
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: