summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD53
2 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bcfc831430f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+pkgbase = kvirc-git-nokde
+ pkgdesc = Qt5 based IRC-Client, compiled without kde4 support - Git Version
+ pkgver = 4.3.2.r7104.48fd3bc45
+ 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 = perl
+ depends = qt5-multimedia
+ depends = qt5-svg
+ depends = qt5-x11extras
+ depends = qt5-webkit
+ depends = phonon-qt5
+ depends = enchant
+ provides = kvirc
+ provides = kvirc4
+ conflicts = kvirc4
+ conflicts = kvirc
+ source = kvirc-git-nokde::git+https://github.com/kvirc/KVIrc.git
+ sha256sums = SKIP
+
+pkgname = kvirc-git-nokde
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..628728b1300
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Stanislav N. aka pztrn <pztrn at pztrn dot name>
+
+pkgname=kvirc-git-nokde
+pkgver=4.3.2.r7104.48fd3bc45
+_pkgver=4.3.2
+pkgrel=1
+pkgdesc="Qt5 based IRC-Client, compiled without kde4 support - Git Version"
+arch=('i686' 'x86_64')
+url="http://www.kvirc.net"
+license=('GPL')
+depends=('qt5-base' 'glibc' 'openssl' 'zlib' 'perl' 'qt5-multimedia' 'qt5-svg' 'qt5-x11extras' 'qt5-webkit' 'phonon-qt5' '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 \
+ -DWANT_QT4:BOOL="0" \
+ -DCMAKE_BUILD_TYPE:STRING="Release" \
+ -DWANT_PERL=ON \
+ -DWANT_AUDIOFILE:BOOL="1" \
+ -DWANT_GTKSTYLE:BOOL="1" \
+ -DWANT_KDE:BOOL="0" \
+ -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
+ -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \
+ -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so
+
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+}