updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / perl-extutils-xspp / PKGBUILD
blob8029df7e34d3d6c6e26a97cc00d410e498f14abd
1 # vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
2 # Contributor: DarkHeart luke<at>archlinux.us
3 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
6 _author=M/MB/MBARBON
7 _perlmod=ExtUtils-XSpp
8 pkgname=perl-extutils-xspp
9 pkgver=0.1602
10 pkgrel=1
11 pkgdesc='ExtUtils::XSpp - XS for C++'
12 arch=('any')
13 url="http://search.cpan.org/~mbarbon/ExtUtils-XSpp/"
14 license=('GPL' 'PerlArtistic')
15 groups=()
16 depends=('perl>=5.10.0')
17 makedepends=(perl-test-base perl-test-differences)
18 optdepends=()
19 provides=(
20   perl-extutils-xspp-cmd
21   perl-extutils-xspp-driver
22   perl-extutils-xspp-exception
23   perl-extutils-xspp-exception-code
24   perl-extutils-xspp-exception-object
25   perl-extutils-xspp-exception-perlcode
26   perl-extutils-xspp-exception-simple
27   perl-extutils-xspp-exception-stdmessage
28   perl-extutils-xspp-exception-unknown
29   perl-extutils-xspp-grammar
30   perl-extutils-xspp-grammar-yappdriver
31   perl-extutils-xspp-lexer
32   perl-extutils-xspp-node
33   perl-extutils-xspp-node-access
34   perl-extutils-xspp-node-argument
35   perl-extutils-xspp-node-class
36   perl-extutils-xspp-node-comment
37   perl-extutils-xspp-node-constructor
38   perl-extutils-xspp-node-destructor
39   perl-extutils-xspp-node-enum
40   perl-extutils-xspp-node-enumvalue
41   perl-extutils-xspp-node-file
42   perl-extutils-xspp-node-function
43   perl-extutils-xspp-node-method
44   perl-extutils-xspp-node-module
45   perl-extutils-xspp-node-package
46   perl-extutils-xspp-node-percany
47   perl-extutils-xspp-node-preprocessor
48   perl-extutils-xspp-node-raw
49   perl-extutils-xspp-node-type
50   perl-extutils-xspp-parser
51   perl-extutils-xspp-typemap
52   perl-extutils-xspp-typemap-parsed
53   perl-extutils-xspp-typemap-reference
54   perl-extutils-xspp-typemap-simple
56 conflicts=()
57 replaces=()
58 backup=()
59 options=(!emptydirs)
60 install=
61 source=("http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz")
62 noextract=()
64 build(){
65   cd "$srcdir/$_perlmod-$pkgver"
66   perl Build.PL installdirs=vendor destdir="$pkgdir/"
67   perl Build
69 package(){
70   cd "$srcdir/$_perlmod-$pkgver"
71   perl Build install
72   # remove perllocal.pod and .packlist
73   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
76 md5sums=('449c8c6d1c2fdd8fd06eb671f94faf4d')