blob: ccf4d6bf4a864254f24b09f772ebf7d4709284e0 (
plain)
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
31
32
33
34
35
36
37
38
|
# Maintainer: Michael Lass <bevan@bi-co.net>
# Contributor: Ryan Gonzalez <rymg19@gmail.com>
# Contributor: Tom Zander
# Contributor: Christoph Vigano <mail@cvigano.de>
# This PKGBUILD is maintained on github:
# https://github.com/michaellass/AUR
pkgname=ikiwiki
pkgver=3.20200202.4
pkgrel=1
pkgdesc='Wiki compiler'
arch=(any)
license=(GPL-2.0-or-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=("http://deb.debian.org/debian/pool/main/i/${pkgname}/${pkgname}_${pkgver}.orig.tar.xz")
backup=('etc/ikiwiki/wikilist')
sha256sums=('be61813068b6c5f5b77f2b346e41efac59d9f0574b6a361154851f735412fe8f')
build() {
cd "$pkgname-$pkgver"
# 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() {
cd "$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
# otherwise perl breaks
find "$pkgdir" -name '.packlist' -or -name '*.pod' -exec rm '{}' +
}
|