summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormattydebie2021-07-09 15:15:34 +0200
committermattydebie2021-07-09 15:15:34 +0200
commitbbab9609acb2ce57cab9bb6089e7564367098a9a (patch)
treed75678ad2368b083abe3eae764cf1177c217b123 /PKGBUILD
downloadaur-kemai.tar.gz
initial commit - 0.5.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..204deac62aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Matthias De Bie <mattydebie@gmail.com>
+
+pkgname="kemai"
+pkgdesc="A QT5 client for kimai2"
+pkgver="0.5.0"
+pkgrel=1
+url="https://github.com/AlexandrePTJ/kemai"
+arch=('i686' 'x86_64')
+license=('MIT')
+source=("https://github.com/AlexandrePTJ/kemai/archive/refs/tags/${pkgver}.tar.gz")
+sha256sums=('c224f91e2e25ec9fd2bed18d5e5d63f988c36fb9f05b02992ffb4bb61b877f87')
+makedepends=("cmake")
+depends=("qt5-base")
+
+build() {
+ cd kemai-${pkgver}
+ cmake . -B build -DCMAKE_BUILD_TYPE=Release
+ cmake --build build --config Release
+}
+
+package() {
+ mkdir ${pkgdir}/usr/bin -p
+ mkdir ${pkgdir}/usr/share/applications -p
+ cp -f kemai-${pkgver}/build/src/app/Kemai ${pkgdir}/usr/bin/
+ cp -f kemai-${pkgver}/bundle/linux/kemai.desktop ${pkgdir}/usr/share/applications/
+}