Add skrooge

This commit is contained in:
Manuel Tortosa 2010-05-30 16:14:31 +00:00
parent e1c38a8e3d
commit 03d5d95af3
2 changed files with 43 additions and 0 deletions

32
skrooge/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# $Id: $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>
pkgname=skrooge
pkgver=0.7.1
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=('403e6ae9775066c99e42e8c6381a3ff3')
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
}

11
skrooge/skrooge.install Normal file
View File

@ -0,0 +1,11 @@
post_install() {
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}