PKGBUILDs/community/openlh-client/PKGBUILD
2009-10-09 21:15:33 -05:00

27 lines
1,005 B
Bash

# Maintainer: Hugo Doria <hugo@archlinux.org>
# Contributor: Wilson Pinto Júnior <n3rd3x@guake-terminal.org>
pkgname=openlh-client
pkgver=0.2
pkgrel=1
pkgdesc="A Free OpenLanhouse Client, Client module"
arch=('i686' 'x86_64')
url="http://openlanhouse.org"
depends=('pygtk' 'dbus-python' 'dbus-glib' 'gnome-panel' 'openlh-core' 'gnome-python')
makedepends=('intltool')
license=('GPL3')
source=(http://openlanhouse.org/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('50b9322409b3a248cfc7f2a610b4d2ee')
install=openlh-client.install
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/openlh-client/
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 ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}