updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gthumb-dev / PKGBUILD
bloba42f63fdcc002fa1f192f5c487f450b19847800c
1 # Maintainer: garrett18 <garrett16 at hotmail dot it>
3 pkgname=gthumb-dev
4 _realname=gthumb
5 pkgver=2.13.1
6 pkgrel=1
7 pkgdesc="Image browser and viewer for the GNOME Desktop"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 url="http://live.gnome.org/gthumb"
11 depends=('clutter-gtk' 'desktop-file-utils' 'exiv2' 'hicolor-icon-theme')
12 makedepends=('brasero' 'gnome-doc-utils' 'gstreamer0.10-base' 'intltool' 'libsm')
13 optdepends=('brasero: burn disc support'
14             'gstreamer0.10-base: video support')
15 provides=(${_realname})
16 conflicts=(${_realname} ${_realname}-git)
17 options=('!libtool' '!emptydirs')
18 install=${pkgname}.install
19 source=(http://ftp.gnome.org/pub/GNOME/sources/${_realname}/${pkgver%.*}/${_realname}-${pkgver}.tar.bz2)
20 sha256sums=('3b124e1b3ae5a3496d9392c11052792e5168535b849756b53cefd9d7b1e8e7b9')
22 build() {
23   cd "${srcdir}/${_realname}-${pkgver}"
25   ./configure --prefix=/usr --sysconfdir=/etc \
26               --localstatedir=/var --disable-static
27   make
30 package() {
31   cd "${srcdir}/${_realname}-${pkgver}"
33   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
35   install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
36   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_realname}.schemas" \
37     --domain "${_realname}" "${pkgdir}"/etc/gconf/schemas/*.schemas
38   rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas