PKGBUILDs/extra/libbtctl/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
902 B
Bash

# $Id: PKGBUILD 12617 2008-09-16 10:47:05Z jgc $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
pkgname=libbtctl
pkgver=0.10.0
pkgrel=2
pkgdesc="GObject wrapper for Bluetooth functionality."
arch=('i686' 'x86_64')
url="http://www.usefulinc.com/software/gnome-bluetooth/"
license=('GPL' 'LGPL')
depends=('glib2>=2.18.0' 'openobex>=1.3-3' 'bluez>=4.1')
makedepends=('intltool' 'python' 'gtk2')
options=('!libtool' '!makeflags')
source=(http://ftp.gnome.org/pub/GNOME/sources/libbtctl/0.10/${pkgname}-${pkgver}.tar.bz2
libbtctl-bluez4.patch)
md5sums=('83d5f90efb2b26d1bd12a668940d02ba'
'7ffbf62cbaa42be15ffb26ff71cc06cd')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np0 -i "${srcdir}/libbtctl-bluez4.patch" || return 1
./configure --prefix=/usr --disable-gtk-doc \
--disable-mono --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}