mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
894 B
Bash
32 lines
894 B
Bash
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=perl-sgmls
|
|
pkgver=1.03ii
|
|
pkgrel=2
|
|
pkgdesc="A Post-Processor for SGMLS and NSGMLS"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/~DMEGG/SGMLSpm"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl')
|
|
options=('!emptydirs' 'docs' 'force')
|
|
source=(http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-$pkgver.tar.gz)
|
|
md5sums=('5bcb197fd42e67d51c739b1414d514a7')
|
|
|
|
build() {
|
|
cd $startdir/src/SGMLSpm
|
|
|
|
mkdir -p $pkgdir/usr/bin $pkgdir/usr/lib/perl5/vendor_perl $pkgdir/usr/share/doc/perl-sgmls
|
|
|
|
patch Makefile <<EOF
|
|
84a85
|
|
> find \${HTMLDIR} -type l -exec rm -f {} \;
|
|
EOF
|
|
|
|
make install install_html \
|
|
BINDIR=$pkgdir/usr/bin \
|
|
PERL5DIR=$pkgdir/usr/lib/perl5/vendor_perl \
|
|
HTMLDIR=$pkgdir/usr/share/doc/perl-sgmls || return 1
|
|
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|