summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ocaml-ssl/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/pcr/ocaml-ssl/PKGBUILD b/pcr/ocaml-ssl/PKGBUILD
index 8efd5a055..904dab1cb 100644
--- a/pcr/ocaml-ssl/PKGBUILD
+++ b/pcr/ocaml-ssl/PKGBUILD
@@ -1,17 +1,17 @@
# Contributor (Arch) : Denis Wernert <denis@wernert.info>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
-
pkgname=ocaml-ssl
-pkgver=0.4.6
+pkgver=0.4.7
pkgrel=3
pkgdesc="OCaml SSL Library"
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url="http://savonet.sourceforge.net/"
-license=('MIT')
-depends=('ocaml')
-makedepends=('openssl' 'ocaml-findlib')
-source=(ocaml-ssl-0.4.6.tar.gz::http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
-options=(!libtool !strip zipman !makeflags)
+license=('LGPL2.1')
+depends=('openssl')
+makedepends=('ocaml' 'ocaml-findlib')
+source=(ocaml-ssl-0.4.7.tar.gz::http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
+options=(!libtool !strip zipman !makeflags staticlibs)
+md5sums=('873533ce43cf4b88b4fb0ea27289320a')
build() {
@@ -25,6 +25,9 @@ package() {
cd $pkgname-$pkgver
mkdir -p $OCAMLFIND_DESTDIR/stublibs
OCAMLFIND_INSTFLAGS="-destdir $OCAMLFIND_DESTDIR -ldconf /dev/null" make install
+
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname/
+ cat README | cat README | awk 'BEGIN{P=0} /License/ {P = 1;} {if (P) print}' > $pkgdir/usr/share/licenses/$pkgname/license
}
# vim:set ts=2 sw=2 et: