Date: Saturday, September 4, 2010 @ 06:07:43 Author: remy Revision: 89833
upgpkg: obexftp 0.23-4 Rebuild for python 2.7 Modified: obexftp/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-09-04 10:01:59 UTC (rev 89832) +++ PKGBUILD 2010-09-04 10:07:43 UTC (rev 89833) @@ -4,12 +4,12 @@ pkgname=obexftp pkgver=0.23 -pkgrel=3 +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' 'python') +depends=('openobex' 'python2') makedepends=('pkgconfig') options=('!libtool') source=(http://downloads.sourceforge.net/openobex/${pkgname}-${pkgver}.tar.bz2) @@ -19,11 +19,14 @@ cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ - --disable-ruby || return 1 - make || return 1 + --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 + # 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 }