mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
923 B
Bash
28 lines
923 B
Bash
|
# 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
|
||
|
}
|