summaryrefslogtreecommitdiff
path: root/main/imap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/imap/APKBUILD')
-rw-r--r--main/imap/APKBUILD16
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