desktop/plasma5-applets-ktp-desktop/PKGBUILD

36 lines
957 B
Bash
Raw Normal View History

2013-10-30 22:18:07 +08:00
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/telepathy-kde-desktop-applets/
2015-04-08 03:31:53 +08:00
# Include global configuration
source ../kdeapps.conf
2013-10-30 22:18:07 +08:00
pkgname='plasma5-applets-ktp-desktop'
_pkgname='ktp-desktop-applets'
2015-04-08 03:31:53 +08:00
pkgver=${_kdever}
2016-08-04 19:44:34 +08:00
pkgrel=1
2013-10-30 22:18:07 +08:00
pkgdesc="The KDE-Telepathy Plasma desktop applets"
arch=('x86_64')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
2015-04-08 03:31:53 +08:00
depends=('ktp-common-internals' 'ktp-accounts-kcm')
makedepends=('extra-cmake-modules' 'plasma-framework')
replaces=('ktp-desktop-applets')
conflicts=('ktp-desktop-applets')
provides=('ktp-desktop-applets')
groups=('kde-telepathy' 'plasma5-applets')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
2015-04-08 03:31:53 +08:00
prepare() {
mkdir -p build
}
2013-10-30 22:18:07 +08:00
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver}
2013-10-30 22:18:07 +08:00
make
}
package() {
cd build
2015-04-08 03:31:53 +08:00
make DESTDIR=${pkgdir} install
2013-10-30 22:18:07 +08:00
}