diff options
Diffstat (limited to 'pcr/perl-text-bibtex/PKGBUILD')
-rw-r--r-- | pcr/perl-text-bibtex/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr/perl-text-bibtex/PKGBUILD b/pcr/perl-text-bibtex/PKGBUILD new file mode 100644 index 000000000..dbbf00655 --- /dev/null +++ b/pcr/perl-text-bibtex/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=perl-text-bibtex +_cpanname=Text-BibTeX +pkgver=0.70 +pkgrel=2 +pkgdesc="Parse BibTeX files" +arch=('any') +url="http://search.cpan.org/dist/${_cpanname}" +license=('GPL1') +depends=('perl') +makedepends=('perl-config-autoconf>=0.16' 'perl-extutils-libbuilder' \ + 'perl-capture-tiny' ) +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz) +source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz + perl-text-bibtex.patch) + +prepare() { + cd $srcdir/${_cpanname}-${pkgver} + patch -p0 -i "$srcdir/$pkgname.patch" +} + +build() { + cd $srcdir/${_cpanname}-${pkgver} + perl Build.PL installdirs=vendor destdir=$pkgdir + perl Build + perl Build test +} + +package() { + cd $srcdir/${_cpanname}-${pkgver} + perl Build install + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} + +md5sums=('2dfdccab7c747d1805df432f4935ce66' + '92be523571d1a6daea9c0940b3fce008') |