[arch-commits] Commit in obexftp/trunk (PKGBUILD)
Giovanni Scafora
giovanni at nymeria.archlinux.org
Mon May 27 18:37:02 UTC 2013
Date: Monday, May 27, 2013 @ 20:37:01
Author: giovanni
Revision: 186489
upgpkg: obexftp 0.24-1
openobex 1.7 rebuild
Modified:
obexftp/trunk/PKGBUILD
----------+
PKGBUILD | 41 ++++++++++++++++++++++++-----------------
1 file changed, 24 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-27 18:00:04 UTC (rev 186488)
+++ PKGBUILD 2013-05-27 18:37:01 UTC (rev 186489)
@@ -3,33 +3,40 @@
# Contributor: Alessio 'mOLOk' Bolognino <themolok at 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
}
More information about the arch-commits
mailing list