summaryrefslogtreecommitdiff
path: root/extra/gnome-dictionary
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/gnome-dictionary
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/gnome-dictionary')
-rw-r--r--extra/gnome-dictionary/PKGBUILD28
-rw-r--r--extra/gnome-dictionary/gnome-dictionary.install11
2 files changed, 39 insertions, 0 deletions
diff --git a/extra/gnome-dictionary/PKGBUILD b/extra/gnome-dictionary/PKGBUILD
new file mode 100644
index 000000000..86a252322
--- /dev/null
+++ b/extra/gnome-dictionary/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 156812 2012-04-23 09:06:27Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=gnome-dictionary
+pkgver=3.4.0
+pkgrel=1
+pkgdesc="Look up words in dictionary sources"
+arch=(i686 x86_64)
+url="http://gnome.org"
+license=('GPL2')
+depends=('dconf' 'gtk3')
+makedepends=('intltool' 'gnome-doc-utils')
+install=$pkgname.install
+options=(!libtool)
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('70a15987617f5ae39f1fc27f7ed0a039193b4704cef7b89ed3aea30ac38f56af')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/extra/gnome-dictionary/gnome-dictionary.install b/extra/gnome-dictionary/gnome-dictionary.install
new file mode 100644
index 000000000..c25dff2d3
--- /dev/null
+++ b/extra/gnome-dictionary/gnome-dictionary.install
@@ -0,0 +1,11 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}