summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..981339ebdcc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = aquamonitor
+ pkgdesc = Simple application to monitor conditions in the aquarium.
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://gitlab.com/auqamonitor/aquamonitor
+ arch = armv6h
+ arch = armv7h
+ license = GNU General Public License v3.0
+ depends = python>=3.7
+ source = aquamonitor-0.0.1.tar.gz::https://gitlab.com/aquamonitor/aquamonitor/-/archive/0.0.1/aquamonitor-0.0.1.tar.gz
+ md5sums = SKIP
+
+pkgname = aquamonitor
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1054064c57e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+#Maintainer: Konrad Partas <konparta at gmail dot com>
+
+pkgname=aquamonitor
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="Simple application to monitor conditions in the aquarium."
+arch=(
+ 'armv6h'
+ 'armv7h'
+)
+url="https://gitlab.com/auqamonitor/aquamonitor"
+license=('GNU General Public License v3.0')
+depends=(
+ 'python>=3.7'
+)
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://gitlab.com/aquamonitor/aquamonitor/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+)
+md5sums=(
+ "SKIP"
+)
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python setup.py install --root="$pkgdir/" --skip-build
+}