desktop/ktp-text-ui/PKGBUILD
2014-10-19 21:26:05 -04:00

34 lines
920 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=ktp-text-ui
pkgver=0.9.0
pkgrel=1
pkgdesc="Telepathy text chat handler"
arch=('x86_64')
url="http://www.kde.org"
license=('GPL')
depends=('ktp-common-internals' 'ktp-contact-list' 'telepathy-logger-qt')
makedepends=('cmake' 'automoc4' 'boost' 'qjson')
optdepends=('telepathy-logger-qt: enables logging of chats, causes issues for some users')
conflicts=('telepathy-kde-text-ui')
replaces=('telepathy-kde-text-ui')
provides=('telepathy-kde-text-ui')
groups=('kde-telepathy')
source=("ftp://mirrors.mit.edu/kde/stable/kde-telepathy/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('76e8c2f3679fc14da49993d853d2ed49')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}