summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Blumenstingl2015-08-23 12:26:00 +0200
committerMartin Blumenstingl2015-08-23 12:26:00 +0200
commitbeea4e1ed690b2c876c6475ecc5f1fbb3e4d2091 (patch)
tree03cad3cd3a7188f1f1af036d7e106848f30f5b3a
downloadaur-beea4e1ed690b2c876c6475ecc5f1fbb3e4d2091.tar.gz
Initial import
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD41
-rw-r--r--telepathy-kde-common-internals-git.install12
3 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2f63c496d0f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = telepathy-kde-common-internals-git
+ pkgdesc = Common components for KDE-Telepathy
+ pkgver = r1790.bec1480
+ pkgrel = 1
+ url = http://community.kde.org/Real-Time_Communication_and_Collaboration
+ install = telepathy-kde-common-internals-git.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = extra-cmake-modules
+ makedepends = git
+ makedepends = kdoctools
+ makedepends = doxygen
+ makedepends = python
+ depends = knotifyconfig
+ depends = ktexteditor
+ depends = kpeople
+ depends = telepathy-qt5
+ depends = kaccounts-integration-git
+ depends = libotr
+ depends = hicolor-icon-theme
+ depends = telepathy-mission-control
+ depends = telepathy-logger-qt-git
+ conflicts = telepathy-kde-common-internals
+ source = git://anongit.kde.org/ktp-common-internals.git
+ sha256sums = SKIP
+
+pkgname = telepathy-kde-common-internals-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..67a0849e523
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
+# Author: Antonio Rojas <arojas@archlinux.org>
+
+pkgname=telepathy-kde-common-internals-git
+pkgver=r1790.bec1480
+pkgrel=1
+pkgdesc='Common components for KDE-Telepathy'
+arch=(i686 x86_64)
+url='http://community.kde.org/Real-Time_Communication_and_Collaboration'
+license=(GPL)
+depends=(knotifyconfig ktexteditor kpeople telepathy-qt5 kaccounts-integration-git libotr hicolor-icon-theme telepathy-mission-control telepathy-logger-qt-git)
+makedepends=(extra-cmake-modules git kdoctools doxygen python)
+conflicts=(telepathy-kde-common-internals)
+source=("git://anongit.kde.org/ktp-common-internals.git")
+sha256sums=('SKIP')
+install=$pkgname.install
+
+pkgver() {
+ cd ktp-common-internals
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../ktp-common-internals \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DLIBEXEC_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
diff --git a/telepathy-kde-common-internals-git.install b/telepathy-kde-common-internals-git.install
new file mode 100644
index 00000000000..8834e059aa0
--- /dev/null
+++ b/telepathy-kde-common-internals-git.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}