summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzan2020-07-01 12:33:57 -0400
committerzan2020-07-01 12:33:57 -0400
commitb744b2d1227a1d7f6a048b6b0e481b5a78d6641a (patch)
treeeb5685dfeb85da43ce55fe2d7f8e24a079e71439
parent11b873b7164e609efd2b5f3919242fc858a3fb43 (diff)
downloadaur-b744b2d1227a1d7f6a048b6b0e481b5a78d6641a.tar.gz
invent.kde migration, pacman hook covers install script
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD30
-rw-r--r--telepathy-kde-common-internals-git.install12
3 files changed, 11 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1e0c6960d59..a0c3366352d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,8 @@
-# Generated by mksrcinfo v8
-# Tue Jan 26 20:45:10 UTC 2016
pkgbase = telepathy-kde-common-internals-git
pkgdesc = Common components for KDE-Telepathy
- pkgver = v15.12.0.r10.gcad98ea
+ pkgver = v19.11.80.r54.g9f372a1
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
@@ -20,10 +16,9 @@ pkgbase = telepathy-kde-common-internals-git
depends = telepathy-logger-qt
depends = kaccounts-integration
depends = libotr
- depends = hicolor-icon-theme
depends = telepathy-accounts-signon
conflicts = telepathy-kde-common-internals
- source = git://anongit.kde.org/ktp-common-internals
+ source = git+https://invent.kde.org/network/ktp-common-internals.git
sha256sums = SKIP
pkgname = telepathy-kde-common-internals-git
diff --git a/PKGBUILD b/PKGBUILD
index dc13634e91e..85c81a73e36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,42 +2,30 @@
# Maintainer: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
# Author: Antonio Rojas <arojas@archlinux.org>
-_gitname=ktp-common-internals
pkgname=telepathy-kde-common-internals-git
-pkgver=v15.12.0.r10.gcad98ea
+_name=ktp-common-internals
+pkgver=v19.11.80.r54.g9f372a1
pkgrel=1
pkgdesc='Common components for KDE-Telepathy'
-arch=(i686 x86_64)
+arch=(x86_64)
url='http://community.kde.org/Real-Time_Communication_and_Collaboration'
license=(GPL)
-depends=(knotifyconfig ktexteditor kpeople telepathy-logger-qt kaccounts-integration libotr hicolor-icon-theme telepathy-accounts-signon)
+depends=(knotifyconfig ktexteditor kpeople telepathy-logger-qt kaccounts-integration libotr telepathy-accounts-signon)
makedepends=(extra-cmake-modules git kdoctools doxygen python)
conflicts=(telepathy-kde-common-internals)
-source=("git://anongit.kde.org/$_gitname")
+source=("git+https://invent.kde.org/network/$_name.git")
sha256sums=('SKIP')
-install=$pkgname.install
pkgver() {
- cd "$srcdir/$_gitname"
+ cd $_name
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare() {
- mkdir -p build
-}
-
build() {
- cd build
- cmake ../$_gitname \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DLIB_INSTALL_DIR=lib \
- -DLIBEXEC_INSTALL_DIR=lib \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- make
+ cmake -B build -S $_name
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
diff --git a/telepathy-kde-common-internals-git.install b/telepathy-kde-common-internals-git.install
deleted file mode 100644
index 8834e059aa0..00000000000
--- a/telepathy-kde-common-internals-git.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}