summaryrefslogtreecommitdiff
path: root/community/libalkimia/PKGBUILD
blob: 2f14f4bf621cb11db83a1df58ea7d9e4808239db (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
# $Id: PKGBUILD 58105 2011-11-06 17:14:04Z lcarlier $
# Contributor: gumper <gumper1034@gmail.com>

pkgname=libalkimia
pkgver=4.3.1
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=('73d7f1365118019030b2045d95c92456')

build() {
  cd "${srcdir}"

  mkdir build
  cd build

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

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