diff options
author | Bartłomiej Piotrowski | 2018-01-06 22:04:33 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-06 22:04:33 +0100 |
commit | 9b829d9d42e6d476b133e0a7196152ad589fc5a9 (patch) | |
tree | 6e0e671ae6dc4494bc330bc4a3b77f99599124b7 | |
download | aur-9b829d9d42e6d476b133e0a7196152ad589fc5a9.tar.gz |
Import from official repositories
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f1fa0de46122 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = obexftp + pkgdesc = A tool for transfer files to/from any OBEX enabled device + pkgver = 0.24 + pkgrel = 12 + url = http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = asciidoc + makedepends = xmlto + makedepends = fuse2 + makedepends = swig + makedepends = ruby + makedepends = tk + depends = openobex + optdepends = ruby: ruby bindings + optdepends = tk: TCL/Tk bindings + options = !makeflags + options = !docs + source = http://downloads.sourceforge.net/openobex/obexftp-0.24-Source.tar.gz + md5sums = 31a50dbbd09c63cbb5399772aaff7936 + +pkgname = obexftp + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bd9a561cb5aa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 277856 2018-01-03 07:03:59Z foutrelis $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> + +pkgname=obexftp +pkgver=0.24 +pkgrel=12 +pkgdesc="A tool for transfer files to/from any OBEX enabled device" +arch=('x86_64') +url="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp" +license=('GPL') +depends=('openobex') +makedepends=('cmake' 'asciidoc' 'xmlto' 'fuse2' '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 +} |