From 18a41d682d6e91e0d28fce23eb75292f477bd620 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Aug 2013 01:21:34 -0700 Subject: Sun Aug 11 01:21:31 PDT 2013 --- community/imdbpy/PKGBUILD | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 community/imdbpy/PKGBUILD (limited to 'community/imdbpy/PKGBUILD') diff --git a/community/imdbpy/PKGBUILD b/community/imdbpy/PKGBUILD deleted file mode 100644 index 2980e6df1..000000000 --- a/community/imdbpy/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# $Id: PKGBUILD 83597 2013-02-03 15:16:51Z schiv $ -# Maintainer: Ray Rashif -# Contributor: Andrea Scarpino -# Contributor: Geoffroy Carrier -# Contributor: lang2 - -pkgname=imdbpy -_realname=IMDbPY -pkgver=4.9 -pkgrel=1 -pkgdesc="Python bindings for the Internet Movie Database (IMDb)" -url="http://imdbpy.sourceforge.net/" -arch=('i686' 'x86_64') -license=('GPL') -depends=('python2') -makedepends=('python2-distribute') -optdepends=('python2-lxml' 'python2-sqlalchemy' 'python2-sqlobject') -source=(http://downloads.sourceforge.net/$pkgname/$_realname-$pkgver.tar.gz) -md5sums=('5b071cd63d1804ed568741d2db8d12b5') - -package(){ - 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" --optimize=1 - - # fix paths - # WTH is upstream doing? - # TODO: report upstream about this nasty - mv "$pkgdir/usr/etc" "$pkgdir" - mkdir -p "$pkgdir/usr/share/doc" - #mv "$pkgdir/usr/imdb" "$pkgdir/usr/share" - mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/imdb" -} -- cgit v1.2.3-54-g00ecf