summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshwin Vishnu2019-02-06 09:51:41 +0100
committerAshwin Vishnu2019-02-06 09:51:41 +0100
commitfecf5b53a404727014aef83a5955d43c7e4c0449 (patch)
treee64fe91b10a71d1f8f303493cad22985f7754cab
parentfbd5b9e2452cee4e2c07830b47caf9811515a6f3 (diff)
downloadaur-fecf5b53a404727014aef83a5955d43c7e4c0449.tar.gz
Install license, mv /usr/etc -> /etc
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17db1904f20..12bd5d3a03f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ipython-ipyparallel
pkgdesc = Interactive Parallel Computing in Python
pkgver = 6.2.3
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ipython/ipyparallel
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 5cc03c76923..1712e977739 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase=ipython-ipyparallel
pkgname=('ipython-ipyparallel' 'ipython2-ipyparallel')
pkgver=6.2.3
-pkgrel=2
+pkgrel=3
pkgdesc="Interactive Parallel Computing in Python"
url="https://github.com/ipython/ipyparallel"
arch=(any)
@@ -32,6 +32,10 @@ package_ipython-ipyparallel() {
cd "${srcdir}/ipyparallel-$pkgver"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ mv "$pkgdir/usr/etc" "$pkgdir/etc"
}
package_ipython2-ipyparallel() {
@@ -40,6 +44,10 @@ package_ipython2-ipyparallel() {
cd "${srcdir}/ipyparallel-$pkgver-py2"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ mv "$pkgdir/usr/etc" "$pkgdir/etc"
mv "${pkgdir}"/usr/bin/ipcluster "${pkgdir}"/usr/bin/ipcluster2
mv "${pkgdir}"/usr/bin/ipcontroller "${pkgdir}"/usr/bin/ipcontroller2
mv "${pkgdir}"/usr/bin/ipengine "${pkgdir}"/usr/bin/ipengine2