[arch-commits] Commit in kvirc/trunk (PKGBUILD kvirc.appdata.xml)
Balló György
bgyorgy at archlinux.org
Sat Apr 17 12:58:26 UTC 2021
Date: Saturday, April 17, 2021 @ 12:58:25
Author: bgyorgy
Revision: 919760
upgpkg: kvirc 5.0.0-3: Minor changes
Modified:
kvirc/trunk/PKGBUILD
kvirc/trunk/kvirc.appdata.xml
-------------------+
PKGBUILD | 32 ++++++++++++++------------------
kvirc.appdata.xml | 12 ++++++------
2 files changed, 20 insertions(+), 24 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 12:37:08 UTC (rev 919759)
+++ PKGBUILD 2021-04-17 12:58:25 UTC (rev 919760)
@@ -2,26 +2,25 @@
pkgname=kvirc
pkgver=5.0.0
-pkgrel=2
-pkgdesc="Qt based IRC client"
+pkgrel=3
+pkgdesc='Qt based IRC client'
arch=('x86_64')
-url="https://kvirc.net/"
+url='http://kvirc.net/'
license=('GPL2')
-depends=(enchant hicolor-icon-theme qt5-multimedia qt5-svg qt5-x11extras)
-makedepends=(cmake python)
+depends=('enchant' 'hicolor-icon-theme' 'qt5-multimedia' 'qt5-svg' 'qt5-x11extras')
+makedepends=('cmake' 'ninja' 'python')
optdepends=('perl: scripting support'
'python: scripting support')
-source=(ftp://ftp.kvirc.net/pub/kvirc/$pkgver/source/KVIrc-$pkgver.tar.bz2
- kvirc.appdata.xml
- python3.patch
- qt5.15.patch)
+source=("ftp://ftp.kvirc.net/pub/kvirc/$pkgver/source/KVIrc-$pkgver.tar.bz2"
+ 'kvirc.appdata.xml'
+ 'python3.patch'
+ 'qt5.15.patch')
sha256sums=('76cd4cdcaca5e4056f086cdcbb6122c2ca7e331d6e66c7ebc57d32565f626a65'
- '0426f1f3c2b410e9d5f9f44b7bf2042a06a33260c77ca083dda3275e2b96f2a7'
+ '433c6b2d36479ae2c4a0342dc9750ba79ffd9f4fa479f28740cd1c4303bc71da'
'dfa8586a849b1c74280b4203b45c24d3e9ad1f184ba09fe16c59febb64b1ca79'
'06c5df4fa2fded8b686beddf6824ff655aa6cd2164b1e8b07100418563d02e4e')
prepare() {
- [[ -d build ]] || mkdir build
cd KVIrc-$pkgver
patch -Np1 -i ../python3.patch
patch -Np1 -i ../qt5.15.patch
@@ -28,18 +27,15 @@
}
build() {
- cd build
- cmake -G "Unix Makefiles" ../KVIrc-$pkgver/ \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake -S KVIrc-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_SKIP_RPATH=YES \
-DWANT_QTWEBKIT=OFF \
-DWANT_KDE=OFF \
-DWANT_PHONON=OFF
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
- install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
}
Modified: kvirc.appdata.xml
===================================================================
--- kvirc.appdata.xml 2021-04-17 12:37:08 UTC (rev 919759)
+++ kvirc.appdata.xml 2021-04-17 12:58:25 UTC (rev 919760)
@@ -12,25 +12,25 @@
<screenshots>
<screenshot type="default">
<caption>The SilverIRC theme, the default since KVIrc 3.2.6 after a fresh installation</caption>
- <image>https://kvirc.net/img/screenshots/snapshot15.png</image>
+ <image>http://kvirc.net/img/screenshots/snapshot15.png</image>
</screenshot>
<screenshot>
<caption>The theme manager</caption>
- <image>https://kvirc.net/img/screenshots/snapshot16.png</image>
+ <image>http://kvirc.net/img/screenshots/snapshot16.png</image>
</screenshot>
<screenshot>
<caption>The Aliases Editor</caption>
- <image>https://kvirc.net/img/screenshots/snapshot17.png</image>
+ <image>http://kvirc.net/img/screenshots/snapshot17.png</image>
</screenshot>
<screenshot>
<caption>The Events Editor</caption>
- <image>https://kvirc.net/img/screenshots/snapshot18.png</image>
+ <image>http://kvirc.net/img/screenshots/snapshot18.png</image>
</screenshot>
<screenshot>
<caption>The Popups Editor</caption>
- <image>https://kvirc.net/img/screenshots/snapshot19.png</image>
+ <image>http://kvirc.net/img/screenshots/snapshot19.png</image>
</screenshot>
</screenshots>
<url type="bugtracker">https://github.com/kvirc/KVIrc/issues</url>
- <url type="homepage">https://kvirc.net/</url>
+ <url type="homepage">http://kvirc.net/</url>
</component>
More information about the arch-commits
mailing list