diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-26 03:25:35 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-26 03:25:35 +0000 |
commit | 76b667b6360f6f7e97f13392cf156f197dc4017b (patch) | |
tree | 3299ec5921d2da42ec5563b4ced54e65aa2c058b /community/imdbpy | |
parent | 7d53ccd018d0e86e7aa3a0c0b1a092ce8b206041 (diff) |
Thu Jun 26 03:22:36 UTC 2014
Diffstat (limited to 'community/imdbpy')
-rw-r--r-- | community/imdbpy/PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/imdbpy/PKGBUILD b/community/imdbpy/PKGBUILD index 2980e6df1..1c8a29195 100644 --- a/community/imdbpy/PKGBUILD +++ b/community/imdbpy/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 83597 2013-02-03 15:16:51Z schiv $ +# $Id: PKGBUILD 113558 2014-06-25 16:26:30Z schiv $ # Maintainer: Ray Rashif <schiv@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr> @@ -6,7 +6,7 @@ pkgname=imdbpy _realname=IMDbPY -pkgver=4.9 +pkgver=5.0 pkgrel=1 pkgdesc="Python bindings for the Internet Movie Database (IMDb)" url="http://imdbpy.sourceforge.net/" @@ -16,9 +16,9 @@ depends=('python2') makedepends=('python2-distribute') optdepends=('python2-lxml' 'python2-sqlalchemy' 'python2-sqlobject') source=(http://downloads.sourceforge.net/$pkgname/$_realname-$pkgver.tar.gz) -md5sums=('5b071cd63d1804ed568741d2db8d12b5') +md5sums=('f0b87950a943762db9e45c1a7c3a5cce') -package(){ +prepare() { cd "$srcdir/$_realname-$pkgver" # python2 fix @@ -26,6 +26,10 @@ package(){ sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done +} + +package() { + cd "$srcdir/$_realname-$pkgver" python2 setup.py install --root="$pkgdir" --optimize=1 @@ -37,3 +41,5 @@ package(){ #mv "$pkgdir/usr/imdb" "$pkgdir/usr/share" mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/imdb" } + +# vim:set ts=2 sw=2 et: |