updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / foswiki / PKGBUILD
blobc46e8fc3b8a525e81bf81d0f5419651ede782d59
1 # Maintainer: Edvinas Valatka <edacval@gmail.com>
2 # Contributor: Edvinas Valatka <edacval@gmail.com>
3 pkgname=foswiki
4 pkgver=1.1.2
5 pkgrel=1
6 pkgdesc="Free and open source wiki-based enterprise collaboration platform"
7 arch=('any')
8 url="http://$pkgname.org"
9 license=('GPL')
10 depends=('perl' 'cron' 'apache' 'rcs' 'diffutils' 'smtp-forwarder' 'perl-html-tree')
11 backup=(etc/httpd/conf/extra/httpd-$pkgname.conf)
12 options=(!strip emptydirs)
13 install=$pkgname.install
14 changelog=$pkgname.changelog
15 source=($pkgname-$pkgver.tgz::http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/Foswiki-$pkgver.tgz
16   $pkgname.install
17   $pkgname.changelog
18   httpd-$pkgname.conf)
19 md5sums=('239a2134e52b76c84230958315f90a3b'
20          '52b7413956af4ac15452d47349d9b3db'
21          '8b6c13e0d7577b33b1369fc2dd51a844'
22          'e8aeb68c905fc58b2fa8e8a3040143cf')
24 build() {
25   mv $srcdir/Foswiki-$pkgver $srcdir/$pkgname-$pkgver
26   install -Dm 644 httpd-$pkgname.conf $pkgdir/etc/httpd/conf/extra/httpd-$pkgname.conf
27   install -d $pkgdir/srv/http/htdocs
28   cp -a $srcdir/$pkgname-$pkgver  $pkgdir/srv/http/htdocs/$pkgname-$pkgver-$pkgrel
29   chmod 770  $pkgdir/srv/http/htdocs/$pkgname-$pkgver-$pkgrel
31 # vim:set ts=2 sw=2 et: