summaryrefslogtreecommitdiff
path: root/community/libalkimia/PKGBUILD
blob: de57aedafeec46d36715ad30a7ae76bed0cd7854 (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 115367 2014-07-09 13:16:39Z fyan $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: gumper <gumper1034@gmail.com>

pkgname=libalkimia
pkgver=4.3.2
pkgrel=2
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  
}