45 lines
1.4 KiB
Bash
45 lines
1.4 KiB
Bash
# Template file for 'gnucash'
|
|
pkgname=gnucash
|
|
version=2.6.19
|
|
revision=1
|
|
conf_files="
|
|
/etc/gnucash/config
|
|
/etc/gnucash/environment"
|
|
pycompile_module="gnucash"
|
|
pycompile_dirs="usr/share/gnucash/python"
|
|
hostmakedepends="pkg-config intltool guile"
|
|
makedepends="GConf-devel aqbanking aqbanking-devel gc-devel gmp-devel
|
|
goffice0.8-devel gtk+-devel guile-devel gwenhywfar-devel gwenhywfar-gtk
|
|
libgnomecanvas-devel libgsf-devel libltdl-devel libofx-devel libxml2-devel
|
|
libxslt-devel python-devel webkitgtk2-devel"
|
|
depends="dconf guile pygtk"
|
|
build_style="gnu-configure"
|
|
configure_args="--disable-dbi --enable-aqbanking --enable-python"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-3"
|
|
homepage="http://www.gnucash.org/"
|
|
short_desc="Financial-accounting software"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=50b89367246ec2d51e9765bd6bd8c669e35ceb4ac5ab92636f76758a9f3f7fd1
|
|
|
|
nocross=yes
|
|
|
|
libgnucash_package() {
|
|
shlib_provides="libgncmod-gnome-utils.so libgncmod-app-utils.so libgncmod-engine.so"
|
|
short_desc+=" - library files"
|
|
pkg_install() {
|
|
# gnucash depends on the *.so symlinks to compile guile
|
|
# modules on demand.
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.so.*
|
|
vmove usr/lib/gnucash
|
|
}
|
|
}
|
|
libgnucash-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libgnucash>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|