diff options
author | root <root@rshg054.dnsready.net> | 2013-06-02 00:52:43 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-02 00:52:43 -0700 |
commit | 8831500349d38b0b1afcb74ada3f6878c31fb6ef (patch) | |
tree | f8ac5b9b66a8dd74a6c6ca07380e5310d61a0b3a /extra/obexftp | |
parent | c0d441a203fe115f12c4db3d9753e16cc5a73b58 (diff) |
Sun Jun 2 00:52:37 PDT 2013
Diffstat (limited to 'extra/obexftp')
-rw-r--r-- | extra/obexftp/PKGBUILD | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/extra/obexftp/PKGBUILD b/extra/obexftp/PKGBUILD index 806d1a3f2..6d7dfbf7b 100644 --- a/extra/obexftp/PKGBUILD +++ b/extra/obexftp/PKGBUILD @@ -1,35 +1,42 @@ -# $Id: PKGBUILD 143919 2011-11-30 20:53:04Z giovanni $ +# $Id: PKGBUILD 186963 2013-06-01 15:32:07Z eric $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> pkgname=obexftp -pkgver=0.23 -pkgrel=5 +pkgver=0.24 +pkgrel=1 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=('pkg-config') -options=('!libtool') -source=("http://downloads.sourceforge.net/openobex/${pkgname}-${pkgver}.tar.bz2") -md5sums=('f20762061b68bc921e80be4aebc349eb') +depends=('openobex') +makedepends=('cmake' 'asciidoc' 'xmlto' 'fuse' 'swig' 'ruby' 'tk') +optdepends=('ruby: ruby bindings' + 'tk: TCL/Tk bindings') +options=('!makeflags' '!libtool' '!docs') +source=("http://downloads.sourceforge.net/openobex/${pkgname}-${pkgver}-Source.tar.gz") +md5sums=('31a50dbbd09c63cbb5399772aaff7936') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/" - ./configure --prefix=/usr \ - --disable-ruby \ - --enable-python - make + mkdir build + cd build + cmake ../${pkgname}-${pkgver}-Source \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_SBINDIR=bin \ + -DENABLE_PERL=YES \ + -DENABLE_PYTHON=YES \ + -DENABLE_RUBY=YES \ + -DENABLE_TCL=YES + make doc } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/build" make DESTDIR="${pkgdir}" install - - # 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 } |