Advertisement
dedoz

lib32-gconf.PKGBUILD

Jun 12th, 2013
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. # Maintainer: dedoz <d3d0zz@gmail.com>
  2. # Contributor: josephgbr <rafael.f.f1@gmail.com>
  3.  
  4. _pkgbase=gconf
  5. pkgname=lib32-${_pkgbase}-nogtk-nopolkit-noldap
  6. pkgver=3.2.6
  7. pkgrel=1
  8. pkgdesc="A configuration database system (32 bit), highly stripped version"
  9. arch=('x86_64')
  10. license=('LGPL')
  11. url="http://www.gnome.org"
  12. depends=('lib32-libxml2' 'lib32-dbus-glib' "${_pkgbase}")
  13. makedepends=('intltool' 'gcc-multilib' 'gobject-introspection') #gtk-doc
  14. provides=("lib32-gconf")
  15. replaces=('lib32-gconf')
  16. options=('!libtool')
  17. install=${_pkgbase}.install
  18. source=(http://ftp.gnome.org/pub/gnome/sources/GConf/3.2/GConf-${pkgver}.tar.xz
  19. gconf-reload.patch
  20. 01_xml-gettext-domain.patch)
  21. sha256sums=('1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c'
  22. '567b78d8b4b4bbcb77c5f134d57bc503c34867fcc6341c0b01716bcaa4a21694'
  23. 'c883dec2b96978874a53700cfe7f26f24f8296767203e970bc6402b4b9945eb8')
  24.  
  25. build() {
  26. export CC='gcc -m32'
  27. export CXX='g++ -m32'
  28. export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
  29.  
  30. cd GConf-${pkgver}
  31.  
  32. # Patch from fedora - reloads gconf after installing schemas
  33. patch -Np1 -i "${srcdir}"/gconf-reload.patch
  34. # http://bugzilla.gnome.org/show_bug.cgi?id=568845
  35. patch -Np1 -i "${srcdir}"/01_xml-gettext-domain.patch
  36.  
  37. # Python2 fix
  38. sed -i '1s|#!/usr/bin/env python$|&2|' gsettings/gsettings-schema-convert
  39.  
  40. ./configure \
  41. --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  42. --disable-defaults-service --without-openldap --disable-static --disable-orbit \
  43. --disable-gtk --disable-gsettings-backend --libdir=/usr/lib32 --libexecdir=/usr/lib32/GConf \
  44. --disable-gtk-doc
  45.  
  46. make pkglibdir=/usr/lib32/GConf
  47. }
  48.  
  49. package() {
  50. make -C GConf-${pkgver} DESTDIR="${pkgdir}" install
  51. rm -rf "${pkgdir}"/{etc,usr/{bin,include,share}}
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement