updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-wx-scintilla / PKGBUILD
bloba23a454cdfa74032b8e76e0499e304578e4b8c52
1 # vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
2 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
3 # Created: 15/12/2011
5 # https://wiki.archlinux.org/index.php/Perl_Package_Guidelines
7 _author=A/AZ/AZAWAWI
8 _perlmod=Wx-Scintilla
9 pkgname=perl-wx-scintilla
10 pkgver=0.36
11 pkgrel=1
12 pkgdesc='Wx::Scintilla - Scintilla source code editing component for wxWidgets '
13 arch=('i686' 'x86_64')
14 url="http://search.cpan.org/~azawawi/Wx-Scintilla/"
15 license=('GPL' 'PerlArtistic')
16 groups=()
17 depends=(
18   perl
19   wxgtk
21 makedepends=(
22   perl-alien-wxwidgets
23   'perl-extutils-xspp>=0.1602'
24   perl-test-simple
25   perl-wx
27 optdepends=()
28 provides=(
29   perl-wx-scintilla-constant
30   perl-wx-scintilla-textctrl
31   perl-wx-scintilla-textevent
32   perl-wx-scintillatextctrl
33   perl-wx-scintillatextevent
35 conflicts=()
36 replaces=()
37 backup=()
38 options=(!emptydirs)
39 install=
40 source=("http://cpan.perl.org/modules/by-authors/id/$_author/$_perlmod-$pkgver.tar.gz")
41 noextract=()
43 build(){
44   cd "$srcdir/$_perlmod-$pkgver"
45   perl Build.PL installdirs=vendor destdir="$pkgdir/"
46   perl Build
48 check(){
49   cd "$srcdir/$_perlmod-$pkgver"
50   perl Build test
52 package(){
53   cd "$srcdir/$_perlmod-$pkgver"
54   perl Build install
55   # remove perllocal.pod and .packlist
56   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
59 md5sums=('388d31f364de7896e4f744a2ad70c287')