diff --git a/common/shlibs b/common/shlibs index c5340e9f3a5..1565e76253c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1686,3 +1686,4 @@ libsmartcols.so.1 libsmartcols-2.25_1 libspiro.so.0 libspiro-0.2_1 libopenjp2.so.7 libopenjpeg2-2.1.0_1 libcln.so.6 cln-1.3.3_1 +libqalculate.so.5 libqalculate-0.9.7_1 diff --git a/srcpkgs/libqalculate b/srcpkgs/libqalculate new file mode 120000 index 00000000000..2cf8203b787 --- /dev/null +++ b/srcpkgs/libqalculate @@ -0,0 +1 @@ +qalculate \ No newline at end of file diff --git a/srcpkgs/libqalculate-devel b/srcpkgs/libqalculate-devel new file mode 120000 index 00000000000..2cf8203b787 --- /dev/null +++ b/srcpkgs/libqalculate-devel @@ -0,0 +1 @@ +qalculate \ No newline at end of file diff --git a/srcpkgs/qalculate/template b/srcpkgs/qalculate/template new file mode 100644 index 00000000000..3fd692d0340 --- /dev/null +++ b/srcpkgs/qalculate/template @@ -0,0 +1,33 @@ +# Template file for 'qalculate' +pkgname=qalculate +version=0.9.7 +wrksrc="lib${pkgname}-${version}" +revision=1 +build_style=gnu-configure +maintainer="Dominik Honnef " +hostmakedepends="intltool pkg-config" +makedepends="libxml2-devel glib-devel cln-devel" +license="GPL-2" +homepage="http://qalculate.sourceforge.net/" +short_desc="A multi-purpose desktop calculator" +distfiles="http://prdownloads.sourceforge.net/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/ + } +}