summaryrefslogtreecommitdiff
path: root/extra/obex-data-server/PKGBUILD
blob: c290417ccd33e19fa2892ef56ad4dd5a6491b1c2 (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 187105 2013-06-03 20:13:14Z andrea $
# 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=7
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
}