PKGBUILDs/community/perl-xml-filter-buffertext/PKGBUILD

28 lines
923 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
pkgname=perl-xml-filter-buffertext
_realname=XML-Filter-BufferText
pkgver=1.01
pkgrel=3
pkgdesc="XML-Filter-BufferText perl module (filter to put all characters() in one event)"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/XML-Filter-BufferText/"
license=("GPL" "Artistic")
depends=('perl>=5.10.0' 'perl-xml-sax')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/R/RB/RBERJON/${_realname}-$pkgver.tar.gz)
md5sums=('2992c0387632583b966ab9c965b25512')
build() {
cd ${startdir}/src/${_realname}-${pkgver}
# Install module into the vendor directories.
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make test || return 1
make DESTDIR=${startdir}/pkg install
# Remove .packlist and perllocal.pod files.
find ${startdir}/pkg -name '.packlist' -delete
find ${startdir}/pkg -name 'perllocal.pod' -delete
}