From e193fb9077d964835351f19bf8125c76032b94dc Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 30 Apr 2015 04:54:50 -0500 Subject: ocaml-ssl-0.4.7-3: updating version --- pcr/ocaml-ssl/PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'pcr/ocaml-ssl/PKGBUILD') 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 # Maintainer (Parabola) : Aurélien DESBRIÈRES - 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: -- cgit v1.2.3-54-g00ecf