Add 'perl-kwalify/' from commit 'fb525369294a3534dfd3dddccbd2c65fae1dbb3f'
git-subtree-dir: perl-kwalify git-subtree-mainline:07f7a54e01
git-subtree-split:fb52536929
This commit is contained in:
commit
ba8591494e
2 changed files with 46 additions and 0 deletions
15
perl-kwalify/.SRCINFO
Normal file
15
perl-kwalify/.SRCINFO
Normal file
|
@ -0,0 +1,15 @@
|
|||
pkgbase = perl-kwalify
|
||||
pkgdesc = Kwalify schema for data structures
|
||||
pkgver = 1.22
|
||||
pkgrel = 1
|
||||
url = http://search.cpan.org/~SREZIC/Kwalify-1.22/
|
||||
arch = any
|
||||
license = GPL
|
||||
license = PerlArtistic
|
||||
depends = perl>=5.10.0
|
||||
options = !emptydirs
|
||||
source = http://cpan.perl.org/modules/by-authors/id/S/SR/SREZIC/Kwalify-1.22.tar.gz
|
||||
md5sums = 7a2e7ae407493e597108aa1dbfe0226b
|
||||
|
||||
pkgname = perl-kwalify
|
||||
|
31
perl-kwalify/PKGBUILD
Normal file
31
perl-kwalify/PKGBUILD
Normal 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:0:1}/${_author:0:2}/$_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:
|
Loading…
Reference in a new issue