1 # Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
3 pkgname=perl-tk-codetext
7 pkgdesc="Tk-CodeText perl module (a TextUndo widget with syntax highlighting capabilities)"
9 url="http://search.cpan.org/~hanje/Tk-CodeText/"
10 license=("GPL" "Artistic")
11 depends=('perl>=5.10.0' 'perl-tk' 'perl-syntax-highlight-perl')
12 source=(http://search.cpan.org/CPAN/authors/id/H/HA/HANJE/${_realname}-${pkgver}.tar.gz)
13 md5sums=('321bda6595d122f22f4392dfce24d378')
17 cd ${startdir}/src/${_realname}-${pkgver}
18 # Install module into the vendor directories.
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make DESTDIR=${startdir}/pkg install
24 # Remove .packlist and perllocal.pod files.
25 find ${startdir}/pkg -name '.packlist' -delete
26 find ${startdir}/pkg -name 'perllocal.pod' -delete