summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/qtkeychain/PKGBUILD48
-rw-r--r--pcr/qtkeychain/prefer-qt4.patch17
2 files changed, 0 insertions, 65 deletions
diff --git a/pcr/qtkeychain/PKGBUILD b/pcr/qtkeychain/PKGBUILD
deleted file mode 100644
index f6b911274..000000000
--- a/pcr/qtkeychain/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# Maintainer (Arch): Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
-# Contributor (Arch): Teo Mrnjavac <teo@kde.org>
-# https://github.com/zizzfizzix/pkgbuilds
-# Maintainer: Jorge Araya Navarro <shackra@riseup.net>
-
-# What type of build do you want?
-# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported.
-
-_buildtype='Release'
-
-pkgname=qtkeychain
-pkgver=0.3
-pkgrel=2
-pkgdesc='Provides support for secure credentials storage.'
-arch=('i686' 'x86_64' 'mips64el')
-url='https://github.com/frankosterfeld/qtkeychain'
-license=('BSD')
-depends=('qt4')
-makedepends=('cmake' 'icu')
-optdepends=('kdeutils-kwalletmanager: KDE password manager' 'gnome-keyring: GNOME password manager')
-source=("${pkgname}-${pkgver}.zip::https://github.com/frankosterfeld/qtkeychain/archive/${pkgver}.zip")
-md5sums=('8a82d813969fd1144d1d06769a2476f8')
-
-if [[ ! ${_buildtype} == 'Release' ]] && [[ ! ${_buildtype} == 'release' ]]; then
- options=('debug')
-fi
-
-prepare() {
- if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
- mkdir ${srcdir}/${pkgname}-${pkgver}-build
-}
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}-build
- cmake -DBUILD_WITH_QT4=on \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
- -DCMAKE_BUILD_TYPE=${_buildtype} \
- ../${pkgname}-${pkgver}
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}-build
- make DESTDIR=${pkgdir} install
- install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
diff --git a/pcr/qtkeychain/prefer-qt4.patch b/pcr/qtkeychain/prefer-qt4.patch
deleted file mode 100644
index 0e264aad1..000000000
--- a/pcr/qtkeychain/prefer-qt4.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index aba9032..4de64c8 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -11,8 +11,10 @@ set(QTKEYCHAIN_SOVERSION 0)
- set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${PROJECT_SOURCE_DIR}/cmake/Modules")
- include(GNUInstallDirs)
-
--# try Qt5 first, and prefer that if found
--find_package(Qt5Core QUIET)
-+# try Qt5 first, and prefer that if found, unless BUILD_WITH_QT4 is set
-+if (NOT BUILD_WITH_QT4)
-+ find_package(Qt5Core QUIET)
-+endif()
- if (Qt5Core_FOUND)
- if(UNIX AND NOT APPLE)
- find_package(Qt5DBus REQUIRED)