mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-26 15:02:12 +08:00
21 lines
728 B
Bash
21 lines
728 B
Bash
|
# Contributor: 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="https://pathlib.readthedocs.org/en/${pkgver}/"
|
||
|
license=('MIT')
|
||
|
depends=('python2')
|
||
|
makedepends=('python2-setuptools')
|
||
|
source=("https://files.pythonhosted.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"
|
||
|
}
|