PKGBUILDs/extra/gnome-user-share/PKGBUILD
2009-10-09 21:23:22 -05:00

29 lines
1.2 KiB
Bash

# $Id: PKGBUILD 49730 2009-08-15 13:34:02Z jgc $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
pkgname=gnome-user-share
pkgver=2.26.0
pkgrel=1
pkgdesc="Easy to use user-level file sharing for GNOME."
arch=('i686' 'x86_64')
url="http://ftp.gnome.org/pub/GNOME/sources/gnome-user-share/"
license=('GPL')
depends=('mod_dnssd' 'gconf>=2.26.0-2' 'hicolor-icon-theme' 'libnotify>=0.4.5' 'libsm')
makedepends=('intltool' 'gnome-doc-utils>=0.16.0')
options=('!emptydirs')
install=gnome-user-share.install
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
md5sums=('c99133b74a81a78ac0e4e10ef73fada7')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gnome-user-share \
--localstatedir=/var || return 1
make || return 1
make 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 gnome-user-share ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}