mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
25 lines
814 B
Bash
25 lines
814 B
Bash
# Maintainer: Manuel 'UtG' <utg[dot]chakra.linux[at]gmail[dot]com>
|
|
|
|
pkgname=python2-getmediumurl
|
|
_pkgname=GetMediumURL
|
|
pkgver=0.0a5
|
|
pkgrel=2
|
|
pkgdesc="Python module to get URLs of downloadable media and their metadata"
|
|
arch=('x86_64')
|
|
url="http://savannah.nongnu.org/projects/getmediumurl/"
|
|
license=('GPL3')
|
|
depends=('python2-lxml' 'python2-simplejson' 'python2-urlreader')
|
|
makedepends=('python2-setuptools')
|
|
conflicts=('python-getmediumurl')
|
|
replaces=('python-getmediumurl')
|
|
provides=('python-getmediumurl' 'python2-getmediumurl' 'getmediumurl')
|
|
source=(http://pypi.python.org/packages/source/G/$_pkgname/$_pkgname-$pkgver.tar.gz)
|
|
md5sums=('0d3660e178bd58549d7a5718f8e39de2')
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
export PYTHON="/usr/bin/python2"
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
}
|