47 lines
1.2 KiB
Text
47 lines
1.2 KiB
Text
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
|
||
|
pkgname=ikiwiki
|
||
|
pkgver=3.20200202.3
|
||
|
pkgrel=0
|
||
|
pkgdesc="Ikiwiki is a wiki compiler. It converts wiki pages into HTML pages suitable for publishing on a website."
|
||
|
arch="noarch"
|
||
|
license="GPL-2.0-later"
|
||
|
url="https://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="https://git.joeyh.name/index.cgi/ikiwiki.git/snapshot/ikiwiki-$pkgver.tar.gz"
|
||
|
subpackages="$pkgname-doc"
|
||
|
|
||
|
build() {
|
||
|
# Install module into the vendor directories
|
||
|
sed -i -e 's/sbin/bin/g' Makefile.PL
|
||
|
|
||
|
perl Makefile.PL PREFIX="/usr" INSTALL_BASE= INSTALLDIRS=vendor
|
||
|
make PREFIX="/usr"
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
make install DESTDIR="$pkgdir"
|
||
|
|
||
|
# otherwise perl breaks
|
||
|
find "$pkgdir" \( -name '.packlist' -or -name '*.pod' \) -exec rm '{}' +
|
||
|
}
|
||
|
sha512sums="
|
||
|
2d78b98f0f24823e29566b6abc20e09abee45da684adff4dcb708ae3c127adea08cb56c68429b94613b36410bc88a3ce27f718e82f4344a533307d3846f64572 ikiwiki-3.20200202.3.tar.gz
|
||
|
"
|