diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-29 23:05:14 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-29 23:05:14 +0100 |
commit | bdc793348b6e7b14eecfdea2943eba51fa249ac9 (patch) | |
tree | e4f77ed0ce8c4635280d8657e054ff87bb2e251c /~mtjm/python-getmediumurl | |
parent | b45f6a1942c82288fec2fc4437be754911abc258 (diff) | |
download | abslibre-bdc793348b6e7b14eecfdea2943eba51fa249ac9.tar.gz abslibre-bdc793348b6e7b14eecfdea2943eba51fa249ac9.tar.bz2 abslibre-bdc793348b6e7b14eecfdea2943eba51fa249ac9.zip |
~mtjm/python-getmediumurl
Diffstat (limited to '~mtjm/python-getmediumurl')
-rw-r--r-- | ~mtjm/python-getmediumurl/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/~mtjm/python-getmediumurl/PKGBUILD b/~mtjm/python-getmediumurl/PKGBUILD new file mode 100644 index 000000000..bacc1c0f1 --- /dev/null +++ b/~mtjm/python-getmediumurl/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Michał Masłowski <mtjm@mtjm.eu> + +_pkgname=GetMediumURL +pkgname=python-getmediumurl +pkgver=0.0a5 +pkgrel=1 +pkgdesc="A package for getting URLs of media files from some websites" +arch=("any") +url="http://savannah.nongnu.org/projects/getmediumurl/" +license=('AGPL') +depends=('python' 'python3-lxml' 'python-urlreader' 'python-distribute') +checkdepends=('python2') # due to my laziness +options=(!emptydirs) +source=("http://download.savannah.gnu.org/releases/getmediumurl/${_pkgname}-${pkgver}.tar.gz") +md5sums=("0d3660e178bd58549d7a5718f8e39de2") + +check() { + cd "$srcdir/$_pkgname-$pkgver" + LANG=en_US.UTF-8 python setup.py test +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + LANG=en_US.UTF-8 python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: |