summaryrefslogtreecommitdiff
path: root/community/glabels/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/glabels/PKGBUILD')
-rw-r--r--community/glabels/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/glabels/PKGBUILD b/community/glabels/PKGBUILD
new file mode 100644
index 000000000..5276b2464
--- /dev/null
+++ b/community/glabels/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 79126 2012-10-30 23:07:20Z heftig $
+# 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.1
+pkgrel=2
+pkgdesc="Creating labels and business cards the very easy way"
+arch=('i686' 'x86_64')
+url="http://glabels.org/"
+license=('GPL' 'LGPL')
+depends=('librsvg' 'evolution-data-server>=3.6.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.xz
+ glabels-3.0.0-new-eds.patch)
+sha256sums=('99810705b9fcb234f085ed4ac6dbea50cc5b232c6d8ca05ab2c0634673fb9bd2'
+ 'f02ecf12e10b1d406607bad65f81e53ebd5d56fabe46035a47bd6fe1ec8bf70b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/glabels-3.0.0-new-eds.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}