From c6a1cddbd5f8d50b9c5e21e78d443d9fa3752034 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 5 Jun 2015 08:15:40 +0000 Subject: imap: move symlink to -dev --- main/imap/APKBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'main/imap') diff --git a/main/imap/APKBUILD b/main/imap/APKBUILD index 75131595e6..e14d2c08cc 100644 --- a/main/imap/APKBUILD +++ b/main/imap/APKBUILD @@ -5,7 +5,7 @@ # build it shared pkgname=imap pkgver=2007f -pkgrel=1 +pkgrel=2 pkgdesc="An IMAP/POP server" url="http://www.washington.edu/imap" arch="all" @@ -52,16 +52,18 @@ package() { install -D -m644 c-client/$i.h \ "$pkgdir"/usr/include/imap/$i.h done + + install -Dm755 c-client/libc-client.so.1.0.0 \ + "$pkgdir"/usr/lib/libc-client.so.1.0.0 \ + || return 1 + ln -s libc-client.so.1.0.0 "$pkgdir"/usr/lib/libc-client.so.1 + ln -s libc-client.so.1.0.0 "$pkgdir"/usr/lib/libc-client.so } cclient() { pkgdesc="UW IMAP c-client library" - cd "$srcdir"/$pkgname-$pkgver - install -Dm755 c-client/libc-client.so.1.0.0 \ - "$subpkgdir"/usr/lib/libc-client.so.1.0.0 - cd "$subpkgdir"/usr/lib - ln -s libc-client.so.1.0.0 libc-client.so.1 - ln -s libc-client.so.1.0.0 libc-client.so + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ || return 1 } md5sums="2126fd125ea26b73b20f01fcd5940369 imap-2007f.tar.gz -- cgit v1.2.3