summaryrefslogtreecommitdiff
path: root/extra/obex-data-server/PKGBUILD
blob: ae98383622f5f9f532374b1df36154b139d04dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 192478 2013-08-12 20:25:45Z eric $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: Keerthi <keerthi.linux@gmail.com>

pkgname=obex-data-server
pkgver=0.4.6
pkgrel=8
pkgdesc="A D-Bus service providing high-level OBEX client and server side functionality"
arch=('i686' 'x86_64')
url="http://wiki.muiline.com/obex-data-server"
license=('GPL')
depends=('dbus-glib' 'openobex' 'imagemagick' 'libusb-compat')
source=("http://tadas.dailyda.com/software/${pkgname}-${pkgver}.tar.gz"
        "obex-data-server-openobex17.patch")
md5sums=('961ca5db6fe9c97024e133cc6203cc4d'
         '4199b3f0178d2b58eb36ee36ed1d07d5')

prepare() {
  cd ${pkgname}-${pkgver}
  patch -p1 -i "${srcdir}/obex-data-server-openobex17.patch"
}

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr \
    --sysconfdir=/etc
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}