summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ee3cc68189b4c80cc9acb899b26d7d099514071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Karol "Kenji Takahashi" Woźniak <kenji.sx>

pkgname=openscad-round-anything
pkgver=1.0.4
pkgrel=1
pkgdesc="A set of OpenSCAD utilities for adding radii and fillets."
arch=('any')
url="https://github.com/Irev-Dev/Round-Anything"
license=('MIT')
depends=(
    'openscad'
)
source=("https://github.com/Irev-Dev/Round-Anything/archive/refs/tags/${pkgver}.tar.gz")

_dirbase="Round-Anything"
build() {
    mv "${_dirbase}-${pkgver}" "${_dirbase}"
}

package() {
    find "${_dirbase}" -name '*.scad' -exec install -Dm744 '{}' "${pkgdir}/usr/share/openscad/libraries/{}" \;
    install -Dm644 "${_dirbase}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
sha1sums=('79b808b8d4624a642808821ca26501ecf49c6722')