mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
_pkgname="kopete"
|
|
pkgname="kdenetwork-kopete"
|
|
arch=('x86_64')
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="Kopete, the instant messenger"
|
|
url="http://kde.org/applications/internet/kopete/"
|
|
depends=("kde-runtime" "kdepimlibs4" 'qca-ossl'
|
|
'libotr' 'libmsn' 'libidn' 'qimageblitz' 'libxss' 'libv4l' 'libgadu')
|
|
groups=("kde" "kdenetwork" "kde-uninstall")
|
|
categories=('communication')
|
|
conflicts=("kdenetwork-common"
|
|
"kdenetwork-doc")
|
|
install=kdenetwork.install
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
options=('docs' 'debug')
|
|
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"{,.sig})
|
|
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
|
'SKIP')
|
|
validpgpkeys=(${Avalidpgpkeys[@]})
|
|
|
|
build() {
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
cmake . \
|
|
-DCMAKE_BUILD_TYPE=${_build_type} \
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
|
-DWITH_Xmms=OFF \
|
|
-DWITH_qq=OFF \
|
|
-DWITH_meanwhile=OFF \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|