diff options
author | Rod Kay | 2022-12-06 01:09:07 +1100 |
---|---|---|
committer | Rod Kay | 2022-12-06 01:09:07 +1100 |
commit | 211e81dee44ead2878802386c1fd85d9e3383b48 (patch) | |
tree | 69cbe5278eca445439a6c01abdf9fe0e72624dc6 /PKGBUILD | |
parent | 1c7fd6dc440e03798d512565ef3d5a111ec41604 (diff) | |
download | aur-211e81dee44ead2878802386c1fd85d9e3383b48.tar.gz |
Fix install of docs to 'home' or 'tmp' folder.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgname=ocaml-ocplib-simplex-git pkgver=0.5.r0.g9b0944c -pkgrel=3 +pkgrel=4 pkgdesc='simplex algorithm implementation for solving systems of linear inequalities and optimizing linear objective functions' url='https://github.com/OCamlPro-Iguernlala/ocplib-simplex' @@ -17,7 +17,7 @@ source=('git+https://github.com/OCamlPro-Iguernlala/ocplib-simplex' 'dirs.patch') sha256sums=('SKIP' - '8640fee9d5f773a79e992c564555b0448763e8a4d15060571984df7f754afb50') + '18b406548801f5c54b3f2fce5dcd56ad94f923cbe81b93d9c0aa4df0e76f5c8a') pkgver() { cd ocplib-simplex @@ -43,18 +43,4 @@ check() { package() { cd ocplib-simplex make LIBDIR="$(ocamlc -where)" DESTDIR="$pkgdir" install - - # Workaround the install of docs to 'tmp' or 'home' folder. - # - if [ -d "$pkgdir/tmp" ]; - then - mv "$pkgdir/tmp/makepkg/ocaml-ocplib-simplex-git/pkg/ocaml-ocplib-simplex-git/usr/share" \ - "$pkgdir/usr" - rm -fr "$pkgdir/tmp" - - else - mv "$pkgdir/home/makepkg/ocaml-ocplib-simplex-git/pkg/ocaml-ocplib-simplex-git/usr/share" \ - "$pkgdir/usr" - rm -fr "$pkgdir/home" - fi } |