summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD40
-rw-r--r--kdenetwork-kopete-git.install12
3 files changed, 87 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1a2078c51f6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,35 @@
+pkgbase = kdenetwork-kopete-git
+ pkgdesc = Instant Messenger, Git version
+ pkgver = 4.13.1
+ pkgrel = 1
+ url = http://kde.org/applications/internet/kopete/
+ install = kdenetwork-kopete-git.install
+ arch = i686
+ arch = x86_64
+ groups = kde
+ groups = kdenetwork
+ license = GPL
+ license = LGPL
+ license = FDL
+ makedepends = cmake
+ makedepends = automoc4
+ makedepends = boost
+ makedepends = kdepim-libkdepim
+ makedepends = git
+ depends = kdebase-runtime
+ depends = kdepimlibs
+ depends = qca-ossl
+ depends = libotr
+ depends = libidn
+ depends = qimageblitz
+ depends = libgadu
+ depends = mediastreamer
+ depends = jsoncpp
+ provides = kdenetwork-kopete=4.13.1
+ conflicts = kdenetwork-kopete
+ replaces = kdenetwork-kopete
+ source = kopete::git+http://anongit.kde.org/kopete
+ sha1sums = SKIP
+
+pkgname = kdenetwork-kopete-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c9795d7dd74
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alex Talker <alextalker at openmailbox dot org>
+
+pkgname=kdenetwork-kopete-git
+pkgver=4.13.1
+pkgrel=1
+pkgdesc='Instant Messenger, Git version'
+url='http://kde.org/applications/internet/kopete/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdenetwork')
+depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libidn'
+ 'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-libkdepim' 'git')
+provides=('kdenetwork-kopete=4.13.1')
+replaces=('kdenetwork-kopete')
+conflicts=('kdenetwork-kopete')
+install=${pkgname}.install
+source=("kopete::git+http://anongit.kde.org/kopete")
+sha1sums=('SKIP')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../kopete \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DWITH_Libmsn=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}
diff --git a/kdenetwork-kopete-git.install b/kdenetwork-kopete-git.install
new file mode 100644
index 00000000000..5495fb1b5d2
--- /dev/null
+++ b/kdenetwork-kopete-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
+}