core/kpeople/PKGBUILD

41 lines
1.1 KiB
Bash
Raw Normal View History

pkgname=kpeople
2018-07-10 03:44:00 +08:00
pkgver=5.48.0
2018-02-07 06:15:45 +08:00
pkgrel=1
pkgdesc='A library that provides access to all contacts and the people who hold them'
arch=('x86_64')
url='http://community.kde.org/KTp/libkpeople'
license=(LGPL)
depends=('kservice' 'kwidgetsaddons' 'kitemviews' "qt5-declarative")
2018-07-10 03:44:00 +08:00
makedepends=("extra-cmake-modules>=5.48.0" 'python3')
2015-04-12 20:09:16 +08:00
conflicts=('libkpeople')
#replaces=('libkpeople') # enable only when we switch to P5
groups=('kf5')
options=("debug")
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
2018-07-10 03:44:00 +08:00
sha256sums=('c77d02ae35e420ba7648db00beb0c6adb4881fb41c4cd047b5136b7847a3adbd'
SKIP)
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
2018-06-11 04:49:02 +08:00
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DKDE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}