blob: e591b9ce24baed24c461a8dfb66cfe6a6ca3c1c9 (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer (Arch): Dan McGee <dan@archlinux.org>
# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Luke Shumaker <lukeshu@parabola.nu>
pkgname=licenses
pkgver=20191011
pkgrel=2
pkgrel+=.parabola1
pkgdesc='Standard licenses distribution package'
arch=('any')
license=('custom:none')
url='https://parabola.nu/'
conflicts=('licenses-libre')
replaces=('licenses-libre')
source=(apache-2.0.txt::https://www.apache.org/licenses/LICENSE-2.0.txt
cc-by-3.0.txt
cc-by-sa-3.0.txt
cc-readme.txt
cddl-1.0.txt
eclipse-1.0.txt
https://www.gnu.org/licenses/agpl-3.0.txt
https://www.gnu.org/licenses/gpl-2.0.txt
https://www.gnu.org/licenses/gpl-3.0.txt
https://www.gnu.org/licenses/lgpl-2.1.txt
https://www.gnu.org/licenses/lgpl-3.0.txt
https://www.gnu.org/licenses/fdl-1.2.txt
https://www.gnu.org/licenses/fdl-1.3.txt
https://www.latex-project.org/lppl.txt
perlartistic.txt
artistic-2_0.txt
php-3.0.txt::http://www.php.net/license/3_0.txt
ruby-license.txt
cpl-1.0.txt
python-2.txt
w3c.txt
ZopePublicLicense.txt
mpl-1.1.txt::https://www.mozilla.org/media/MPL/1.1/index.txt
mpl-2.0.txt::https://www.mozilla.org/media/MPL/2.0/index.txt
boost-1.0.txt::http://www.boost.org/LICENSE_1_0.txt
unlicense.txt::https://unlicense.org/UNLICENSE
wtfpl-2.txt::http://www.wtfpl.net/txt/copying/)
sha256sums=('cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
'896318172b9bf75b9c863df45c38495a968c3e711c405ed03a2a47eb0ed896e3'
'e550f7bd34d25b04bb0a3fac7f3981d51b41df363d21f35952ee27da259039a2'
'9d5ba975d1e2ede2268b6484d10a96fdef58c7099287f4524643e2f0937eedd1'
'8778a2687ad7936c20ab77bedc4d28a788e853637ef3edc39708100dd0c90cef'
'8367b0edc81df80e6b42eb1b71f783111224e058cb3da37894d065d2deb7ab0a'
'0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0'
'8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643'
'3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986'
'dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551'
'e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118'
'd8e94ae5fdb5433fcae2961aeb1a8cf17174d6f4a0465d24bf37dd8a038bd439'
'6adc7b4f7c74882dbe7564f7b8285ff194d760727ab30036dfe9704039fe32d7'
'5f05fcf6ef25a6c31bccd2df7c0c46b23107bbeb2ce5cdba74efb5cc357f4dbb'
'5e8219a37b4c1a146096f17862ef7d6ce689b2137c0161a3936c358a28014169'
'f2e0707902c4cd92155bb081a6eb0d77ebab789eafb212659fa6f44fcdca531b'
'e4f797cb2c221a206a34f575e142e7513546f64d10cd7d2ca11c76797c288dca'
'f5eb1b2956d5f7a67b2e5722a3749bc2fe86f9c580f2e3f5a08519cf073b5864'
'fe53ee559be099a8c964e95817c55d2a40ef43630150b11c292ccab7b2dd425d'
'4516a0f2f58e8d6f4ac77c14261cab67d386fa9afa2e79ee09dff190a6eae9f4'
'ec2f99fa32da2236c60b1054f8967ccce5175370de5215e8f018cb7be397512e'
'281c83248297ed2070a2e61ac140e707697511a6a065ba3808cbfa6de5bb5611'
'f849fc26a7a99981611a3a370e83078deb617d12a45776d6c4cada4d338be469'
'fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85'
'c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566'
'7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c'
'0356258391e190dc1d44ea01565cfe627fe44e27dad693a0a54c2483a7b223e5')
package() {
cd "$pkgdir"
mkdir -p usr/share/licenses/common
cd usr/share/licenses/common
mkdir AGPL3
cp "$srcdir"/agpl-3.0.txt AGPL3/license.txt
ln -s AGPL3 AGPL
mkdir Apache
cp "$srcdir"/apache-2.0.txt Apache/license.txt
ln -s Apache APACHE
mkdir Artistic2.0
cp "$srcdir"/artistic-2_0.txt Artistic2.0/license.txt
mkdir CCPL
cp "$srcdir"/cc-by-3.0.txt CCPL/
cp "$srcdir"/cc-by-sa-3.0.txt CCPL/
cp "$srcdir"/cc-readme.txt CCPL/
mkdir CDDL
cp "$srcdir"/cddl-1.0.txt CDDL/license.txt
mkdir CPL
cp "$srcdir"/cpl-1.0.txt CPL/license.txt
mkdir EPL
cp "$srcdir"/eclipse-1.0.txt EPL/license.txt
mkdir {GPL2,GPL3}
cp "$srcdir"/gpl-2.0.txt GPL2/license.txt
cp "$srcdir"/gpl-3.0.txt GPL3/license.txt
ln -s GPL2 GPL
mkdir {FDL1.2,FDL1.3}
cp "$srcdir"/fdl-1.2.txt FDL1.2/license.txt
cp "$srcdir"/fdl-1.3.txt FDL1.3/license.txt
ln -s FDL1.2 FDL
mkdir {LGPL2.1,LGPL3}
cp "$srcdir"/lgpl-2.1.txt LGPL2.1/license.txt
cp "$srcdir"/lgpl-3.0.txt LGPL3/license.txt
ln -s LGPL2.1 LGPL
mkdir LPPL
cp "$srcdir"/lppl.txt LPPL/license.txt
mkdir MPL1.1
cp "$srcdir"/mpl-1.1.txt MPL1.1/license.txt
ln -s MPL1.1 MPL
mkdir MPL2
cp "$srcdir"/mpl-2.0.txt MPL2/license.txt
mkdir PerlArtistic
cp "$srcdir"/perlartistic.txt PerlArtistic/license.txt
mkdir PHP
cp "$srcdir"/php-3.0.txt PHP/license.txt
mkdir PSF
cp "$srcdir"/python-2.txt PSF/license.txt
mkdir RUBY
cp "$srcdir"/ruby-license.txt RUBY/license.txt
mkdir W3C
cp "$srcdir"/w3c.txt W3C/license.txt
mkdir ZPL
cp "$srcdir"/ZopePublicLicense.txt ZPL/license.txt
mkdir Boost
cp "$srcdir"/boost-1.0.txt Boost/license.txt
mkdir Unlicense
cp "$srcdir"/unlicense.txt Unlicense/license.txt
mkdir WTFPL2
cp "$srcdir"/wtfpl-2.txt WTFPL2/license.txt
ln -s WTFPL2 WTFPL
}
|