summaryrefslogtreecommitdiff
path: root/extra/obexd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/obexd/PKGBUILD')
-rw-r--r--extra/obexd/PKGBUILD49
1 files changed, 0 insertions, 49 deletions
diff --git a/extra/obexd/PKGBUILD b/extra/obexd/PKGBUILD
deleted file mode 100644
index 083752d7c..000000000
--- a/extra/obexd/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 187865 2013-06-07 09:25:01Z tomegun $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
-
-pkgbase=obexd
-pkgname=('obexd-client' 'obexd-server')
-epoch=1
-pkgver=0.46
-pkgrel=2
-url="http://www.bluez.org/"
-arch=('i686' 'x86_64' 'mips64el')
-license=('GPL2')
-makedepends=('bluez4' 'bluez-libs' 'libical' 'glib2')
-source=("http://www.kernel.org/pub/linux/bluetooth/${pkgbase}-${pkgver}.tar.bz2")
-md5sums=('625f0417d119437429c9cce29479cfa4')
-
-build() {
- cd ${pkgbase}-${pkgver}
- sed -i 's/#include <string.h>/&\n#include <stdio.h>/' plugins/mas.c
- ./configure --prefix=/usr \
- --libexecdir=/usr/lib/obexd
- make
-}
-
-package_obexd-client() {
- pkgdesc="D-Bus service providing high-level OBEX client side functionality"
- depends=('bluez4' 'bluez-libs' 'glib2')
- provides=("obexd=${pkgver}")
- replaces=('obexd')
- conflicts=('obexd')
-
- cd ${pkgbase}-${pkgver}/client
- install -m755 -d "${pkgdir}/usr/lib/obexd"
- install -m755 -d "${pkgdir}/usr/share/dbus-1/services"
- install -m755 obex-client "${pkgdir}/usr/lib/obexd/"
- install -m644 obex-client.service "${pkgdir}/usr/share/dbus-1/services/"
-}
-
-package_obexd-server() {
- pkgdesc="D-Bus service providing high-level OBEX server side functionality"
- depends=('bluez4' 'bluez-libs' 'libical' 'glib2')
- conflicts=('obex-data-server')
-
- cd ${pkgbase}-${pkgver}/src
- install -m755 -d "${pkgdir}/usr/lib/obexd"
- install -m755 -d "${pkgdir}/usr/share/dbus-1/services"
- install -m755 obexd "${pkgdir}/usr/lib/obexd/"
- install -m644 obexd.service "${pkgdir}/usr/share/dbus-1/services/"
-}