diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/obexd/APKBUILD | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/testing/obexd/APKBUILD b/testing/obexd/APKBUILD index f75b37a46c..64913477c8 100644 --- a/testing/obexd/APKBUILD +++ b/testing/obexd/APKBUILD @@ -1,12 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=obexd pkgver=0.37 -pkgrel=0 -pkgdesc="D-Bus service providing high-level OBEX client and server side functionality" +pkgrel=1 +pkgdesc="D-Bus service for Obex Server" url="http://www.bluez.org/" arch="x86 x86_64" license="GPL2" depends= +subpackages="$pkgname-client" makedepends="dbus-glib-dev openobex-dev glib-dev bluez-dev libical-dev" source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2" @@ -23,4 +24,20 @@ package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install } + +_mv_files() { + local i + for i in "$@"; do + mkdir -p "$subpkgdir"/${i%/*} + mv "$pkgdir"/$i "$subpkgdir"/$i || return 1 + done +} + +client() { + pkgdesc="D-Bus service for Obex Client access" + cd "$pkgdir" + _mv_files usr/lib/obexd/obex-client \ + usr/share/dbus-*/services/obex-client.service +} + md5sums="3126eced7f9d36aa52c3684bb31421e8 obexd-0.37.tar.bz2" |