mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Adding konversation
This commit is contained in:
parent
1ed1d36230
commit
eb8cd95f80
30
konversation/PKGBUILD
Normal file
30
konversation/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Maintainer: Manuel Tortosa <manutortosa@gmail.com>
|
||||
|
||||
pkgname=konversation
|
||||
pkgver=1.2.3
|
||||
pkgrel=1
|
||||
pkgdesc="A user friendly IRC client for KDE"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://konversation.kde.org"
|
||||
depends=('kdebase-runtime' 'kdepimlibs')
|
||||
makedepends=('automoc4' 'cmake' 'pkgconfig')
|
||||
license=('GPL2' 'FDL')
|
||||
install=${pkgname}.install
|
||||
source=(http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2)
|
||||
md5sums=('3747187c392f46ee2337add514aec03a')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/build
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
11
konversation/konversation.install
Normal file
11
konversation/konversation.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user