blob: ae3dd1a511a23212bcdd31afb51edab64a16b980 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Frederik Leonhardt <frederik at leonhardt dot co dot nz>
pkgname=('bluebrick-extras-official'
'bluebrick-extras-thirdparty')
pkgbase=bluebrick-extras
pkgver=20241027
pkgrel=3
pkgdesc="Extra parts for BlueBrick Lego Layout Planer"
arch=('any')
url="https://bluebrick.lswproject.com"
license=('GPL-3.0-only')
depends=('bluebrick')
source=("https://bluebrick.lswproject.com/download/package/Train.1.0.zip"
"https://bluebrick.lswproject.com/download/package/Vehicle.1.0.zip"
"https://bluebrick.lswproject.com/download/package/Space.1.0.zip"
"https://bluebrick.lswproject.com/download/package/Castle.1.1.zip"
"https://bluebrick.lswproject.com/download/package/Duplo.1.0.zip"
"https://bluebrick.lswproject.com/download/package/TrixBrix.1.8.3.zip"
"https://bluebrick.lswproject.com/download/package/BrickTracks.1.1.zip")
sha256sums=('0602ab842f851594cd9e6d0b913a02fcdb2bc4265fb4471203b8a86692488a8f'
'b6b96342586907a0f787653ff01000ecfe9c8bff62de0cd5d169c0bb29a647e1'
'eecedeed95f9312b1506561fcfa99e102e39b62458188293ad38db0ffed1102a'
'02d910a7f37760b6b6fb0be561c14284ef6734dcb26acb78520bc2896a00b286'
'0b3029d9dfbe8602f77ef3845e5e27a9f145764301bcb1ae32202f139e44a6e8'
'2c9cd733dd8fb77dd72c7709af9b9babf35906d867611a753d4ed8427ccce9a9'
'e25ab99a02fcd6ae02828fc00e7bc8b00cedcb52778f25940da36fbfc269aac4')
package_bluebrick-extras-official() {
pkgdesc="BlueBrick Lego Layout Planer - Official Extra Parts"
local partsdir='/opt/bluebrick/parts/'
local item
local extras=(
Train/
Vehicle/
Space/
Castle/
Duplo/
)
install -Ddm757 "$pkgdir/$partsdir"
for item in "${extras[@]}" ; do
cp -r "$srcdir/$item" "$pkgdir/$partsdir/"
done
}
package_bluebrick-extras-thirdparty() {
pkgdesc="BlueBrick Lego Layout Planer - Third Party Extra Parts"
license=('unknown')
local partsdir='/opt/bluebrick/parts/'
local item
local extras=(
TrixBrix/
BrickTracks/
)
install -Ddm757 "$pkgdir/$partsdir"
for item in "${extras[@]}" ; do
cp -r "$srcdir/$item" "$pkgdir/$partsdir/"
done
}
|