mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
863 B
Bash
32 lines
863 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
|
|
pkgver=0.0a4
|
|
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=('458e99c99099448618348376d622ef10')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
export PYTHON="/usr/bin/python2"
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
}
|