diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/obexftp | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/obexftp')
-rw-r--r-- | community/obexftp/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/obexftp/PKGBUILD b/community/obexftp/PKGBUILD new file mode 100644 index 000000000..0ed07065a --- /dev/null +++ b/community/obexftp/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 102177 2013-12-06 12:11:56Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> + +pkgname=obexftp +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') +makedepends=('cmake' 'asciidoc' 'xmlto' 'fuse' 'swig' 'ruby' 'tk') +optdepends=('ruby: ruby bindings' + 'tk: TCL/Tk bindings') +options=('!makeflags' '!docs') +source=("http://downloads.sourceforge.net/openobex/${pkgname}-${pkgver}-Source.tar.gz") +md5sums=('31a50dbbd09c63cbb5399772aaff7936') + +build() { + cd "${srcdir}/" + + 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}/build" + + make DESTDIR="${pkgdir}" install +} |