Initial v2.07

This commit is contained in:
Anton Leontiev 2014-06-10 21:15:45 +04:00
commit 5948c230e7
4 changed files with 87 additions and 0 deletions

17
.SRCINFO Normal file
View file

@ -0,0 +1,17 @@
pkgbase = perl-business-isbn
pkgdesc = Perl package to work with International Standard Book Numbers
pkgver = 2.07
pkgrel = 1
url = http://search.cpan.org/dist/Business-ISBN
arch = any
license = PerlArtistic
license = GPL
depends = perl
depends = perl-business-isbn-data>=20081208
depends = perl-uri
options = !emptydirs
source = http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-2.07.tar.gz
md5sums = c0049fb576b9fc3b2603bf7e9b3e91af
pkgname = perl-business-isbn

6
.gitignore vendored Normal file
View file

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

32
PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# CPAN Name : Business::ISBN
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator : CPANPLUS::Dist::Arch 1.28
pkgname=perl-business-isbn
pkgver=2.07
pkgrel=1
pkgdesc='Perl package to work with International Standard Book Numbers'
arch=('any')
url='http://search.cpan.org/dist/Business-ISBN'
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-business-isbn-data>=20081208' 'perl-uri')
source=(http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Business-ISBN-2.07.tar.gz)
options=(!emptydirs)
md5sums=('c0049fb576b9fc3b2603bf7e9b3e91af')
build() {
cd Business-ISBN-2.07
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd Business-ISBN-2.07
make test
}
package() {
cd Business-ISBN-2.07
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}

32
PKGBUILD.tt Normal file
View file

@ -0,0 +1,32 @@
# CPAN Name : Business::ISBN
# Contributor: [% packager %]
# Generator : CPANPLUS::Dist::Arch [% version %]
pkgname=[% pkgname %]
pkgver=[% pkgver %]
pkgrel=[% pkgrel %]
pkgdesc='Perl package to work with International Standard Book Numbers'
arch=('any')
url='[% url %]'
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-business-isbn-data>=20081208' 'perl-uri')
source=([% source %])
options=(!emptydirs)
md5sums=('[% md5sums %]')
build() {
cd [% distdir %]
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd [% distdir %]
make test
}
package() {
cd [% distdir %]
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}