core/obexftp/PKGBUILD

30 lines
945 B
Bash
Raw Normal View History

# $Id: PKGBUILD 68083 2010-02-10 17:47:52Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=obexftp
pkgver=0.23
pkgrel=3
pkgdesc="A tool for transfer files to/from any OBEX enabled device"
arch=('i686' 'x86_64')
url="http://openobex.triq.net/obexftp/obexftp"
license=('GPL')
depends=('openobex>=1.5' 'python>=2.6')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/openobex/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f20762061b68bc921e80be4aebc349eb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--disable-ruby || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
# remove nasty files
mv ${pkgdir}/usr/lib/perl5/site_perl/5.10.1 ${pkgdir}/usr/lib/perl5/site_perl/current
rm -f ${pkgdir}/usr/lib/perl5/core_perl/perllocal.pod
}