PKGBUILDs/extra/obexftp/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
1,008 B
Bash

# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
pkgname=obexftp
pkgver=0.23
pkgrel=2
pkgdesc="A tool for transfer files to/from any OBEX enabled device"
arch=('i686' 'x86_64')
url="http://openobex.triq.net/obexftp/obexftp"
license=('GPL2')
depends=('openobex>=1.4' 'python>=2.6')
makedepends=('pkgconfig')
options=('!libtool')
#source=(http://downloads.sourceforge.net/sourceforge/openobex/$pkgname-$pkgver.tar.bz2)
source=(http://triq.net/obexftp/${pkgname}-${pkgver}-alpha.tar.bz2)
md5sums=('7bea3a452fdc216a31942f94b457ef7f')
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 $startdir/pkg/usr/lib/perl5/site_perl/5.10.0 $startdir/pkg/usr/lib/perl5/site_perl/current
rm -f $startdir/pkg/usr/lib/perl5/core_perl/perllocal.pod
}