# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
# Contributor: Fabio Volpe <volpefabio@gmail.com>
# Contributor: Apkawa <apkawa@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aur�lien Desbri�res <aurelien@cwb.io>

pkgname=django-cms
pkgver=2.2
pkgrel=1
pkgdesc="CMS framework based on Django"
arch=('any')
url="http://www.django-cms.org/"
license=('BSD')
depends=('python2' 'django' 'python-south' 'python-imaging' 'django-mptt' 'python2-html5lib' 'django-classy-tags' 'django-sekizai')
source=(http://pypi.python.org/packages/source/d/$pkgname/$pkgname-$pkgver.tar.gz)

build() { 
  cd "$srcdir/$pkgname-$pkgver"
  python2 setup.py build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python2 setup.py install --root="$pkgdir/" --install-data=/usr/share/$pkgname --optimize=1
  #install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}