summaryrefslogtreecommitdiff
path: root/extra/telepathy-kde-filetransfer-handler/PKGBUILD
blob: 14082b80d7bf00007035aff32c3907c2bc169f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 143567 2011-11-26 13:59:37Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=telepathy-kde-filetransfer-handler
pkgver=0.2.0
pkgrel=1
pkgdesc="Telepathy file transfer handler"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde.org"
license=('GPL')
depends=('kdebase-runtime' 'telepathy-qt4')
makedepends=('cmake' 'automoc4')
groups=('telepathy-kde')
source=("http://download.kde.org/unstable/telepathy-kde/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('25c52485cb5653fa79d0eb9724b494803a8f0ad9')

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
}