summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvirc-qt-git/.SRCINFO34
-rw-r--r--kvirc-qt-git/.gitignore1
-rw-r--r--kvirc-qt-git/PKGBUILD53
3 files changed, 88 insertions, 0 deletions
diff --git a/kvirc-qt-git/.SRCINFO b/kvirc-qt-git/.SRCINFO
new file mode 100644
index 0000000..106a4fa
--- /dev/null
+++ b/kvirc-qt-git/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = kvirc-qt-git
+ pkgdesc = Qt based IRC-Client
+ pkgver = 5.0.0.r7416.9b35d44fd
+ pkgrel = 1
+ url = http://www.kvirc.net
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = python2
+ makedepends = gettext
+ makedepends = doxygen
+ makedepends = extra-cmake-modules
+ makedepends = zsh
+ makedepends = cmake
+ makedepends = git
+ makedepends = gettext
+ depends = qt5-base
+ depends = glibc
+ depends = openssl
+ depends = zlib
+ depends = qt5-multimedia
+ depends = qt5-svg
+ depends = qt5-x11extras
+ depends = qt5-webkit
+ depends = enchant
+ provides = kvirc
+ provides = kvirc4
+ conflicts = kvirc4
+ conflicts = kvirc
+ source = kvirc-qt-git::git+https://github.com/kvirc/KVIrc.git
+ sha256sums = SKIP
+
+pkgname = kvirc-qt-git
+
diff --git a/kvirc-qt-git/.gitignore b/kvirc-qt-git/.gitignore
new file mode 100644
index 0000000..c32315a
--- /dev/null
+++ b/kvirc-qt-git/.gitignore
@@ -0,0 +1 @@
+kvirc-qt-git
diff --git a/kvirc-qt-git/PKGBUILD b/kvirc-qt-git/PKGBUILD
new file mode 100644
index 0000000..ba94a3b
--- /dev/null
+++ b/kvirc-qt-git/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Deposite Pirate <dpirate at metalpunks dot info>
+#
+# Upstream: https://git.metalpunks.info/arch-ports
+
+pkgname=kvirc-qt-git
+pkgver=5.0.0.r7416.9b35d44fd
+_pkgver=5.0.0
+pkgrel=1
+pkgdesc="Qt based IRC-Client"
+arch=('i686' 'x86_64')
+url="http://www.kvirc.net"
+license=('GPL')
+depends=('qt5-base' 'glibc' 'openssl' 'zlib' 'qt5-multimedia' 'qt5-svg' 'qt5-x11extras' 'qt5-webkit' 'enchant')
+makedepends=('python2' 'gettext' 'doxygen' 'extra-cmake-modules' 'zsh' 'cmake' 'git' 'gettext')
+conflicts=('kvirc4' 'kvirc')
+provides=('kvirc' 'kvirc4')
+source=("${pkgname}::git+https://github.com/kvirc/KVIrc.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${pkgname}"
+ printf "${_pkgver}.r%s.%s" \
+ "$(git rev-list --count HEAD)" \
+ "$(git rev-parse --short HEAD)"
+}
+
+prepare(){
+ cd "${srcdir}/${pkgname}"
+ # Fix overlinking
+ sed -e '/lcrypto/d' -i CMakeLists.txt
+}
+
+build() {
+ cd "${srcdir}"
+ rm -rf build
+ mkdir build
+ cd build
+ cmake ../${pkgname} \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_BUILD_TYPE:STRING="Release" \
+ -DWANT_PERL="OFF" \
+ -DWANT_GTKSTYLE="ON" \
+ -DWANT_KDE="OFF" \
+ -DWANT_PHONON="OFF" \
+ -DWANT_OSS="OFF" \
+ -DWANT_ESD="ON"
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}