updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / screem / PKGBUILD
blob74895d4b27b02d8c9f544fde7c3fa9128ea51a5d
1 # Contributor: Roberto Carvajal <roberto@archlinux.org>
2 # Contributor: Kritoke <typeolinux@yahoo.com>
4 pkgname=screem
5 pkgver=0.16.1
6 pkgrel=7
7 pkgdesc="A source oriented web site development environment for GNOME"
8 arch=(i686 x86_64)
9 license=('GPL')
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')
13 options=('!libtool')
14 install=screem.install
15 source=(http://downloads.sourceforge.net/sourceforge/screem/screem-${pkgver}.tar.gz
16         goption.patch
17         dbus-dontclose.patch)
18 md5sums=('88bfc0afadb905ddbed9bdfbc869602a'
19          'd8f855a89a6f1479085cd88956d773c1'
20          '2a26231fbab056165d84bad03dfb3edd')
22 build() {
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 \
36         --enable-dbus \
37         --enable-enchant \
38         --disable-schemas-install || return 1
39   make || 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