summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav N. aka pztrn2020-02-24 23:10:04 +0500
committerStanislav N. aka pztrn2020-02-24 23:10:04 +0500
commitb6b305d0fd6a5402a074faca84b283a2fbd52a50 (patch)
tree37aec59dfadfb63237dc35da19f9c301a6592f76
parent3257dc82c4f06f9629ab704a5af2717d122eb1c6 (diff)
downloadaur-b6b305d0fd6a5402a074faca84b283a2fbd52a50.tar.gz
Sync with kvirc-git.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD45
2 files changed, 20 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bcfc831430f..d17190b5fe7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kvirc-git-nokde
- pkgdesc = Qt5 based IRC-Client, compiled without kde4 support - Git Version
- pkgver = 4.3.2.r7104.48fd3bc45
+ pkgdesc = Qt5 based IRC-Client, compiled without KDE support - Git Version
+ pkgver = 5.0.0.r73.gbdeac0429
pkgrel = 1
url = http://www.kvirc.net
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 628728b1300..f45a66990e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,9 @@
# Maintainer: Stanislav N. aka pztrn <pztrn at pztrn dot name>
pkgname=kvirc-git-nokde
-pkgver=4.3.2.r7104.48fd3bc45
-_pkgver=4.3.2
+pkgver=5.0.0.r73.gbdeac0429
pkgrel=1
-pkgdesc="Qt5 based IRC-Client, compiled without kde4 support - Git Version"
+pkgdesc="Qt5 based IRC-Client, compiled without KDE support - Git Version"
arch=('i686' 'x86_64')
url="http://www.kvirc.net"
license=('GPL')
@@ -16,38 +15,30 @@ 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)"
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare(){
- cd "$srcdir/$pkgname"
-# Fix overlinking
- sed -e '/lcrypto/d' -i CMakeLists.txt
+ cd "$srcdir/$pkgname"
}
build() {
+ rm -rf build
+ mkdir build
+ cd build
+ cmake ../$pkgname \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWANT_QT4:BOOL="0" \
+ -DCMAKE_BUILD_TYPE:STRING="Release" \
+ -DWANT_AUDIOFILE:BOOL="1" \
+ -DWANT_GTKSTYLE:BOOL="1" \
+ -DWANT_KDE:BOOL="0"
- 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
+ make
}
package() {
- cd "$srcdir/build"
- make DESTDIR="$pkgdir" install
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
}