summaryrefslogtreecommitdiff
path: root/pcr/ocaml-ssl
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-05-30 15:39:23 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-05-30 15:39:23 -0500
commit29f649f92e78edca4f0445c2f48a54d2ce57039e (patch)
tree73a746ab52532569e2a5a9fe0876a6b1cbaa35fb /pcr/ocaml-ssl
parent4a27f5dcf6407c7db060640c9319b4ee07e992ab (diff)
downloadabslibre-29f649f92e78edca4f0445c2f48a54d2ce57039e.tar.gz
abslibre-29f649f92e78edca4f0445c2f48a54d2ce57039e.tar.bz2
abslibre-29f649f92e78edca4f0445c2f48a54d2ce57039e.zip
ocaml-ssl-0.5.1-1: updating version
Diffstat (limited to 'pcr/ocaml-ssl')
-rw-r--r--pcr/ocaml-ssl/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/pcr/ocaml-ssl/PKGBUILD b/pcr/ocaml-ssl/PKGBUILD
index 25d221621..6ccbcbe2c 100644
--- a/pcr/ocaml-ssl/PKGBUILD
+++ b/pcr/ocaml-ssl/PKGBUILD
@@ -1,21 +1,23 @@
+# Maintainer (Arch): Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor (Arch): Denis Wernert <denis@wernert.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=ocaml-ssl
-pkgver=0.5.0
+pkgver=0.5.1
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
url="http://savonet.sourceforge.net/"
-license=('LGPL2.1')
+license=('custom')
depends=('openssl')
-makedepends=('ocaml' 'ocaml-findlib')
-source=(ocaml-ssl-0.5.0.tar.gz::http://sourceforge.net/projects/savonet/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz/download)
+makedepends=('ocaml' 'ocaml-findlib' 'autoconf')
+source=(https://github.com/savonet/${pkgname}/archive/${pkgver}.tar.gz)
options=(!libtool !strip zipman !makeflags staticlibs)
-md5sums=('72e5cca19b8da552e8b57b9138841f43')
+md5sums=('5449389dfefac721d28144665db1643f')
build() {
cd $pkgname-$pkgver
+ autoconf
./configure --prefix /usr
make
}
@@ -25,6 +27,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/
+ awk 'BEGIN{P=0} /License/ {P = 1;} {if (P) print}' README.md > $pkgdir/usr/share/licenses/$pkgname/license
}
# vim:set ts=2 sw=2 et: