PKGBUILDs/extra/gucharmap/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.1 KiB
Bash

# $Id: PKGBUILD 44704 2009-07-03 18:09:15Z jgc $
# Maintainer: Jan De Groot <jgc@archlinux.org>
pkgname=gucharmap
pkgver=2.26.3.1
pkgrel=1
pkgdesc="Gnome Unicode Charmap"
arch=(i686 x86_64)
license=('GPL')
url="http://www.gnome.org"
depends=('gconf>=2.26.0-2')
makedepends=('gnome-doc-utils>=0.16.1' 'pkgconfig' 'intltool')
groups=('gnome-extra')
options=('!libtool' '!emptydirs')
install=gucharmap.install
source=(http://ftp.gnome.org/pub/gnome/sources/gucharmap/2.26/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3d13ad452860b1facc9765713bc96d33')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--disable-scrollkeeper || return 1
make || return 1
make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gucharmap ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}