public
anonymous / PKGBUILD
Created

Ikiwiki PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
pkgname=ikiwiki
pkgver=3.20120516
pkgrel=1
pkgdesc="wiki/blog compiler"
arch=(any)
license=('GPL')
url="http://ikiwiki.info"
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 perl-yaml-libyaml)
source=("http://ftp.de.debian.org/debian/pool/main/i/${pkgname}/${pkgname}_${pkgver}.tar.gz")
md5sums=('822547f8861a3080fafc46a0c7a641f3')
 
build() {
cd "$srcdir/$pkgname"
 
# Install module into the vendor directories
perl Makefile.PL PREFIX="/usr" INSTALLDIRS=vendor
make PREFIX="/usr"
}
 
package() {
cd "$srcdir/$pkgname"
 
make install DESTDIR="$pkgdir"
 
# otherwise perl breaks
find "$pkgdir" -name '.packlist' -or -name '*.pod' -exec rm '{}' +
 
#RST plugin docutils hack
sed -i 's/env python/python2/' "$pkgdir"/usr/lib/ikiwiki/plugins/rst
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.