1 # Maintainer: Daniel Milde <info@milde.cz>
6 pkgdesc="wiki/blog compiler"
9 url="http://ikiwiki.info"
10 depends=(perl-yaml perl-text-markdown perl-cgi-session perl-cgi-formbuilder perl-timedate perl-html-parser perl-html-scrubber perl-mail-sendmail perl-time-duration perl-uri perl-html-template perl-locale-gettext perl-rpc-xml)
11 source=("http://ftp.debian.org/debian/pool/main/i/${pkgname}/${pkgname}_${pkgver}.tar.gz")
12 md5sums=('d97b3e33492cadf8ca426d3a7b7fd5af')
15 cd ${startdir}/src/${pkgname}
17 # Install module into the vendor directories
18 perl Makefile.PL PREFIX="/usr" INSTALLDIRS=vendor
19 make PREFIX="/usr" || return 1
20 make install DESTDIR=${startdir}/pkg || return 1
22 # otherwise perl breaks
23 find $startdir/pkg -name '.packlist' -exec rm '{}' \;
24 find $startdir/pkg -name '*.pod' -exec rm '{}' \;
26 #RST plugin docutils hack
27 sed -i 's/env python/python2/' ${startdir}/pkg/usr/lib/ikiwiki/plugins/rst