1 # Contributor: Roberto Carvajal <roberto@archlinux.org>
2 # Contributor: Kritoke <typeolinux@yahoo.com>
7 pkgdesc="A source oriented web site development environment for GNOME"
10 url="http://www.screem.org"
11 depends=('gtksourceview>=1.8.5-2' 'libgtkhtml>=2.11.1' 'libgnomeui>=2.24.1' 'libcroco>=0.6.2' 'libgnomeprintui>=2.18.4' 'startup-notification>=0.10' 'enchant>=1.4.2' 'gnome-menus>=2.26.1' 'desktop-file-utils')
12 makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils')
14 install=screem.install
15 source=(http://downloads.sourceforge.net/sourceforge/screem/screem-${pkgver}.tar.gz
18 md5sums=('88bfc0afadb905ddbed9bdfbc869602a'
19 'd8f855a89a6f1479085cd88956d773c1'
20 '2a26231fbab056165d84bad03dfb3edd')
23 cd "${srcdir}/${pkgname}-${pkgver}"
24 patch -Np0 -i "${srcdir}/goption.patch" || return 1
25 patch -Np1 -i "${srcdir}/dbus-dontclose.patch" || return 1
27 sed -e 's/-DGNOME_DISABLE_DEPRECATED//g' \
28 -e 's/-DGNOMEUI_DISABLE_DEPRECATED//g' \
29 -e 's/-DGTK_DISABLE_DEPRECATED//g' \
30 -i configure || return 1
32 ./configure --prefix=/usr --sysconfdir=/etc \
33 --localstatedir=/var \
34 --disable-update-mime \
35 --disable-update-desktop \
38 --disable-schemas-install || return 1
40 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
41 DESTDIR="${pkgdir}" install || return 1
43 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
44 gconf-merge-schema ${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas --domain screem ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
45 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas