Date: Monday, January 23, 2017 @ 14:39:48
  Author: demize
Revision: 208562

upgpkg: python-matrix-angular-sdk 0.6.8-1

Added:
  python-matrix-angular-sdk/trunk/
  python-matrix-angular-sdk/trunk/PKGBUILD

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD                              (rev 0)
+++ trunk/PKGBUILD      2017-01-23 14:39:48 UTC (rev 208562)
@@ -0,0 +1,47 @@
+# Maintainer: Johannes Löthberg <johan...@kyriasis.com>
+# Contributor: Ivan Shapovalov <inte...@intelfx.name>
+
+pkgbase=python-matrix-angular-sdk
+pkgname=(python-matrix-angular-sdk python2-matrix-angular-sdk)
+pkgver=0.6.8
+pkgrel=1
+
+pkgdesc="AngularJS services for implementing the Client-Server API on Matrix"
+url="https://github.com/matrix-org/matrix-angular-sdk";
+arch=('any')
+license=('Apache')
+
+makedepends=('python'
+             'python-setuptools'
+             'python2'
+             'python2-setuptools')
+
+source=("python-matrix-angular-sdk-$pkgver.tar.gz::https://github.com/matrix-org/matrix-angular-sdk/archive/v$pkgver.tar.gz";)
+
+md5sums=('9cf2dd16d1fd34dc24c64a7efcdb2efd')
+
+prepare() {
+       cp -a matrix-angular-sdk-$pkgver{,-python2}
+}
+
+build() {
+       cd matrix-angular-sdk-$pkgver
+       python setup.py build 
+
+       cd "$srcdir"/matrix-angular-sdk-$pkgver
+       python2 setup.py build 
+}
+
+package_python-matrix-angular-sdk() {
+       depends=('python')
+
+       cd matrix-angular-sdk-$pkgver
+       python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-matrix-angular-sdk() {
+       depends=('python2')
+
+       cd matrix-angular-sdk-$pkgver-python2
+       python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
+}


Property changes on: python-matrix-angular-sdk/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to