updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / b2evolution / PKGBUILD
blob3ba99960b3a42049a66e122bd904fafd53749b9d
1 # Maintainer: Dogukan Korkmazturk <d.korkmazturk@gmail.com>
2 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
3 # Contributor: Tilman Blumenbach <tilman (at) ax86 (dot) net>
5 pkgname=b2evolution
6 pkgver=3.3.3
7 pkgrel=1
8 pkgdesc="A medium scale Content Management System centered around the blog concept"
9 arch=('any')
10 url="http://b2evolution.net/"
11 license=('GPL')
12 depends=('php' 'mysql')
13 backup=(srv/http/$pkgname/blogs/conf/_basic_config.php
14   srv/http/$pkgname/blogs/conf/_advanced.php)
15 source=(http://downloads.sourceforge.net/evocms/$pkgname-$pkgver-stable-2009-12-15.zip)
16 md5sums=('87bd0149e53ede8215decfd71eac0c1f')
17 sha1sums=('d494c31ed07c1074afb43927d69d70638daf521b')
19 build() {
20   cd "$srcdir"/$pkgname
21   install -m755 -d "$pkgdir"/srv/http/$pkgname
22   cp blogs/conf/_basic_config{.template,}.php
23   cp -r ./* "$pkgdir"/srv/http/$pkgname/
24   find "$pkgdir"/srv/http/$pkgname -type d -exec chmod 755 {} +
25   find "$pkgdir"/srv/http/$pkgname -type f -exec chmod 644 {} +