1 # Contributor: Dmitry Korzhevin <dkorzhevin at lsupport dot net>
2 # Maintainer: Mario Blättermann <mariobl@gnome.org>
7 pkgdesc="Creating labels and business cards the very easy way"
10 url="http://glabels.sourceforge.net/"
11 depends=('gtk3>=2.91.7' 'dconf' 'desktop-file-utils' 'shared-mime-info' 'evolution-data-server' 'zint>=2.4.0')
12 conflicts=(glabels-unstable)
14 makedepends=('pkgconfig' 'perlxml' 'gnome-doc-utils' 'intltool')
16 _gitroot="git://git.gnome.org/glabels"
18 install=glabels.install
24 msg "Connecting to GNOME GIT server...."
26 if [ -d ${srcdir}/$_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
33 cd ${srcdir}/$_gitname
34 ./autogen.sh --prefix=/usr
38 cd ${srcdir}/$_gitname
39 make DESTDIR=$pkgdir install
41 mkdir -p $startdir/pkg/usr/share/glib-2.0/schemas
42 install -c -m 644 ${srcdir}/$_gitname/data/schemas/org.gnome.glabels-3.gschema.xml \
43 "$startdir/pkg/usr/share/glib-2.0/schemas"