qalculate{,-gtk}: update to 0.9.8

Move data files into -data subpkg (noarch).
This commit is contained in:
Alessio Sergi 2016-06-26 03:07:50 +02:00
parent 41296ca3b8
commit caacf6d3eb
3 changed files with 24 additions and 16 deletions

1
srcpkgs/libqalculate-data Symbolic link
View File

@ -0,0 +1 @@
qalculate

View File

@ -1,13 +1,13 @@
# Template file for 'qalculate-gtk' # Template file for 'qalculate-gtk'
pkgname=qalculate-gtk pkgname=qalculate-gtk
version=0.9.7 version=0.9.8
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>" maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="intltool pkg-config rarian-devel" hostmakedepends="intltool pkg-config"
makedepends="libqalculate-devel gdk-pixbuf-devel libglade-devel gtk+-devel" makedepends="libqalculate-devel gdk-pixbuf-devel gtk+3-devel"
license="GPL-2" license="GPL-2"
homepage="http://qalculate.sourceforge.net/" homepage="https://qalculate.github.io/"
short_desc="A multi-purpose desktop calculator - GTK version" short_desc="A multi-purpose desktop calculator - GTK+ version"
distfiles="${SOURCEFORGE_SITE}/qalculate/qalculate-gtk-${version}.tar.gz" distfiles="https://github.com/Qalculate/qalculate-gtk/files/316290/qalculate-gtk-${version}.tar.gz"
checksum=a4ea8ee2366ac3ad53bb17fd2f76a7bed7211640cf2fdadfcf3b79eb4b37282d checksum=0ee6c239def411515fd35a0dca8b3fd144e8a41c19709ef0ee094b3db4ceda30

View File

@ -1,33 +1,40 @@
# Template file for 'qalculate' # Template file for 'qalculate'
pkgname=qalculate pkgname=qalculate
version=0.9.7 version=0.9.8
revision=1
wrksrc="lib${pkgname}-${version}" wrksrc="lib${pkgname}-${version}"
revision=2
build_style=gnu-configure build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>" maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="intltool pkg-config" hostmakedepends="intltool pkg-config"
makedepends="libxml2-devel glib-devel cln-devel readline-devel" makedepends="libxml2-devel glib-devel cln-devel readline-devel"
license="GPL-2" license="GPL-2"
homepage="http://qalculate.sourceforge.net/" homepage="https://qalculate.github.io/"
short_desc="A multi-purpose desktop calculator" short_desc="A multi-purpose desktop calculator"
distfiles="${SOURCEFORGE_SITE}/qalculate/lib${pkgname}-${version}.tar.gz" distfiles="https://github.com/Qalculate/libqalculate/files/316260/libqalculate-${version}.tar.gz"
checksum=9a6d97ce3339d104358294242c3ecd5e312446721e93499ff70acc1604607955 checksum=0dd74d36885ab8d98f1268e17950426af2eb93ab9e819703ded230b042cceb5c
libqalculate-data_package() {
noarch=yes
short_desc+=" - data files"
pkg_install() {
vmove usr/share/qalculate
}
}
libqalculate_package() { libqalculate_package() {
short_desc+=" - library files" short_desc+=" - library files"
depends="libqalculate-data>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/lib/libqalculate.so.* vmove usr/lib/libqalculate.so.*
} }
} }
libqalculate-devel_package() { libqalculate-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="libqalculate>=${version}_${revision} glib-devel libxml2-devel cln-devel" depends="libqalculate>=${version}_${revision} glib-devel libxml2-devel cln-devel"
pkg_install() { pkg_install() {
vmove usr/lib/*.so vmove usr/lib/*.so
vmove usr/lib/*.a vmove usr/lib/*.a
vmove usr/lib/pkgconfig/ vmove usr/lib/pkgconfig
vmove usr/include/ vmove usr/include
vmove usr/share/doc/libqalculate-0.9.7/ vmove usr/share/doc
} }
} }