desktop/skrooge/PKGBUILD
2011-01-23 23:41:15 +00:00

39 lines
1017 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=skrooge
pkgver=0.8.0
pkgrel=1
pkgdesc="Allows you to manage your personal finances in KDE"
arch=('i686' 'x86_64')
url="http://skrooge.org"
license=('GPL')
depends=('kdebase-runtime' 'libofx' 'qca')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
install=${pkgname}.install
source=(http://skrooge.org/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('5b535bbabfe7428cac64bc0ca0094b1a')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install || return 1
}