summaryrefslogtreecommitdiff
path: root/community-testing/glabels
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-11 00:01:18 +0000
committerroot <root@rshg054.dnsready.net>2012-04-11 00:01:18 +0000
commit04aff5f70cb7c04abe06ca8eaf8261cbb0eeb378 (patch)
tree4935a4f0959f9560df7fba4989a0de1dc361884e /community-testing/glabels
parent223ca251f3ce07eb5484be845e631d6ca645b263 (diff)
Wed Apr 11 00:01:18 UTC 2012
Diffstat (limited to 'community-testing/glabels')
-rw-r--r--community-testing/glabels/PKGBUILD35
-rw-r--r--community-testing/glabels/fix-gschema.patch36
-rw-r--r--community-testing/glabels/glabels.install15
3 files changed, 86 insertions, 0 deletions
diff --git a/community-testing/glabels/PKGBUILD b/community-testing/glabels/PKGBUILD
new file mode 100644
index 000000000..4454af492
--- /dev/null
+++ b/community-testing/glabels/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 69135 2012-04-09 18:05:08Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: yugrotavele <yugrotavele at archlinux dot us>
+# Contributor: Damir Perisa <damir@archlinux.org>
+
+pkgname=glabels
+pkgver=3.0.0
+pkgrel=3
+pkgdesc="Creating labels and business cards the very easy way"
+arch=('i686' 'x86_64')
+url="http://glabels.sourceforge.net/"
+license=('GPL' 'LGPL')
+depends=('librsvg' 'evolution-data-server>=3.4.0' 'qrencode' 'iec16022' 'dconf' 'desktop-file-utils' 'xdg-utils')
+makedepends=('barcode' 'intltool' 'gnome-doc-utils')
+options=('!libtool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+ fix-gschema.patch)
+sha256sums=('a3a3db4dd25bfb1a03f4008f01c5d9045174e78e13ae77438b81bfe4bf14e64a'
+ 'ef4f368b49fe66fb7e9c1c4edabb96e1f10fd3e8502d695aef6b89388c38cd94')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/fix-gschema.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --disable-scrollkeeper --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/community-testing/glabels/fix-gschema.patch b/community-testing/glabels/fix-gschema.patch
new file mode 100644
index 000000000..51e197096
--- /dev/null
+++ b/community-testing/glabels/fix-gschema.patch
@@ -0,0 +1,36 @@
+diff -Naur glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in
+--- glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in 2012-04-09 13:58:25.256413359 +0000
++++ glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in 2012-04-09 13:59:40.495830152 +0000
+@@ -2,10 +2,10 @@
+
+
+ <schema id="org.gnome.glabels-3" path="/apps/glabels-3/" gettext-domain="glabels-3.0">
+- <child name="ui" schema="org.gnome.glabels.ui"/>
+- <child name="locale" schema="org.gnome.glabels.locale"/>
+- <child name="objects" schema="org.gnome.glabels.objects"/>
+- <child name="history" schema="org.gnome.glabels.history"/>
++ <child name="ui" schema="org.gnome.glabels-3.ui"/>
++ <child name="locale" schema="org.gnome.glabels-3.locale"/>
++ <child name="objects" schema="org.gnome.glabels-3.objects"/>
++ <child name="history" schema="org.gnome.glabels-3.history"/>
+ </schema>
+
+
+diff -Naur glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in.in glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in.in
+--- glabels-3.0.0.orig/data/schemas/org.gnome.glabels-3.gschema.xml.in.in 2012-04-09 13:58:25.256413359 +0000
++++ glabels-3.0.0/data/schemas/org.gnome.glabels-3.gschema.xml.in.in 2012-04-09 13:59:32.232560783 +0000
+@@ -2,10 +2,10 @@
+
+
+ <schema id="org.gnome.glabels-3" path="/apps/glabels-3/" gettext-domain="@GETTEXT_PACKAGE@">
+- <child name="ui" schema="org.gnome.glabels.ui"/>
+- <child name="locale" schema="org.gnome.glabels.locale"/>
+- <child name="objects" schema="org.gnome.glabels.objects"/>
+- <child name="history" schema="org.gnome.glabels.history"/>
++ <child name="ui" schema="org.gnome.glabels-3.ui"/>
++ <child name="locale" schema="org.gnome.glabels-3.locale"/>
++ <child name="objects" schema="org.gnome.glabels-3.objects"/>
++ <child name="history" schema="org.gnome.glabels-3.history"/>
+ </schema>
+
+
diff --git a/community-testing/glabels/glabels.install b/community-testing/glabels/glabels.install
new file mode 100644
index 000000000..42bb5884d
--- /dev/null
+++ b/community-testing/glabels/glabels.install
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ post_install $1
+}