summaryrefslogtreecommitdiffstats
path: root/abs/extra/imdbpy/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-10 00:19:00 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-10 00:19:00 (GMT)
commit5ab2c2d585290fb77dfc8d3670361df2fdc11c62 (patch)
tree58fc24f3a355bff701d6e93ba8011e9d1764f7b9 /abs/extra/imdbpy/PKGBUILD
parent4592612b015ff899ef52f33d96b52b5c60587ebb (diff)
downloadlinhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.zip
linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.tar.gz
linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.tar.bz2
A whole lotta housekeeping
Diffstat (limited to 'abs/extra/imdbpy/PKGBUILD')
-rw-r--r--abs/extra/imdbpy/PKGBUILD37
1 files changed, 0 insertions, 37 deletions
diff --git a/abs/extra/imdbpy/PKGBUILD b/abs/extra/imdbpy/PKGBUILD
deleted file mode 100644
index 58e5264..0000000
--- a/abs/extra/imdbpy/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 27018 2010-09-16 17:37:18Z schuay $
-# Maintainer: Ray Rashif <schivmeister@gmail.com>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
-# Contributor: lang2 <wenzhi.liang@gmail.com>
-
-pkgname=imdbpy
-_realname=IMDbPY
-pkgver=4.6
-pkgrel=2
-pkgdesc="Python bindings for imdb"
-url="http://imdbpy.sourceforge.net/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('python2')
-makedepends=('setuptools')
-optdepends=('python-lxml' 'python-sqlalchemy' 'python-sqlobject')
-source=(http://downloads.sourceforge.net/$pkgname/$_realname-$pkgver.tar.gz)
-
-build(){
- cd "$srcdir/$_realname-$pkgver"
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py install --root="$pkgdir"
-
- # 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=('876d4cd041fa23633e3637c22bf95622')