summaryrefslogtreecommitdiff
path: root/extra/obexftp/PKGBUILD
blob: 62727963f86f28692b5910dcf3ebc66871a06039 (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
# $Id: PKGBUILD 89833 2010-09-04 10:07:43Z remy $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>

pkgname=obexftp
pkgver=0.23
pkgrel=4
pkgdesc="A tool for transfer files to/from any OBEX enabled device"
arch=('i686' 'x86_64' 'mips64el')
url="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
license=('GPL')
depends=('openobex' 'python2')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://downloads.sourceforge.net/openobex/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f20762061b68bc921e80be4aebc349eb')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --disable-ruby --enable-python || return 1
  make
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1

  # remove nasty files
  # mv ${pkgdir}/usr/lib/perl5/site_perl/5.10.0 ${pkgdir}/usr/lib/perl5/site_perl/current
  rm -f ${pkgdir}/usr/lib/perl5/core_perl/perllocal.pod
}