mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
886 B
Bash
28 lines
886 B
Bash
|
# Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
|
||
|
|
||
|
pkgname=perl-xml-sax-writer
|
||
|
_realname=XML-SAX-Writer
|
||
|
pkgver=0.52
|
||
|
pkgrel=1.1
|
||
|
pkgdesc="XML-SAX-Writer perl module (SAX2 writer)"
|
||
|
arch=("i686" "x86_64")
|
||
|
url="http://search.cpan.org/dist/XML-SAX-Writer/"
|
||
|
license=("Artistic")
|
||
|
depends=('perl' 'perl-text-iconv' 'perl-xml-filter-buffertext')
|
||
|
options=(!emptydirs)
|
||
|
source=(http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-$pkgver.tar.gz)
|
||
|
md5sums=('887c57d30e406607463f65febd62f1bc')
|
||
|
|
||
|
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
|
||
|
}
|