mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
798 B
Bash
33 lines
798 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Fabien Valthier (hcooh) <hcoohb ah gmail dog com>
|
|
|
|
# include global config
|
|
# source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=python-urlreader
|
|
_pkgname=urlreader
|
|
pkgver=0.0a0
|
|
_pkgver=437535c6bab7
|
|
pkgrel=1
|
|
pkgdesc="simple Python package to download documents using HTTP."
|
|
arch=('i686' 'x86_64')
|
|
url="http://hg.mtjm.eu/urlreader/tags"
|
|
license=('GPL3')
|
|
depends=('python2' 'python-distribute')
|
|
makedepends=('setuptools')
|
|
source=(http://hg.mtjm.eu/$_pkgname/archive/$_pkgver.tar.gz)
|
|
md5sums=('0a265bfc13ee66b13d78ce9df2cf2f20')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$_pkgver
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$_pkgver
|
|
|
|
export PYTHON="/usr/bin/python2"
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
}
|