summarylogtreecommitdiffstats
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
downloadaur-51dce9992bdaad9529681f896a9654226f460718.tar.gz
1.12.0rc1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..adc133ac5da
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = charmtimetracker
+ pkgver = 1.12.0rc1
+ pkgrel = 1
+ url = https://github.com/KDAB/Charm
+ arch = any
+ license = GPL
+ makedepends = cmake
+ depends = qt5-base
+ depends = qt5-script
+ depends = qtkeychain
+ source = https://github.com/KDAB/Charm/archive/1.12.0rc1.tar.gz
+ sha256sums = 0d82acb0d39f0598a293cb0bd22063fd24b90d2c3152695771d2b5b6a1589dad
+
+pkgname = charmtimetracker
+
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
+}