summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAntony Lee2016-02-04 22:36:33 -0800
committerAntony Lee2016-02-04 22:36:33 -0800
commit73ac5fc27277f35d05d52cecfc6371ddcb749eb0 (patch)
tree2c1313a36c275b4fe7366e5103726e2d3e482529 /PKGBUILD
downloadaur-73ac5fc27277f35d05d52cecfc6371ddcb749eb0.tar.gz
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..73c525df1ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Antony Lee <anntzer dot lee at gmail dot com>
+
+_pyname=colorspacious
+pkgname=python-$_pyname
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='A powerful, accurate, and easy-to-use Python library for doing colorspace conversions'
+url='http://colorspacious.readthedocs.org/en/latest/'
+depends=('python-numpy')
+license=('MIT')
+arch=('any')
+source=("https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.zip"
+ 'LICENSE')
+md5sums=('437218f372a0a832a70299cc6397feb1'
+ '032f6276b1a63e4062c163daae656d61')
+
+build() {
+ cd $srcdir/$_pyname-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$_pyname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}