summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss2021-01-08 17:23:54 +0100
committerLuca Weiss2021-01-08 17:23:54 +0100
commitfa4aec9a4bc458c4530870654c4b855e5c802959 (patch)
treede0c1ee741dc3fcb6ed66178d2049891b290d374
downloadaur-fa4aec9a4bc458c4530870654c4b855e5c802959.tar.gz
Initial upload: mygnuhealth-git r129.50459c5-1
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD31
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a31385ea553
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = mygnuhealth-git
+ pkgdesc = The GNU Health Personal Health Record (PHR)
+ pkgver = r129.50459c5
+ pkgrel = 1
+ url = https://invent.kde.org/pim/mygnuhealth
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python
+ depends = python-matplotlib
+ depends = python-requests
+ depends = python-tinydb
+ depends = python-bcrypt
+ provides = mygnuhealth
+ conflicts = mygnuhealth
+ source = git+https://invent.kde.org/pim/mygnuhealth.git
+ sha512sums = SKIP
+
+pkgname = mygnuhealth-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9afd5befc24
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
+
+pkgname=mygnuhealth-git
+_pkgname=mygnuhealth
+pkgver=r129.50459c5
+pkgrel=1
+pkgdesc="The GNU Health Personal Health Record (PHR)"
+arch=('any')
+url="https://invent.kde.org/pim/mygnuhealth"
+license=('GPL3')
+depends=('python' 'python-matplotlib' 'python-requests' 'python-tinydb' 'python-bcrypt')
+makedepends=('git' 'python-setuptools')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("git+https://invent.kde.org/pim/mygnuhealth.git")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$_pkgname"
+ python setup.py build
+}
+
+package() {
+ cd "$_pkgname"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}