34 lines
960 B
Plaintext
34 lines
960 B
Plaintext
# Template file for 'qalculate'
|
|
pkgname=qalculate
|
|
version=0.9.7
|
|
wrksrc="lib${pkgname}-${version}"
|
|
revision=2
|
|
build_style=gnu-configure
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
hostmakedepends="intltool pkg-config"
|
|
makedepends="libxml2-devel glib-devel cln-devel readline-devel"
|
|
license="GPL-2"
|
|
homepage="http://qalculate.sourceforge.net/"
|
|
short_desc="A multi-purpose desktop calculator"
|
|
distfiles="${SOURCEFORGE_SITE}/qalculate/lib${pkgname}-${version}.tar.gz"
|
|
checksum=9a6d97ce3339d104358294242c3ecd5e312446721e93499ff70acc1604607955
|
|
|
|
libqalculate_package() {
|
|
short_desc+=" - library files"
|
|
pkg_install() {
|
|
vmove usr/lib/libqalculate.so.*
|
|
}
|
|
}
|
|
|
|
libqalculate-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libqalculate>=${version}_${revision} glib-devel libxml2-devel cln-devel"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig/
|
|
vmove usr/include/
|
|
vmove usr/share/doc/libqalculate-0.9.7/
|
|
}
|
|
}
|