desktop/python-getmediumurl/PKGBUILD

33 lines
878 B
Bash
Raw Normal View History

#
# 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
pkgname=python-getmediumurl
_pkgname=GetMediumURL
_pkgname2=getmediumurl
2011-03-08 08:15:01 +08:00
pkgver=0.0a2
pkgrel=1
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')
build() {
cd $srcdir/$_pkgname-$pkgver
}
package() {
cd $srcdir/$_pkgname-$pkgver
export PYTHON="/usr/bin/python2"
python2 setup.py install --root=$pkgdir/ --optimize=1
}