blob: 954dfb495f01c1161a2c6678be96e22c15e4ed73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: vae77 <fernandogrd@yahoo.com.br>
pkgname=python2-pathlib
pkgver=1.0.1
pkgrel=3
pkgdesc="This module offers a set of classes featuring all the common operations on paths in an easy, object-oriented way"
arch=('any')
url="http://pathlib.readthedocs.org/en/${pkgver}/"
license=('MIT')
depends=('python2')
makedepends=('python2-setuptools')
source=("http://pypi.python.org/packages/source/p/pathlib/pathlib-${pkgver}.tar.gz")
md5sums=('5099ed48be9b1ee29b31c82819240537')
package() {
cd "$srcdir/pathlib-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
|