summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSerge Victor2015-09-07 19:53:51 +0700
committerSerge Victor2015-09-07 19:53:51 +0700
commitbc6302e3f1940dc8f33a1b651021db1b209a947f (patch)
treebfd37e3df606c7d873b49d80c86681fbce3885be /PKGBUILD
downloadaur-bc6302e3f1940dc8f33a1b651021db1b209a947f.tar.gz
Welcome to ARCH.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f6f5406594e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# First Linux Arch packager: Serge Victor <arch@random.re>
+
+_pipname=Flask-APScheduler
+pkgbase=python-flask-bootstrap
+pkgname=('python2-flask-apscheduler' 'python-flask-apscheduler')
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Adds APScheduler support to Flask"
+arch=('any')
+url="https://github.com/viniciuschiele/flask-apscheduler"
+license=('Apache')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+md5sums=('b619a21332536ecf6992c6323e7cddd9')
+
+
+prepare() {
+ cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-flask-apscheduler() {
+depends=('python2-flask' 'python2-visitor' 'python2-dominate')
+
+ cd python2-$_pipname-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python-flask-apscheduler() {
+depends=('python-flask' 'python-visitor' 'python-dominate')
+
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+