summaryrefslogtreecommitdiff
path: root/pcr/ocaml-ssl/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 04:54:50 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 04:54:50 -0500
commite193fb9077d964835351f19bf8125c76032b94dc (patch)
tree56a768f03ef3a0a7f0150b9f26931e5d7f93a383 /pcr/ocaml-ssl/PKGBUILD
parent4c79c486e683d98e1904f537da41ad77d1b2c839 (diff)
ocaml-ssl-0.4.7-3: updating version
Diffstat (limited to 'pcr/ocaml-ssl/PKGBUILD')
-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: