1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
2 # Contributor: Pete Morris <pete dot morris at gmail>
7 pkgdesc='A simple blog compiler writte in Perl'
9 url='http://www.steve.org.uk/Software/chronicle/'
10 license=('GPL' 'PerlArtistic')
11 depends=('perl-timedate'
14 md5sums=('7cbb9bd0c6d775c0c500675615b649c9')
15 source=("$url/$pkgname-$pkgver.tar.gz")
18 cd "${srcdir}/${pkgname}-${pkgver}"
20 sed -i "s|^prefix=$|prefix=$pkgdir|" Makefile
21 sed -i 's|/usr/local/bin|/usr/bin|g' Makefile
23 make DESTDIR=$pkgdir install
25 install -Dm644 cgi-bin/comments.cgi \
26 ${pkgdir}/usr/share/${pkgname}/comments.cgi