summaryrefslogtreecommitdiff
path: root/community/libalkimia/PKGBUILD
blob: 004c8d6faa6812f05bc9e5c0a181ea49fac61c29 (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
31
32
33
34
35
# $Id: PKGBUILD 62859 2012-01-27 20:47:22Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: gumper <gumper1034@gmail.com>

pkgname=libalkimia
pkgver=4.3.2
pkgrel=1
pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC."
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'doxygen')
url=('http://kde-apps.org/content/show.php/libalkimia?content=137323')
license=('LGPL')
arch=('i686' 'x86_64')
source=("http://kde-apps.org/CONTENT/content-files/137323-libalkimia-$pkgver.tar.bz2")
md5sums=('8d7b529c7be5f72ae1cbb02e818e9b79')

build() {
  cd "${srcdir}"

  mkdir build
  cd build

  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -Wno-dev
  make
}

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