diff options
author | Bet4 | 2020-08-05 19:31:47 +0800 |
---|---|---|
committer | Bet4 | 2020-08-05 19:31:47 +0800 |
commit | fcbf5e78e50014a0cc3a68779f233aa740ea046e (patch) | |
tree | caf5d3988bab9406eab0596dc47afba59f6108b9 /PKGBUILD | |
download | aur-python-unipath.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ef6b4523dc8f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Bet4 <bet4it@gmail.com> + +_pkgname=Unipath +pkgname=python-unipath +pkgver=1.1 +pkgrel=1 +pkgdesc="Object-oriented alternative to os/os.path/shutil" +arch=('any') +url="https://github.com/mikeorr/Unipath" +license=('MIT') +depends=('python') +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('09839adcc72e8a24d4f76d63656f30b5a1f721fc40c9bcd79d8c67bdd8b47dae') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root=$pkgdir --optimize=1 --skip-build +}
\ No newline at end of file |