2011-01-03 11:44:00 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
|
|
|
|
# include global config
|
2011-03-08 08:15:01 +08:00
|
|
|
# source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
2011-01-03 11:44:00 +08:00
|
|
|
|
|
|
|
pkgname=python-getmediumurl
|
|
|
|
_pkgname=GetMediumURL
|
|
|
|
_pkgname2=getmediumurl
|
2011-03-08 08:15:01 +08:00
|
|
|
pkgver=0.0a2
|
|
|
|
pkgrel=1
|
2011-01-03 11:44:00 +08:00
|
|
|
pkgdesc="Python module to get URLs of downloadable media and their metadata."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://savannah.nongnu.org/projects/getmediumurl/"
|
|
|
|
license=('GPL3')
|
|
|
|
depends=('python-lxml' 'python-simplejson')
|
|
|
|
makedepends=('setuptools')
|
|
|
|
source=(http://download.savannah.gnu.org/releases/$_pkgname2/$_pkgname-$pkgver.tar.gz)
|
2011-03-08 08:15:01 +08:00
|
|
|
md5sums=('2ae4cf649d896ec4b2e41b95c9b5b0e8')
|
2011-01-03 11:44:00 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
|
|
|
|
export PYTHON="/usr/bin/python2"
|
|
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
|
|
}
|