blob: 38574387a367d5d78ee0422e06e6aa9ba0efd04d (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Ruben De Smet <me at rubdos dot be>
pkgname='openscad-scad-utils-git'
_gitname='scad-utils'
pkgver=r22.ccf430e
pkgrel=1
pkgdesc='OpenSCAD utility functions'
url='https://github.com/openscad/scad-utils'
license=(
'MIT'
)
source=(
"git+https://github.com/openscad/scad-utils.git"
)
sha512sums=(
'SKIP'
)
arch=(
'x86_64'
'i686'
)
depends=(
'openscad'
)
pkgver() {
cd "$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
# nop
cat /dev/null
}
package() {
mkdir -p $pkgdir/usr/share/openscad/libraries/scad-utils/
cd "$_gitname"
install -Dm644 *.scad $pkgdir/usr/share/openscad/libraries/scad-utils/
}
|