From c7cb603f86b4d4fb6567e3faa15b916a306f7004 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Apr 2012 00:01:35 +0000 Subject: Tue Apr 3 00:01:35 UTC 2012 --- testing/gnome-dictionary/PKGBUILD | 28 +++++++++++++++++++++++ testing/gnome-dictionary/gnome-dictionary.install | 11 +++++++++ 2 files changed, 39 insertions(+) create mode 100644 testing/gnome-dictionary/PKGBUILD create mode 100644 testing/gnome-dictionary/gnome-dictionary.install (limited to 'testing/gnome-dictionary') diff --git a/testing/gnome-dictionary/PKGBUILD b/testing/gnome-dictionary/PKGBUILD new file mode 100644 index 000000000..e528515c9 --- /dev/null +++ b/testing/gnome-dictionary/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 155108 2012-04-01 11:33:02Z heftig $ +# Maintainer: Ionut Biru +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/testing/gnome-dictionary/gnome-dictionary.install b/testing/gnome-dictionary/gnome-dictionary.install new file mode 100644 index 000000000..c25dff2d3 --- /dev/null +++ b/testing/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 +} -- cgit v1.2.3-54-g00ecf