summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Figueiredo2021-02-02 18:43:26 +0000
committerJoão Figueiredo2021-02-02 18:43:26 +0000
commit4a0eeb3460af8dde00a51b12279d84a50690885c (patch)
tree1fbb59caec85bc159310ec3cd84a2993d3bc85a2
downloadaur-4a0eeb3460af8dde00a51b12279d84a50690885c.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD34
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..c3b0d3971e17
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = kitinerary-git
+ pkgdesc = Data model and extraction system for travel reservation information
+ pkgver = 5.16.40_r1583.gc1c0d7b
+ pkgrel = 1
+ url = https://kontact.kde.org
+ arch = x86_64
+ groups = kdepim-git
+ license = LGPL
+ makedepends = git
+ makedepends = extra-cmake-modules-git
+ depends = kmime-git
+ depends = kpkpass-git
+ depends = kcalendarcore-git
+ depends = kcontacts-git
+ depends = poppler-git
+ depends = libphonenumber
+ depends = zxing-cpp
+ provides = kitinerary
+ conflicts = kitinerary
+ source = git+https://github.com/KDE/kitinerary.git
+ sha256sums = SKIP
+
+pkgname = kitinerary-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..335ce53bf825
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Merged with official ABS kitinerary PKGBUILD by João, 2021/02/02 (all respective contributors apply herein)
+# Maintainer: João Figueiredo <jf.mundox@gmail.com>
+
+pkgname=kitinerary-git
+pkgver=5.16.40_r1583.gc1c0d7b
+pkgrel=1
+pkgdesc="Data model and extraction system for travel reservation information"
+arch=($CARCH)
+url="https://kontact.kde.org"
+license=(LGPL)
+depends=(kmime-git kpkpass-git kcalendarcore-git kcontacts-git poppler-git libphonenumber zxing-cpp)
+makedepends=(git extra-cmake-modules-git)
+conflicts=(${pkgname%-git})
+provides=(${pkgname%-git})
+groups=(kdepim-git)
+source=("git+https://github.com/KDE/${pkgname%-git}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname%-git}
+ _ver="$(grep -m1 'set(PIM_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"
+ echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cmake -B build -S ${pkgname%-git} \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}