summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Heitzmann Gabrielli2016-11-18 11:46:55 -0200
committerLucas Heitzmann Gabrielli2016-11-18 11:46:55 -0200
commit15129ce877e7fe387755f396d1689a6120a9fd88 (patch)
treefd804f4bf70be59a3948a2cadf8640e69538588d
downloadaur-15129ce877e7fe387755f396d1689a6120a9fd88.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f2f9b97454c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-fiat-git
+ pkgdesc = Supports generation of arbitrary order instances of the Lagrange elements on lines, triangles, and tetrahedra.
+ pkgver = 20161105
+ pkgrel = 1
+ url = https://bitbucket.org/fenics-project/fiat
+ arch = any
+ groups = fenics-git
+ license = GPL3
+ makedepends = git
+ depends = python
+ options = !emptydirs
+ source = fiat::git+https://bitbucket.org/fenics-project/fiat.git#branch=master
+ md5sums = SKIP
+
+pkgname = python-fiat-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9fe27ebcf58
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Lucas H. Gabrielli <heitzmann@gmail.com>
+
+_base=fiat
+_fragment="#branch=master"
+pkgname=python-${_base}-git
+pkgdesc="Supports generation of arbitrary order instances of the Lagrange elements on lines, triangles, and tetrahedra."
+pkgver=20161105
+pkgrel=1
+arch=('any')
+url="https://bitbucket.org/fenics-project/${_base}"
+license=('GPL3')
+groups=('fenics-git')
+depends=('python')
+makedepends=('git')
+options=(!emptydirs)
+source=("${_base}::git+https://bitbucket.org/fenics-project/${_base}.git${_fragment}")
+md5sums=('SKIP')
+
+pkgver() {
+ cd ${_base}
+ git log --format="%cd" --date=short -1 | sed 's/-//g'
+}
+
+build() {
+ cd ${_base}
+ python setup.py build
+}
+
+package() {
+ cd ${_base}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+}
+
+# vim: shiftwidth=2 softtabstop=2 tabstop=2 noexpandtab