diff options
author | root <root@rshg054.dnsready.net> | 2012-04-25 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-25 00:01:35 +0000 |
commit | 98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch) | |
tree | 00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /community/glabels | |
parent | 9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff) |
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'community/glabels')
-rw-r--r-- | community/glabels/PKGBUILD | 35 | ||||
-rw-r--r-- | community/glabels/fix-gschema.patch | 36 | ||||
-rw-r--r-- | community/glabels/glabels.install | 15 |
3 files changed, 86 insertions, 0 deletions
diff --git a/community/glabels/PKGBUILD b/community/glabels/PKGBUILD new file mode 100644 index 000000000..37d4a74fb --- /dev/null +++ b/community/glabels/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 69806 2012-04-23 09:47:01Z ibiru $ +# 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/glabels/fix-gschema.patch b/community/glabels/fix-gschema.patch new file mode 100644 index 000000000..51e197096 --- /dev/null +++ b/community/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/glabels/glabels.install b/community/glabels/glabels.install new file mode 100644 index 000000000..42bb5884d --- /dev/null +++ b/community/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 +} |