summaryrefslogtreecommitdiff
path: root/coherence
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-17 01:48:49 -0700
committerroot <root@rshg054.dnsready.net>2013-08-17 01:48:49 -0700
commit74952c750361d72d7b2d14179d4e88b6ce0a0c7e (patch)
tree881e3676cf3b53e4c90d21b37b94a008eda1832f /coherence
parent6a3f02abeeecab3efb4442e39e28e05897f25316 (diff)
Sat Aug 17 01:47:45 PDT 2013
Diffstat (limited to 'coherence')
-rw-r--r--coherence/kdepim-runtime-coherence/PKGBUILD36
-rw-r--r--coherence/kdepim-runtime-coherence/kdepim-runtime.install13
-rw-r--r--coherence/your-coherence/PKGBUILD24
-rw-r--r--coherence/your-coherence/your-coherence.install30
4 files changed, 103 insertions, 0 deletions
diff --git a/coherence/kdepim-runtime-coherence/PKGBUILD b/coherence/kdepim-runtime-coherence/PKGBUILD
new file mode 100644
index 000000000..7fa4c0a00
--- /dev/null
+++ b/coherence/kdepim-runtime-coherence/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=kdepim-runtime
+pkgname=kdepim-runtime-coherence
+pkgver=4.10.5
+pkgrel=1
+pkgdesc='Extends the functionality of kdepim, without libkgapi support'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kdepim-runtime'
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime' 'libkolab')
+makedepends=('cmake' 'automoc4' 'boost')
+install="${_pkgname}.install"
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz")
+sha1sums=('f0b18cd320973c02d9b52cce9f4f424cb868d7fb')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${_pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/coherence/kdepim-runtime-coherence/kdepim-runtime.install b/coherence/kdepim-runtime-coherence/kdepim-runtime.install
new file mode 100644
index 000000000..c77e68041
--- /dev/null
+++ b/coherence/kdepim-runtime-coherence/kdepim-runtime.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/coherence/your-coherence/PKGBUILD b/coherence/your-coherence/PKGBUILD
new file mode 100644
index 000000000..c5bfbe5d7
--- /dev/null
+++ b/coherence/your-coherence/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-coherence
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="This package will remove support for unsafe/dangerous for privacy protocols/services."
+arch=('any')
+url="https://parabolagnulinux.org"
+license=('GPL3')
+install=${pkgname}.install
+source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt)
+
+package() {
+ conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ grep -v '^#' | \
+ sort -u
+ ))
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/
+}
+
+md5sums=('5fd14982619414fea1882b351607291e')
diff --git a/coherence/your-coherence/your-coherence.install b/coherence/your-coherence/your-coherence.install
new file mode 100644
index 000000000..d5ece49d4
--- /dev/null
+++ b/coherence/your-coherence/your-coherence.install
@@ -0,0 +1,30 @@
+
+pre_install() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ This package will help you identify if packages that support
+ unsafe/dangerous for privacy protocols/services are installed on your
+ system at the time of its installation, as well as protecting you from
+ (accidentally) installing them.
+
+ Also, if any other package that support unsafe/dangerous for privacy
+ protocols/services is identified, later updates will ask you for its
+ removal.
+
+ Have in mind that, if you want to retain certain packages that support
+ unsafe/dangerous for privacy protocols/services installed on your system,
+ you'll have to remove your-coherence :)
+
+ Please report any issue to the Coherence Team on the usual channels:
+ * https://labs.parabola.nu
+ * irc://freenode.net/#your-coherence
+ * mailto:dev@lists.parabolagnulinux.org
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+# vim:set ts=2 sw=2 et: