diff options
Diffstat (limited to 'pcr/ocaml-ssl')
-rw-r--r-- | pcr/ocaml-ssl/PKGBUILD | 15 |
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: |