diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-05 08:15:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-05 13:56:22 +0000 |
commit | c6a1cddbd5f8d50b9c5e21e78d443d9fa3752034 (patch) | |
tree | b4901894b91f713457db5b12de344d9d5459e4f4 /main | |
parent | 98f5c96a8067b7272f95aab05657a4cd3e375105 (diff) | |
download | aports-c6a1cddbd5f8d50b9c5e21e78d443d9fa3752034.zip |
imap: move symlink to -dev
Diffstat (limited to 'main')
-rw-r--r-- | main/imap/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/main/imap/APKBUILD b/main/imap/APKBUILD index 75131595e6f..e14d2c08cc3 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 |