summaryrefslogtreecommitdiff
path: root/extra/attica/PKGBUILD
blob: 4135c242fd76ba836fb6cca8c73b4f2692e4f595 (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
# $Id: PKGBUILD 142782 2011-11-15 06:11:07Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=attica
pkgver=0.2.9
pkgrel=1
pkgdesc='A library to access Open Collaboration Service providers'
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('LGPL')
depends=('qt')
makedepends=('cmake')
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('7dadb6ca7dec09f89d41cd868ea6dc39')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}