Package Details: openscad-bosl-git r205.7c305fe-2

Git Clone URL: https://aur.archlinux.org/openscad-bosl-git.git (read-only, click to copy)
Package Base: openscad-bosl-git
Description: BOSL library for OpenSCAD
Upstream URL: github.com/revarbat/BOSL
Licenses: BSD 2-Clause
Submitter: helsotainer
Maintainer: helsotainer
Last Packager: helsotainer
Votes: 0
Popularity: 0.000000
First Submitted: 2019-11-04 16:03 (UTC)
Last Updated: 2019-11-04 16:08 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

dack commented on 2022-07-21 07:21 (UTC)

Source fails to download, works when I change it to:

source=("git+https://github.com/revarbat/BOSL.git")

rayqui commented on 2021-05-26 12:00 (UTC)

It looks like it is still broken. Manually installed library works, but not when installed via this package.

There is a "Flag package out-of-date" which according to the description shouldn't be used for broken packages, so why isn't there a "Flag package broken"?

AgentElement commented on 2020-12-16 15:35 (UTC)

This package moves the BOSL directory to $libraries/src/BOSL, instead of $libraries/BOSL.

This comment describes a better package function.

dack commented on 2020-04-26 21:33 (UTC)

I'd suggest the following package() function, to include examples and install everything in the correct locations.

package() {
  cd "${srcdir}/${_name}"

  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

  install -d -m 755 "${pkgdir}/usr/share/openscad/libraries/BOSL"
  install -D -m 644 ${srcdir}/BOSL/*.scad "${pkgdir}/usr/share/openscad/libraries/BOSL"

  install -d -m 755 "${pkgdir}/usr/share/openscad/examples/BOSL"
  install -D -m 644 ${srcdir}/BOSL/examples/* "${pkgdir}/usr/share/openscad/examples/BOSL"
}

@helsotainer are you still interested in maintaining this package? If not, I'd be willing to take it over and make updates.

theaifam5 commented on 2019-11-29 16:07 (UTC) (edited on 2019-11-29 16:07 (UTC) by theaifam5)

Hey,

Can you fix following issues?

  1. Invalid Upstream URL (missing https)
  2. Files are installed to '/usr/share/openscad/libraries/src/BOSL/`
  3. install to '/usr/share/openscad/libraries/bols/` maybe like this:
package() {
  cd "${_name}"

  rm -rf "examples" # You can install this to /usr/share/openscad/examples/bols
  rm -rf "tests" # nobody needs it here


  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  mkdir -p "${pkgdir}/usr/share/openscad/libraries/"

  find . -type f -name '*.scad' -exec install -Dm 744 '{}' "$pkgdir/usr/share/openscad/libraries/bosl/{}" \;
}

Regards, TheAifam5