desktop/ktp-approver/PKGBUILD

36 lines
949 B
Bash
Raw Normal View History

2011-08-08 01:49:51 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2012-04-05 23:24:51 +08:00
pkgname=ktp-approver
pkgver=0.3.1
2011-08-08 01:49:51 +08:00
pkgrel=1
pkgdesc="KDE Channel Approver for Telepathy"
arch=('i686' 'x86_64')
url="http://www.kde.org"
license=('GPL')
2012-04-05 23:24:51 +08:00
depends=('ktp-common-internals')
2011-08-08 01:49:51 +08:00
makedepends=('cmake' 'automoc4')
2012-04-05 23:24:51 +08:00
conflicts=('telepathy-kde-approver')
replaces=('telepathy-kde-approver')
provides=('telepathy-kde-approver')
groups=('kde-telepathy')
source=("ftp://mirrors.mit.edu/kde/unstable/kde-telepathy/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('156418a7f194a1df8f50fe6f8b371adac067f840')
2011-08-08 01:49:51 +08:00
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
2011-08-08 01:49:51 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}