diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 7 insertions, 8 deletions
@@ -1,14 +1,14 @@ pkgbase = ocaml-graphics pkgdesc = Graphics library from OCaml - pkgver = 5.1.0 + pkgver = 5.1.1 pkgrel = 1 url = https://github.com/ocaml/graphics arch = x86_64 license = LGPL2.1 makedepends = dune depends = ocaml>=4.0.9 - source = https://github.com/ocaml/graphics/archive/5.1.0.tar.gz - sha256sums = 132e0597f42b11ef5d9b0a523fee2edab7c55efd9c3f198d5574349b4595fafb + source = https://github.com/ocaml/graphics/archive/5.1.1.tar.gz + sha256sums = dbef15667cdab65672c60739d5e51ff4341b9595fbc6e39003368637b5915240 pkgname = ocaml-graphics @@ -5,7 +5,7 @@ # This package contains it. pkgname=ocaml-graphics -pkgver=5.1.0 +pkgver=5.1.1 pkgrel=1 pkgdesc="Graphics library from OCaml" arch=('x86_64') @@ -14,7 +14,7 @@ license=('LGPL2.1') depends=('ocaml>=4.0.9') makedepends=('dune') source=("https://github.com/ocaml/graphics/archive/${pkgver}.tar.gz") -sha256sums=('132e0597f42b11ef5d9b0a523fee2edab7c55efd9c3f198d5574349b4595fafb') +sha256sums=('dbef15667cdab65672c60739d5e51ff4341b9595fbc6e39003368637b5915240') build() { cd "${srcdir}/graphics-${pkgver}" @@ -25,18 +25,17 @@ build() { package() { cd "${srcdir}/graphics-${pkgver}" - DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml" - install -dm755 "${pkgdir}/usr/share/" + DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "lib/ocaml" # there's nothing useful inside rm -r "${pkgdir}/usr/doc/" + # license has an addition to LGPL2.1 install -Dm644 "$srcdir"/graphics-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE # unfortunately, the files won't be found in the subfolder. Linking them cd "${pkgdir}/usr/lib/ocaml/" - for file in graphics/*graphics* do ln -s graphics/$(basename "$file") $(basename "$file") |