desktop/python-getmediumurl/PKGBUILD

33 lines
876 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=python-getmediumurl
_pkgname=GetMediumURL
_pkgname2=getmediumurl
pkgver=0.0a1
pkgrel=2
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)
md5sums=('bd49e7f331ef4e6b459ada5c1aedf399')
build() {
cd $srcdir/$_pkgname-$pkgver
}
package() {
cd $srcdir/$_pkgname-$pkgver
export PYTHON="/usr/bin/python2"
python2 setup.py install --root=$pkgdir/ --optimize=1
}