diff options
author | Dimitris Kiziridis | 2020-05-14 04:56:04 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-14 04:56:04 +0300 |
commit | 4022749ea36bddc86bff388c3c26df61e9214793 (patch) | |
tree | 86ebb8a22fb4ac3287dbcdd09e3b24a2d4c39cfd | |
parent | b496a56f1e81fffc1248a7aaf64978e6a148f846 (diff) | |
download | aur-4022749ea36bddc86bff388c3c26df61e9214793.tar.gz |
sanitize pkgbuild
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 7 deletions
@@ -8,13 +8,12 @@ pkgbase = ocaml-curl arch = armv7h license = MIT makedepends = ocaml-findlib - depends = ocaml depends = curl>=7.28.0 options = !strip options = !makeflags options = staticlibs - source = https://github.com/ygrek/ocurl/archive/0.9.1.tar.gz - md5sums = 98dd56308f4ab0859e549232b602a733 + source = ocaml-curl-0.9.1.tar.gz::https://github.com/ygrek/ocurl/archive/0.9.1.tar.gz + sha256sums = 2b3f8a44321c2e086b6d3bd6da4d9b1f9f4a71cb85a8f64e03af8e042f66de0e pkgname = ocaml-curl @@ -5,14 +5,14 @@ pkgname=ocaml-curl pkgver=0.9.1 pkgrel=4 pkgdesc='OCaml bindings to libcurl' +url='https://ygrek.org.ua/p/ocurl' arch=('i686' 'x86_64' 'armv7h') license=('MIT') -depends=('ocaml' 'curl>=7.28.0') +depends=('curl>=7.28.0') makedepends=('ocaml-findlib') options=('!strip' '!makeflags' 'staticlibs') -url='https://ygrek.org.ua/p/ocurl' -source=("https://github.com/ygrek/ocurl/archive/${pkgver}.tar.gz") -md5sums=('98dd56308f4ab0859e549232b602a733') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ygrek/ocurl/archive/${pkgver}.tar.gz") +sha256sums=('2b3f8a44321c2e086b6d3bd6da4d9b1f9f4a71cb85a8f64e03af8e042f66de0e') build() { cd "${srcdir}/ocurl-${pkgver}" @@ -25,4 +25,5 @@ package() { export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" install -dm 755 "${OCAMLFIND_DESTDIR}/stublibs" make install FINDLIB=ocamlfind + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" }
\ No newline at end of file |