blob: aa3426051bbc7f5e19439c2402380839b8f464b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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.71
pkgrel=1
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' 'perl-module-build')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AM/AMBS/${_cpanname}-${pkgver}.tar.gz
perl-text-bibtex.patch)
prepare() {
cd $srcdir/${_cpanname}-${pkgver}
patch -Np1 -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=('a616d5df23dc0552a85608bd15bf03d1'
'70f386b7ae62c32551db9d24222cedf1')
|