aboutsummaryrefslogtreecommitdiffstats
path: root/main/udisks2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-25 17:04:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-25 17:05:37 +0000
commitfa62b9659d65d2e2f133302546d9d8d8b9f77586 (patch)
tree0011c05bd87366f37933f34b23814ab246c27d99 /main/udisks2/APKBUILD
parent3cacc3cd9681b20438002cb7a54ef144d8f329c5 (diff)
downloadaports-fa62b9659d65d2e2f133302546d9d8d8b9f77586.tar.bz2
aports-fa62b9659d65d2e2f133302546d9d8d8b9f77586.tar.xz
main/udisks2: split out libs subpackage
Diffstat (limited to 'main/udisks2/APKBUILD')
-rw-r--r--main/udisks2/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/udisks2/APKBUILD b/main/udisks2/APKBUILD
index 9975641ea0..b752d1e480 100644
--- a/main/udisks2/APKBUILD
+++ b/main/udisks2/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udisks2
pkgver=1.97.0
-pkgrel=0
+pkgrel=1
pkgdesc="Disk Manager"
url="http://www.freedesktop.org/wiki/Software/udisks"
arch="all"
@@ -12,7 +12,7 @@ depends_dev="glib-dev gobject-introspection-dev polkit-dev libatasmart-dev
udev-dev acl-dev"
makedepends="$depends_dev intltool gtk-doc"
install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2
O_CLOEXEC.patch
sys-wait.patch
@@ -46,6 +46,14 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
+libs() {
+ pkgdesc="Dynamic library to access the udisks daemon"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/lib*.so.* \
+ "$pkgdir"/usr/lib/girepository* \
+ "$subpkgdir"/usr/lib/
+}
+
md5sums="8ae4ef908ab706789e0e2b33d8810877 udisks-1.97.0.tar.bz2
fd70ee4163c5bfd9bd474c28a2548c46 O_CLOEXEC.patch
4c7aa82c180c809f565c55325ce9eb20 sys-wait.patch