summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2193c078ec8935e6f57299ad3656ac7fea92fcdd (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
# Maintainer: Roolspub <roolspub@laposte.net>
pkgname=imdbpy-git
pkgrel=1
pkgver=5.0.22.gc4137d9
pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
arch=('any')
url="http://imdbpy.sourceforge.net/"
license=('GPL')
depends=('python2')
provides=('imdbpy')
replaces=('imdbpy')
options=(!emptydirs)
source=('imdbpy::git+https://github.com/alberanid/imdbpy.git')
md5sums=('SKIP')

pkgver() {
    cd "imdbpy"
    git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "$srcdir/imdbpy"
  python2 setup.py install --root="$pkgdir/" --optimize=1
}