mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
29 lines
778 B
Bash
29 lines
778 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
pkgname=python-getmediumurl
|
|
_pkgname=GetMediumURL
|
|
pkgver=0.0a5
|
|
pkgrel=1
|
|
pkgdesc="Python module to get URLs of downloadable media and their metadata."
|
|
arch=('i686' 'x86_64')
|
|
url="http://pypi.python.org/pypi/GetMediumURL"
|
|
license=('GPL3')
|
|
depends=('python-lxml' 'python-simplejson' 'python-urlreader')
|
|
makedepends=('setuptools')
|
|
source=(http://pypi.python.org/packages/source/G/$_pkgname/$_pkgname-$pkgver.tar.gz)
|
|
md5sums=('0d3660e178bd58549d7a5718f8e39de2')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
export PYTHON="/usr/bin/python2"
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
}
|