summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlbert Astals Cid2018-01-30 00:20:08 +0100
committerAlbert Astals Cid2018-01-30 00:20:08 +0100
commit51dce9992bdaad9529681f896a9654226f460718 (patch)
tree4b90c3b708e81049051cab403291723a444a0ad0 /PKGBUILD
downloadaur-51dce9992bdaad9529681f896a9654226f460718.tar.gz
1.12.0rc1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2ddacb07071
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=charmtimetracker
+pkgver=1.12.0rc1
+pkgrel=1
+arch=(any)
+pkgdesc=""
+license=("GPL")
+depends=('qt5-base' 'qt5-script' 'qtkeychain')
+makedepends=('cmake')
+url="https://github.com/KDAB/Charm"
+source=("https://github.com/KDAB/Charm/archive/${pkgver}.tar.gz")
+sha256sums=('0d82acb0d39f0598a293cb0bd22063fd24b90d2c3152695771d2b5b6a1589dad')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake \
+ -DCharm_VERSION=${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTING=OFF \
+ ../Charm-${pkgver}
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}