desktop/skrooge/PKGBUILD

38 lines
944 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=skrooge
pkgver=0.7.3
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')
install=${pkgname}.install
source=(http://skrooge.org/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('8aeb5d08d2a664fc689f80ed2372b14d')
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
}