summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c161fc05eb7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = upsm
+ pkgdesc = Qt-based ups monitor (front-end for upsc from Network UPS Tools).
+ pkgver = 2.2.0
+ pkgrel = 1
+ url = https://github.com/psemiletov/upsm
+ arch = x86_64
+ license = GPL
+ depends = qt5-base
+ depends = gcc-libs
+ source = https://github.com/psemiletov/upsm/archive/2.2.0.tar.gz
+ md5sums = 9b367d9eb3816e819eea7d633c410e72
+
+pkgname = upsm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..81c0270622e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Peter Semiletov peter.semiletov at gmail dot com
+# Packager: Peter Semiletov
+
+pkgname=upsm
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Qt-based ups monitor (front-end for upsc from Network UPS Tools)."
+arch=('x86_64')
+url="https://github.com/psemiletov/upsm"
+license=('GPL')
+depends=('qt5-base' 'gcc-libs')
+
+source=(https://github.com/psemiletov/upsm/archive/$pkgver.tar.gz)
+
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+}
+
+md5sums=(9b367d9eb3816e819eea7d633c410e72)