diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/obexftp |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/obexftp')
-rw-r--r-- | extra/obexftp/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/obexftp/PKGBUILD b/extra/obexftp/PKGBUILD new file mode 100644 index 000000000..e6da6fd9d --- /dev/null +++ b/extra/obexftp/PKGBUILD @@ -0,0 +1,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') +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 +} |