Initial v20140910.002

This commit is contained in:
Anton Leontiev 2015-03-11 08:40:36 +03:00
commit 83db586e2c
4 changed files with 101 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = perl-business-isbn-data
pkgdesc = Data pack for Business::ISBN
pkgver = 20140910.002
pkgrel = 1
url = http://search.cpan.org/dist/Business-ISBN-Data
arch = any
license = PerlArtistic
license = GPL
depends = perl
options = !emptydirs
source = http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-Data-20140910.002.tar.gz
md5sums = 448104360420c530fbd88ad125a6be54
pkgname = perl-business-isbn-data

6
.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
*.tar.gz
*.tar.bz2
*.tar.xz
*.tar.lz
src/
pkg/

40
PKGBUILD Normal file
View file

@ -0,0 +1,40 @@
# CPAN Name : Business::ISBN::Data
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator : CPANPLUS::Dist::Arch 1.29
pkgname=perl-business-isbn-data
pkgver=20140910.002
pkgrel=1
pkgdesc='Data pack for Business::ISBN'
arch=('any')
url='http://search.cpan.org/dist/Business-ISBN-Data'
license=('PerlArtistic' 'GPL')
depends=('perl')
source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-Data-20140910.002.tar.gz)
options=(!emptydirs)
md5sums=('448104360420c530fbd88ad125a6be54')
sanitize() {
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
}
build() {
cd Business-ISBN-Data-20140910.002
sanitize
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Business-ISBN-Data-20140910.002
sanitize
make test
}
package() {
cd Business-ISBN-Data-20140910.002
sanitize
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}

40
PKGBUILD.tt Normal file
View file

@ -0,0 +1,40 @@
# CPAN Name : Business::ISBN::Data
# Contributor: [% packager %]
# Generator : CPANPLUS::Dist::Arch [% version %]
pkgname=[% pkgname %]
pkgver=[% pkgver %]
pkgrel=[% pkgrel %]
pkgdesc='Data pack for Business::ISBN'
arch=('any')
url='[% url %]'
license=('PerlArtistic' 'GPL')
depends=('perl')
source=([% source %])
options=(!emptydirs)
md5sums=('[% md5sums %]')
sanitize() {
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
}
build() {
cd [% distdir %]
sanitize
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd [% distdir %]
sanitize
make test
}
package() {
cd [% distdir %]
sanitize
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}