summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/imdbpy/PKGBUILD
blob: 337c8a028d13a8e350615a5dc7d908ed8d98ee54 (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
# $Id: PKGBUILD 5794 2009-11-19 01:18:33Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: lang2 <wenzhi.liang@gmail.com>

pkgname=imdbpy
pkgver=4.5.1
pkgrel=1
pkgdesc="Python bindings for imdb"
url="http://imdbpy.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('python')
makedepends=('setuptools')
optdepends=('python-lxml' 'python-sqlalchemy' 'python-sqlobject')
source=(http://downloads.sourceforge.net/$pkgname/IMDbPY-$pkgver.tar.gz)

build(){
  cd "$srcdir/IMDbPY-$pkgver"
  python setup.py install --root="$pkgdir" || return 1

  # fix directories path
  mv ${pkgdir}/usr/etc ${pkgdir}
  install -d ${pkgdir}/usr/share
  mv ${pkgdir}/usr/imdb ${pkgdir}/usr/share
  mv ${pkgdir}/usr/doc ${pkgdir}/usr/share/imdb/
}

md5sums=('2bd76171aeacb609af5dd39ad7ac6144')